ZWaveOption ImportError: No module named 'openzwave'

Hi there, I am new to Home Assistant and I am having problems setting up ZWave to work with my Aeotec z stick. Been trying to get this working for over a week now and its annoying me.

This is what I’ve done/got so far;
Raspberry Pi2, raspbian jessie installed using noobs installer.
Ran the Home Assistant IO All-In-One installer - took fooorever.
I was under the impression that the ZWave componants should be installed with that installer… however when I add the below config to configuration.yaml I get…

Within Home Assistant IO

Invalid Config
-zwave

Within the Yaml file;

zwave:
usb_path: /dev/ttyACM0
/srv/hass/python-openzwave/openzwave/config

and I have tried
/usr/local/lib/python3.4/dist-packages/libopenzwave-0.3.0b8-py3.4-linux-x86_64.egg/config
and
/srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv6l.egg

After a reboot of the pi I get Invalid config on the Home Assistant page.

Looked through the forums and the internets to see a silmiar i

Tried to make sure I have it pointed at the right config location;
root@HA:/# find .-name *.egg
./srv/hass/src/python-openzwave/dist/libopenzwave-0.3.1-py3.4-linux-arm6l

Within the home-assistant.log file it shows this;
File "/srv/hass/hass_venv/lib/pyth3.4/site-packages/home$ from openzwave.option import ZWaveOption
ImportError: No module named ‘openzwave’

Does anyone have any idea on this?

When you post config, use preformatted text so that we can rule that out as an issue.

Here’s what I have in my All-in-one config:

zwave:
  usb_path: /dev/ttyACM0
  config_path:  /srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config
  polling_interval: 60000

And be sure that you’ve got the usb_path correct. Test using:
$ ls /dev/ttyACM*
or
$ ls /dev/ttyUSB*

It could be that it’s presenting as USB rather than ACM. And keep in mind that if you change the USB port that the stick is plugged into, the address will change.

If your zwave section is literally:

zwave:
  usb_path: /dev/ttyACM0
  /srv/hass/python-openzwave/openzwave/config

Your problem is likely that you’re missing config_path: before the path, and that path is probably wrong anyway.

Try running this (could take a few minutes):

find / -type d -path "*dist-packages/libopenzwave*.egg/config"

And whatever path is output from that, try using that as your config_path:.

As an example (and a guess), your configuration.yaml should look something like this:

zwave:
  usb_path: /dev/ttyACM0
  config_path: /usr/local/lib/python3.4/dist-packages/libopenzwave-0.3.1-py3.4-linux-arm6l.egg/config

Take note of the CPU architecture in the config_path: value. Mine is aarch64 since I’m running on a PINE A64. It could be anything like arm6l, armv7l, x86_64, or about anything else. You need to find the path that exists on your system.

Thanks guys for the help with this.