"Unknown Error" when trying to add TubesZB to HomeAssistant #145
Replies: 3 comments 5 replies
-
Can you enable debug logging for zha: https://www.home-assistant.io/integrations/zha/#debug-logging and post those logs from trying to add. Also have you tried setting up manually instead of via the auto discovery? If you've successfully done a nvram reset I assume it was done over the network- socket:// connection? that would confirm the coordinator is working as it should. |
Beta Was this translation helpful? Give feedback.
-
thanks. can you try the zigpy-cli: https://github.com/zigpy/zigpy-cli run the form command, and if that works run an energy-scan. looks like the serial connection is failing in HA. but the fact that you did a reset makes me think it's not the device, as the network nvram resets are a constant write to the device for way longer than this duration. |
Beta Was this translation helpful? Give feedback.
-
Awesome. okay all is working. as it should. zigpy chose channel 25 to form the network based off an energy scan it does during the formation process. you should be able to now set up zha and have it keep the same formed network. hopefully it works, if not it's something with the network communication between HA and the coordinator. |
Beta Was this translation helpful? Give feedback.
-
Hey! I have one of the CC2652P2 Ethernet/USB Serial Co-ordinators, and have had it working with Home Assistant for a good while.
For various reasons I've had to rebuild my HA setup, but I can't seem to get the TubesZB device to be adopted by HA. I've been through the Zigpy NVRAM Reset process about 5 times now, and after rebooting HA, the device gets auto-discovered, but when I configure it with the correct IP and port address, I get the red "Unknown Error" message.
I've also tried adding it via the "Setup another instance of ZHA", but this ends with the same outcome...
The onlt thing I can see in the logs when these things happen is:
2023-05-16 15:02:34.877 WARNING (MainThread) [asyncio] socket.send() raised exception. 2023-05-16 15:02:35.878 WARNING (MainThread) [asyncio] socket.send() raised exception. 2023-05-16 15:02:36.879 WARNING (MainThread) [asyncio] socket.send() raised exception. 2023-05-16 15:02:37.879 WARNING (MainThread) [asyncio] socket.send() raised exception. 2023-05-16 15:02:38.880 WARNING (MainThread) [asyncio] socket.send() raised exception. 2023-05-16 15:02:40.421 ERROR (MainThread) [aiohttp.server] Error handling request
Wondering if anyone has any ideas?
Kevin
Beta Was this translation helpful? Give feedback.
All reactions