Hello,
I have spent countless hours trying to set up my sigma zwave stick in home assistant and I have hit a wall. I would appreciate any suggestions.
My setup:
I am running Alpine Linux in ESXi as my docker host. On the Alpine host I am running HA in a docker container.
Steps:
I plugged the sigma zwave stick into my esxi box. ESXi recognizes it and it appears in the dropdown for USB passthrough in my guest OS settings (Alpine). I then reboot Alpine and find out that it can now see the sigma stick as /dev/bus/usb/002/004
root@alpine /var/lib/docker/volumes/home-assistant_data/_data lsusb
Bus 002 Device 002: ID 0e0f:0003
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 004: ID 0658:0200
Bus 002 Device 003: ID 0e0f:0002
Bus 002 Device 001: ID 1d6b:0001
0658:0200 is the sigma stick address. Permissions appear to match how I am running HA. I then restart my HA docker container with a --device argument and map /dev/bus/usb/002/004 to the same path in the docker container.
I then use HA UI to set up zwave. I pass it the above path and it detects a zwave device and starts it up. Unfortunately I get errors about the fact that it can’t access the serial port or initialize the manger.
2018-12-14 19:20:40 WARNING (MainThread) [homeassistant.components.zwave] Z-Wave not ready after 300 seconds, continuing anyway,
2018-12-14 19:20:40 INFO (MainThread) [homeassistant.components.zwave] final network state: 1 Driver failed,
2018-12-14 19:20:40 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved,
Traceback (most recent call last):,
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run,
result = self.fn(*self.args, **self.kwargs),
File "/usr/src/app/homeassistant/components/zwave/__init__.py", line 703, in _finalize_start,
network.set_poll_interval(polling_interval, False),
File "/usr/local/lib/python3.6/site-packages/openzwave/network.py", line 894, in set_poll_interval,
self.manager.setPollInterval(milliseconds, bIntervalBetweenPolls),
File "/usr/local/lib/python3.6/site-packages/openzwave/network.py", line 564, in manager,
raise ZWaveException(u"Manager not initialised"),
openzwave.object.ZWaveException: 'Zwave Generic Exception : Manager not initialised',
Z-Wave Notification DriverFailed : {'notificationType': 'DriverFailed', 'homeId': 0, 'nodeId': 255}
Any ideas? And before anyone asks, I have no idea why it doesn’t generate a /dev/tty* entry. I figure it may be an alpine linux peculiarity. It certainly sees it in lsusb.