Zwave component not working after 0.50

Before upgrading to 0.50 zwave worked perfectly. No other changes were made.

Now, I have the following error message:

Invalid config
The following components and platforms could not be set up:
zwave

Please check your config

I go to check the log but there is nothing there.
My config is:
zwave:
usb_path: /dev/ttyACM0
config_path: /srv/homeassistant/src/python-openzwave/openzwave/config

Which was what it was before. Verified that ttyACM0 is still visible and the the config path is still present. I can pull up the zwave devices just fine in OZCP.
Any help is appreciated.

Try commenting out the config_path and see if that works…

Have you checked the breaking changes with regards to Zwave entity_id?

Tried commenting out the config path and then the usb path. No effect.

It’s saying that the component and platform could not be set up though. So it doesn’t even get far enough to generate entity_ids.

What version did you upgrade from? What was your installation method.?

I upgraded from .49 to .50 then to .50.1 then .50.2.
It’s a traditional installation via VirtualEnv.

Does the home-assistant.log say anything?

I have today recieved an Aeotec Z-Stick gen 5, followed the instructions to configure Z Wave, and HA will not boot at all with Z wave listed in configuartion.yaml, running verions 50.2.

zwave:
  usb_path: /dev/ttyACM0

The Pi is running, but no errors show in the logs on boot as to why it will not start HA. As soon as I comment out the Z wave line, and reboot, HA comes right back up. I have also tried commenting out the usb_path line, still does not work.

Seems the Z Wave component is broken currently

@kanga_who you should really start your own post. Your issue is not likely related. When you add the Zwave entry to HA at restart HA begins installing the Zwave components in the background. It can take 20 to 30 minutes to complete that process.

1 Like

@williamp0044 What does this command display for you?

ls -al /dev/tty*

@zarthan Fair point. I just hate starting a new thread for every little thing, and when searching the forums, this was the most recent and relevant to what I thought my issue may be.

@kanga_who Reviving old thread and posting isn’t necessarily an issue. An active thread with someone needing help can be. Lots of crosstalk can be confusing.

3 Likes

Nothing that seems to pertain to z-wave or outright states z-wave:

The following errors have been logged this session:2017-08-09
07:36:33 ERROR (MainThread)
[homeassistant.components.device_tracker.automatic] err_invalid_client
2017-08-09 07:36:33 ERROR (MainThread)
[homeassistant.components.device_tracker] Error setting up platform
automatic
2017-08-09 07:40:57 ERROR (Thread-9)
[homeassistant.components.sensor.qnap] Failed to fetch QNAP stats from
the NAS
Traceback (most recent call last):
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”,
line 386, in _make_request
six.raise_from(e, None)
File “”, line 2, in raise_from
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”,
line 382, in _make_request
httplib_response = conn.getresponse()
File “/usr/lib/python3.5/http/client.py”, line 1198, in getresponse
response.begin()
File “/usr/lib/python3.5/http/client.py”, line 297, in begin
version, status, reason = self._read_status()
File “/usr/lib/python3.5/http/client.py”, line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), “iso-8859-1”)
File “/usr/lib/python3.5/socket.py”, line 576, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py”,
line 438, in send
timeout=timeout
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”,
line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py”,
line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/packages/six.py”,
line 686, in reraise
raise value
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”,
line 600, in urlopen
chunked=chunked)
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”,
line 388, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”,
line 308, in _raise_timeout
raise ReadTimeoutError(self, url, “Read timed out. (read
timeout=%s)” % timeout_value)
requests.packages.urllib3.exceptions.ReadTimeoutError:
HTTPConnectionPool(host=‘192.168.1.8’, port=8080): Read timed out. (read
timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File
“/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/qnap.py”,
line 205, in update
self.data[“system_stats”] = self._api.get_system_stats()
File
“/srv/homeassistant/lib/python3.5/site-packages/qnapstats/qnap_stats.py”,
line 204, in get_system_stats
force_list=(“DNS_LIST”)
File
“/srv/homeassistant/lib/python3.5/site-packages/qnapstats/qnap_stats.py”,
line 69, in _get_url
result = self._execute_get_url(url, **kwargs)
File
“/srv/homeassistant/lib/python3.5/site-packages/qnapstats/qnap_stats.py”,
line 85, in _execute_get_url
resp = self._session.get(url, timeout=self._timeout,
verify=self._verify_ssl)
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py”,
line 531, in get
return self.request(‘GET’, url, **kwargs)
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py”,
line 518, in request
resp = self.send(prep, **send_kwargs)
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/sessions.py”,
line 639, in send
r = adapter.send(request, **kwargs)
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/adapters.py”,
line 514, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host=‘192.168.1.8’,
port=8080): Read timed out. (read timeout=5)
2017-08-09 07:51:47 ERROR (Thread-6)
[homeassistant.components.sensor.qnap] Failed to fetch QNAP stats from
the NAS
Traceback (most recent call last):
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”,
line 386, in _make_request
six.raise_from(e, None)
File “”, line 2, in raise_from
File
“/srv/homeassistant/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py”,
line 382, in _make_request
httplib_response = conn.getresponse()
File “/usr/lib/python3.5/http/client.py”, line 1198, in getresponse
response.begin()
File “/usr/lib/python3.5/http/client.py”, line 297, in begin
version, status, reason = self._read_status()
File “/usr/lib/python3.5/http/client.py”, line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), “iso-8859-1”)
File “/usr/lib/python3.5/socket.py”, line 576, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out

ttyACM0 is listed

me@Mycomputer:~$ ls -al /dev/tty*
crw-rw-rw- 1 root tty 5, 0 Aug 9 07:33 /dev/tty
crw–w---- 1 root tty 4, 0 Aug 4 19:26 /dev/tty0
crw–w---- 1 root tty 4, 1 Aug 4 19:27 /dev/tty1
crw–w---- 1 root tty 4, 10 Aug 4 19:26 /dev/tty10
crw–w---- 1 root tty 4, 11 Aug 4 19:26 /dev/tty11
crw–w---- 1 root tty 4, 12 Aug 4 19:26 /dev/tty12
crw–w---- 1 root tty 4, 13 Aug 4 19:26 /dev/tty13
crw–w---- 1 root tty 4, 14 Aug 4 19:26 /dev/tty14
crw–w---- 1 root tty 4, 15 Aug 4 19:26 /dev/tty15
crw–w---- 1 root tty 4, 16 Aug 4 19:26 /dev/tty16
crw–w---- 1 root tty 4, 17 Aug 4 19:26 /dev/tty17
crw–w---- 1 root tty 4, 18 Aug 4 19:26 /dev/tty18
crw–w---- 1 root tty 4, 19 Aug 4 19:26 /dev/tty19
crw–w---- 1 root tty 4, 2 Aug 4 19:26 /dev/tty2
crw–w---- 1 root tty 4, 20 Aug 4 19:26 /dev/tty20
crw–w---- 1 root tty 4, 21 Aug 4 19:26 /dev/tty21
crw–w---- 1 root tty 4, 22 Aug 4 19:26 /dev/tty22
crw–w---- 1 root tty 4, 23 Aug 4 19:26 /dev/tty23
crw–w---- 1 root tty 4, 24 Aug 4 19:26 /dev/tty24
crw–w---- 1 root tty 4, 25 Aug 4 19:26 /dev/tty25
crw–w---- 1 root tty 4, 26 Aug 4 19:26 /dev/tty26
crw–w---- 1 root tty 4, 27 Aug 4 19:26 /dev/tty27
crw–w---- 1 root tty 4, 28 Aug 4 19:26 /dev/tty28
crw–w---- 1 root tty 4, 29 Aug 4 19:26 /dev/tty29
crw–w---- 1 root tty 4, 3 Aug 4 19:26 /dev/tty3
crw–w---- 1 root tty 4, 30 Aug 4 19:26 /dev/tty30
crw–w---- 1 root tty 4, 31 Aug 4 19:26 /dev/tty31
crw–w---- 1 root tty 4, 32 Aug 4 19:26 /dev/tty32
crw–w---- 1 root tty 4, 33 Aug 4 19:26 /dev/tty33
crw–w---- 1 root tty 4, 34 Aug 4 19:26 /dev/tty34
crw–w---- 1 root tty 4, 35 Aug 4 19:26 /dev/tty35
crw–w---- 1 root tty 4, 36 Aug 4 19:26 /dev/tty36
crw–w---- 1 root tty 4, 37 Aug 4 19:26 /dev/tty37
crw–w---- 1 root tty 4, 38 Aug 4 19:26 /dev/tty38
crw–w---- 1 root tty 4, 39 Aug 4 19:26 /dev/tty39
crw–w---- 1 root tty 4, 4 Aug 4 19:26 /dev/tty4
crw–w---- 1 root tty 4, 40 Aug 4 19:26 /dev/tty40
crw–w---- 1 root tty 4, 41 Aug 4 19:26 /dev/tty41
crw–w---- 1 root tty 4, 42 Aug 4 19:26 /dev/tty42
crw–w---- 1 root tty 4, 43 Aug 4 19:26 /dev/tty43
crw–w---- 1 root tty 4, 44 Aug 4 19:26 /dev/tty44
crw–w---- 1 root tty 4, 45 Aug 4 19:26 /dev/tty45
crw–w---- 1 root tty 4, 46 Aug 4 19:26 /dev/tty46
crw–w---- 1 root tty 4, 47 Aug 4 19:26 /dev/tty47
crw–w---- 1 root tty 4, 48 Aug 4 19:26 /dev/tty48
crw–w---- 1 root tty 4, 49 Aug 4 19:26 /dev/tty49
crw–w---- 1 root tty 4, 5 Aug 4 19:26 /dev/tty5
crw–w---- 1 root tty 4, 50 Aug 4 19:26 /dev/tty50
crw–w---- 1 root tty 4, 51 Aug 4 19:26 /dev/tty51
crw–w---- 1 root tty 4, 52 Aug 4 19:26 /dev/tty52
crw–w---- 1 root tty 4, 53 Aug 4 19:26 /dev/tty53
crw–w---- 1 root tty 4, 54 Aug 4 19:26 /dev/tty54
crw–w---- 1 root tty 4, 55 Aug 4 19:26 /dev/tty55
crw–w---- 1 root tty 4, 56 Aug 4 19:26 /dev/tty56
crw–w---- 1 root tty 4, 57 Aug 4 19:26 /dev/tty57
crw–w---- 1 root tty 4, 58 Aug 4 19:26 /dev/tty58
crw–w---- 1 root tty 4, 59 Aug 4 19:26 /dev/tty59
crw–w---- 1 root tty 4, 6 Aug 4 19:26 /dev/tty6
crw–w---- 1 root tty 4, 60 Aug 4 19:26 /dev/tty60
crw–w---- 1 root tty 4, 61 Aug 4 19:26 /dev/tty61
crw–w---- 1 root tty 4, 62 Aug 4 19:26 /dev/tty62
crw–w---- 1 root tty 4, 63 Aug 4 19:26 /dev/tty63
crw–w---- 1 root tty 4, 7 Aug 4 19:26 /dev/tty7
crw–w---- 1 root tty 4, 8 Aug 4 19:38 /dev/tty8
crw–w---- 1 root tty 4, 9 Aug 4 19:26 /dev/tty9
crw-rw---- 1 root dialout 166, 0 Aug 4 19:26 /dev/ttyACM0
crw------- 1 root root 5, 3 Aug 4 19:26 /dev/ttyprintk
crw-rw---- 1 root dialout 4, 64 Aug 4 19:26 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Aug 4 19:26 /dev/ttyS1
crw-rw---- 1 root dialout 4, 74 Aug 4 19:26 /dev/ttyS10
crw-rw---- 1 root dialout 4, 75 Aug 4 19:26 /dev/ttyS11
crw-rw---- 1 root dialout 4, 76 Aug 4 19:26 /dev/ttyS12
crw-rw---- 1 root dialout 4, 77 Aug 4 19:26 /dev/ttyS13
crw-rw---- 1 root dialout 4, 78 Aug 4 19:26 /dev/ttyS14
crw-rw---- 1 root dialout 4, 79 Aug 4 19:26 /dev/ttyS15
crw-rw---- 1 root dialout 4, 80 Aug 4 19:26 /dev/ttyS16
crw-rw---- 1 root dialout 4, 81 Aug 4 19:26 /dev/ttyS17
crw-rw---- 1 root dialout 4, 82 Aug 4 19:26 /dev/ttyS18
crw-rw---- 1 root dialout 4, 83 Aug 4 19:26 /dev/ttyS19
crw-rw---- 1 root dialout 4, 66 Aug 4 19:26 /dev/ttyS2
crw-rw---- 1 root dialout 4, 84 Aug 4 19:26 /dev/ttyS20
crw-rw---- 1 root dialout 4, 85 Aug 4 19:26 /dev/ttyS21
crw-rw---- 1 root dialout 4, 86 Aug 4 19:26 /dev/ttyS22
crw-rw---- 1 root dialout 4, 87 Aug 4 19:26 /dev/ttyS23
crw-rw---- 1 root dialout 4, 88 Aug 4 19:26 /dev/ttyS24
crw-rw---- 1 root dialout 4, 89 Aug 4 19:26 /dev/ttyS25
crw-rw---- 1 root dialout 4, 90 Aug 4 19:26 /dev/ttyS26
crw-rw---- 1 root dialout 4, 91 Aug 4 19:26 /dev/ttyS27
crw-rw---- 1 root dialout 4, 92 Aug 4 19:26 /dev/ttyS28
crw-rw---- 1 root dialout 4, 93 Aug 4 19:26 /dev/ttyS29
crw-rw---- 1 root dialout 4, 67 Aug 4 19:26 /dev/ttyS3
crw-rw---- 1 root dialout 4, 94 Aug 4 19:26 /dev/ttyS30
crw-rw---- 1 root dialout 4, 95 Aug 4 19:26 /dev/ttyS31
crw-rw---- 1 root dialout 4, 68 Aug 4 19:26 /dev/ttyS4
crw-rw---- 1 root dialout 4, 69 Aug 4 19:26 /dev/ttyS5
crw-rw---- 1 root dialout 4, 70 Aug 4 19:26 /dev/ttyS6
crw-rw---- 1 root dialout 4, 71 Aug 4 19:26 /dev/ttyS7
crw-rw---- 1 root dialout 4, 72 Aug 4 19:26 /dev/ttyS8
crw-rw---- 1 root dialout 4, 73 Aug 4 19:26 /dev/ttyS9

Yeah, similar but not related. You may just need to add the config path. I ran into the same issue when I first set up z-wave.

what is the result of “cat OZW_Log.txt” ?

https://hastebin.com/uyunadesik.sql

Your log looks fine.

Try tail -f /var/log/syslog in a separate SSH session and restart HA, it’ll give you more details on any errors it’s throwing.

https://hastebin.com/nuveqisici.pl