Need help with Zwave-Stick

Hi i really ned help. An i`m not a “linux freak” :slight_smile:

my system is windows 10 home with windows docker and kitematic.
hass is already running in an container.

config-line for zwave

zwave:
usb_path: /dev/ttyACM0

but my zwave-stick is not working i get this logfile

16-12-16 13:39:53 homeassistant.bootstrap: Error during setup of component zwave

Traceback (most recent call last):
File “/usr/local/lib/python3.5/site-packages/openzwave-0.3.1-py3.5.egg/openzwave/option.py”, line 78, in init
raise ZWaveException(u"Can’t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: “Zwave Generic Exception : Can’t find device /dev/ttyACM0 : [‘NoneType\n’]”

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/src/app/homeassistant/bootstrap.py”, line 150, in _async_setup_component
None, component.setup, hass, config)
File “uvloop/future.pyx”, line 230, in iter (uvloop/loop.c:103945)
File “uvloop/future.pyx”, line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:107104)
File “uvloop/future.pyx”, line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:102363)
File “/usr/local/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/zwave/init.py”, line 274, in setup
CONF_CONFIG_PATH, default_zwave_config_path))
File “/usr/local/lib/python3.5/site-packages/openzwave-0.3.1-py3.5.egg/openzwave/option.py”, line 81, in init
raise ZWaveException(u"Error when retrieving device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: ‘Zwave Generic Exception : Error when retrieving device /dev/ttyACM0 : [‘Traceback (most recent call last):\n’, ’ File “/usr/local/lib/python3.5/site-packages/openzwave-0.3.1-py3.5.egg/openzwave/option.py”, line 78, in init\n raise ZWaveException(u"Can\‘t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))\n’, ‘openzwave.object.ZWaveException: “Zwave Generic Exception : Can\'t find device /dev/ttyACM0 : [\‘NoneType\\\\n\’]”\n’]’

That’s not the path to a device on Windows. You’ll need to figure out the correct path. It’s likely a com port. Something like:

usb_path: com1

ok. mine is on port 4

but the log says
File “/usr/local/lib/python3.5/site-packages/openzwave-0.3.1-py3.5.egg/openzwave/option.py”, line 78, in init
raise ZWaveException(u"Can’t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: “Zwave Generic Exception : Can’t find device com4 : [‘NoneType\n’]”

Perhaps you need COM4 rather than com4?

no sorry. dont work.

File “/usr/local/lib/python3.5/site-packages/openzwave-0.3.1-py3.5.egg/openzwave/option.py”, line 78, in init
raise ZWaveException(u"Can’t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: “Zwave Generic Exception : Can’t find device COM4 : [‘NoneType\n’]”

do i need to add the config-path in *.yaml ?

i only have

zwave
usb_path: COM4

I’m not sure. Probably. But I see elsewhere in the forum that Open Zwave may not work on Windows.

i use docker under windows see start post.
so it is virtual

OK. Well, you’ve definitely got an issue opening the port. I went the easy route with a RPi3. And I’ve never really used Linux much. I’d search the forums for other users that are using the same environment.

thanks to community the problem is solved :slight_smile:

Hi,

I am having the same issue, I have attached my usb z-wave aeotec stick to Windows 10 running docker for windows. It shows as COM3 in Windows, and in my config have:

zwave:
usb_path: COM3

It doesn’t work and gives me the error below.

On the other hand, I found this issue which makes me think this is not possible in Docker for Windows :

@stefanmei how did you solve the problem using Docker for Windows ?

Thanks,
Claudio.

2018-04-17 01:17:03 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/openzwave/option.py”, line 78, in init
raise ZWaveException(u"Can’t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: “Zwave Generic Exception : Can’t find device COM3 : [‘NoneType: None\n’]”

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/src/app/homeassistant/setup.py”, line 145, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/app/homeassistant/components/zwave/init.py”, line 243, in setup
config_path=config[DOMAIN].get(CONF_CONFIG_PATH))
File “/usr/local/lib/python3.6/site-packages/openzwave/option.py”, line 81, in init
raise ZWaveException(u"Error when retrieving device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: ‘Zwave Generic Exception : Error when retrieving device COM3 : [‘Traceback (most recent call last):\n’, ’ File “/usr/local/lib/python3.6/site-packages/openzwave/option.py”, line 78, in init\n raise ZWaveException(u"Can\‘t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))\n’, ‘openzwave.object.ZWaveException: “Zwave Generic Exception : Can\'t find device COM3 : [\‘NoneType: None\\\\n\’]”\n’]’