I am desperately trying to get my Z-wave stick to work on my Synology DS216play NAS (32 bit, so no docker…). In the documentation I found that I should install the libudev dependecy, but that isn’t avail natively on DSM and neither does apt-get work on Synology.
I did manage to chroot into debian, get the python openzwave package installed (just like i had to do with netdisco) and copied that to the hass installation. However, the z-wave component still doesn’t start completely:
2017-11-22 21:25:00 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/homeassistant/setup.py", line 193, in _async_setup_component
component.setup, hass, processed_config)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/asyncio/futures.py", line 358, in __iter__
yield self # This tells Task to wait for completion.
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/asyncio/tasks.py", line 290, in _wakeup
future.result()
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/homeassistant/components/zwave/__init__.py", line 257, in setup
from openzwave.option import ZWaveOption
File "/volume1/@appstore/py3k/usr/local/lib/python3.5/site-packages/openzwave/option.py", line 29, in <module>
import libopenzwave
ImportError: libudev.so.1: cannot open shared object file: No such file or directory
So, it fails on the libudev - which indeed is not avail inside DSM. I tried symlinking to the libudev in the chroot, but that gave a whole lot of other errors.
Who can help me out on this one?