Hello dear community,
because I had problems with the use of HAAS.io in a Docker container, I have set up HomeAssistant (Core) again (also in a Docker container). Everything is running as well so far.
Now I wanted to implement my new SONOFF Zigbee USB stick, but I can’t get it connected properly.
I added the following in the docker-compose and updated the stack:
version: ‘3’
SERVICES:
homeassistant:
…
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
I use the intergation ZHA.
If I add this integration the USB stick with serial number is shown:
After that a success message comes.
In Zigbee Coordinator I go to “Add devices via this device” but I don’t see any. Although there is a Zigbee bulb from IKEA just above the stick and in the hallway next to it (both bulbs are on).
here is the logfile from portainer concerning the homeassistant-volumes:
And here the log of HomeAssistant itself (Settings → Preferences → Logs)
Logger: homeassistant.components.websocket_api.http.connection
Source: components/zha/core/device.py:181
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:31:44 (1 occurrences)
Last logged: 12:31:44
[140322997763520] Error handling message: Unknown error
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py”, line 27, in _handle_async_response
await func(hass, connection, msg)
File “/usr/src/homeassistant/homeassistant/components/zha/api.py”, line 248, in websocket_get_devices
devices = [device.zha_device_info for device in zha_gateway.devices.values()]
File “/usr/src/homeassistant/homeassistant/components/zha/api.py”, line 248, in
devices = [device.zha_device_info for device in zha_gateway.devices.values()]
File “/usr/src/homeassistant/homeassistant/components/zha/core/device.py”, line 470, in zha_device_info
device_info.update(self.device_info)
File “/usr/src/homeassistant/homeassistant/components/zha/core/device.py”, line 409, in device_info
ATTR_MODEL: self.model,
File “/usr/src/homeassistant/homeassistant/components/zha/core/device.py”, line 181, in model
if self._zigpy_device.model is None:
File “/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py”, line 91, in model
if self.application._znp.version > 3.0:
AttributeError: ‘NoneType’ object has no attribute ‘version’
What am I doing wrong?
Please ask for your help.