Was running HA 0.43.x just fine until my SD card corrupted. So, I reinstalled using the Hassbian image and that got me back online, but now on 0.44.1 (strangely, the upgrade command does not get it up to 0.44.2).
I pulled my config from github and now I keep getting the “Invalid config” message on the UI for my zwave component. I have checked that my aeotec z-stick is indeed on /dev/ttyACM0, I have updated python-openzwave and opzwave using:
pip install --upgrade python_openzwave
pip install --upgrade openzwave
yet, the home-assistant.log keeps showing this error:
2017-05-08 19:12:36 INFO (MainThread) [homeassistant.setup] Setting up zwave 2017-05-08 19:12:36 INFO (MainThread) [homeassistant.components.switch] Setting up switch.rfxtrx 2017-05-08 19:12:36 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 253, in setup CONF_CONFIG_PATH, default_zwave_config_path)) File "/srv/homeassistant/lib/python3.4/site-packages/openzwave/option.py", line 82, in __init__ libopenzwave.PyOptions.__init__(self, config_path=config_path, user_path=user_path, cmd_line=cmd_line) File "src-lib/libopenzwave/libopenzwave.pyx", line 678, in libopenzwave.PyOptions.__init__ (src-lib/libopenzwave/libopenzwave.cpp:10141) libopenzwave.LibZWaveException: "LibOpenZwave Generic Exception : Can't find config directory /srv/homeassistant/lib/python3.4/site-packages/config"
I see the error about not finding a config directory, but not sure how to fix that. What I have tried already:
- after using hassbian-config to install openzwave-pip there is a message saying:
“It's recomended that you set the optional config parameter for zwave. to config_path: ozw_config .”
so, I have experimented with that, but to no avail.
My original config section for zwave did not have the config_path set, but I tried setting it to “config_path: ozw_config” as well as “config_path: ozw_config .”, but neither of those makes a difference.