Hi
I followed this tutorial to install HA with openzwave on my Pi3: https://home-assistant.io/docs/hassbian/installation/
I created also on it the udev rules so USB port for the ZWave stick is always /dev/ZWave (setup in configuration file of HA).
In HA, I get these errors about OpenZwave:
> The following errors have been logged this session:
2017-05-31 08:10:37 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py”, line 188, in _async_setup_component
None, component.setup, hass, processed_config)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/zwave/init.py”, line 256, in setup
network = hass.data[ZWAVE_NETWORK] = ZWaveNetwork(options, autostart=False)
File “/srv/homeassistant/lib/python3.4/site-packages/pyozwweb-0.4.0.34-py3.4.egg/openzwave/network.py”, line 326, in init
self.dbcon = lite.connect(os.path.join(self._options.user_path, ‘pyozw.sqlite’), check_same_thread=False)
File “/srv/homeassistant/lib/python3.4/site-packages/pyozwweb-0.4.0.34-py3.4.egg/openzwave/option.py”, line 339, in user_path
return self._user_path
AttributeError: ‘ZWaveOption’ object has no attribute ‘_user_path’
If U shutdown HA, and start the Control Panel of OpenZwave, I get full access at my ZWave network, add/remove nodes…
I tried to add also in HA config file:
config_path: /srv/homeassistant/lib/python3.4/site-packages/python_openzwave/ozw_config/
but not really any changes I have copied at same place as my PC HA config the openzwave files in HA home directory (/home/homeassistant/.homeassistant)
I hoped that it would work out of box on Hassbian but looks to be same pain as on regular PC
Side note (don’t thnik it’s linked but just in case): my plex configuration is not working also ! I copied/paste my plex config from my previous HA system and my plex.conf file but not working !
> 2017-05-31 08:10:37 ERROR (Thread-12) [homeassistant.components.media_player.plex] Error listing plex devices
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/plex.py”, line 141, in update_devices
devices = plexserver.clients()
File “/home/homeassistant/.homeassistant/deps/plexapi/server.py”, line 64, in clients
for elem in self.query(‘/clients’):
File “/home/homeassistant/.homeassistant/deps/plexapi/server.py”, line 110, in query
raise BadRequest(‘(%s) %s’ % (response.status_code, codename))
plexapi.exceptions.BadRequest: (404) not_found