ZWave Invalid config

Hi everyone,

I am relatively new to home assistant and just recently have received Aeotec z-Wave Plus Gen 5 USB stick and trying to configure HA with Fibaro multisensor and Fibaro button.

Home Assistant is running on hassbian and HA version is 0.60.0

I am constantly getting invalid config for the z-wave component which is configured in my configuration.yaml file like this:

 zwave:
    usb_path: /dev/ttyACM0
    config_path: /srv/homeassistant/lib/python3.5/site-packages/python_openzwave/ozw_config

home-assistant.log has these errors:

2018-01-04 19:52:01 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 193, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zwave/__init__.py", line 363, in setup
    dispatcher.connect(
AttributeError: module 'pydispatch.dispatcher' has no attribute 'connect'

OZW_log.txt has only one line:

2018-01-04 19:52:01.170 Always, OpenZwave Version 1.4.2586 Starting Up

dmesg | grep USB output:

[   0.788531] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    0.797868] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.800179] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.810093] hub 1-0:1.0: USB hub found
[    0.850898] usbhid: USB HID core driver
[    1.231226] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.461501] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.463919] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.467063] hub 1-1:1.0: USB hub found
[    1.791230] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.921598] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.923902] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.024985] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:b3:41:9b
[    2.331271] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[    2.464579] usb 1-1.3: New USB device found, idVendor=0658, idProduct=0200
[    2.467399] usb 1-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    5.062778] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
[    5.063647] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

Before creating this post I have looked through a number of topics with the similar issue, however, did not manage to solve the problem. :roll_eyes:

Configuration Validator says everything is Ok. :no_mouth:

Installed Hass.io on another SD card and z-wave stick was hooked immediately.

Thank you in advance,

Roman

Roman, two possible ideas (I am a beginner)

I have only the following in my configuration file:

zwave:
  usb_path: /dev/ttyACM0

I don’t have config_path:, the log is in the config directory.

Make sure that you have the correct number of spaces, I can’t tell from the post but it looks like there may be 3 instead of 2 spaces in front of the usb_path.

Thank you for your reply carbuthn,

I have checked my configuration.yaml, there are two spaces. I have disabled config_path section and restarted HA, nothing changed same card has popped. :neutral_face: