Zwave stopped working

Hi

I can’t seem to get my zwave to work again after doing these steps

It all started when I tried to run Home Assistant on a virtual linux in my server and using ser2net and socat to reach the Razberry zwave controller in my Banana Pi Pro (didn’t get this to work stable enough, probably because of the wireless connection loosing packets causing corruption in the traffic to the zwave controller)

So I Went back to using my Banana Pi Pro and disabled ser2net, also making sure having everything updated (libopenzwave updated from 0.3.0 to 0.3.1 compiled using latest 0.24.1) and also updated the razberry firmware from 5.03 to 5.04.

After this I just can’t seem to get my zwave working in Home Assistant, keep getting different errors in log from libopenzwave like these below

16-08-25 07:17:54 INFO (Dummy-15) [openzwave] Driver ready using library Static Controller version Z-Wave 4.05
16-08-25 07:17:54 INFO (Dummy-15) [openzwave] home_id 0xc994d850, controller node id is 1
16-08-25 07:17:54 ERROR (Dummy-15) [openzwave] Error in manager callback
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/openzwave-0.3.1-py3.4.egg/openzwave/network.py”, line 948, in zwcallback
self._handle_value_added(args)
File “/usr/local/lib/python3.4/dist-packages/openzwave-0.3.1-py3.4.egg/openzwave/network.py”, line 1477, in _handle_value_added
‘value’ : self.nodes[args[‘nodeId’]].values[args[‘valueId’][‘id’]]})
File “/usr/local/lib/python3.4/dist-packages/pydispatch/dispatcher.py”, line 338, in send
**named
File “/usr/local/lib/python3.4/dist-packages/pydispatch/robustapply.py”, line 55, in robustApply
return receiver(*arguments, **named)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/zwave.py”, line 380, in value_added
node_config = customize.get(name, {})
AttributeError: ‘NoneType’ object has no attribute ‘get’
16-08-25 07:17:54 ERROR (Dummy-15) [openzwave] Error in manager callback
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/openzwave-0.3.1-py3.4.egg/openzwave/network.py”, line 948, in zwcallback
self._handle_value_added(args)
File “/usr/local/lib/python3.4/dist-packages/openzwave-0.3.1-py3.4.egg/openzwave/network.py”, line 1477, in _handle_value_added
‘value’ : self.nodes[args[‘nodeId’]].values[args[‘valueId’][‘id’]]})
File “/usr/local/lib/python3.4/dist-packages/pydispatch/dispatcher.py”, line 338, in send
**named
File “/usr/local/lib/python3.4/dist-packages/pydispatch/robustapply.py”, line 55, in robustApply
return receiver(*arguments, **named)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/zwave.py”, line 380, in value_added
node_config = customize.get(name, {})
AttributeError: ‘NoneType’ object has no attribute ‘get’
16-08-25 07:17:54 ERROR (Dummy-15) [openzwave] Error in manager callback
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/openzwave-0.3.1-py3.4.egg/openzwave/network.py”, line 948, in zwcallback
self._handle_value_added(args)
File “/usr/local/lib/python3.4/dist-packages/openzwave-0.3.1-py3.4.egg/openzwave/network.py”, line 1477, in _handle_value_added
‘value’ : self.nodes[args[‘nodeId’]].values[args[‘valueId’][‘id’]]})
File “/usr/local/lib/python3.4/dist-packages/pydispatch/dispatcher.py”, line 338, in send
**named
File “/usr/local/lib/python3.4/dist-packages/pydispatch/robustapply.py”, line 55, in robustApply
return receiver(*arguments, **named)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/zwave.py”, line 380, in value_added
node_config = customize.get(name, {})
AttributeError: ‘NoneType’ object has no attribute ‘get’
16-08-25 07:17:54 ERROR (Dummy-15) [openzwave] Error in manager callback
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/openzwave-0.3.1-py3.4.egg/openzwave/network.py”, line 948, in zwcallback
self._handle_value_added(args)
File “/usr/local/lib/python3.4/dist-packages/openzwave-0.3.1-py3.4.egg/openzwave/network.py”, line 1477, in _handle_value_added
‘value’ : self.nodes[args[‘nodeId’]].values[args[‘valueId’][‘id’]]})
File “/usr/local/lib/python3.4/dist-packages/pydispatch/dispatcher.py”, line 338, in send
**named
File “/usr/local/lib/python3.4/dist-packages/pydispatch/robustapply.py”, line 55, in robustApply
return receiver(*arguments, **named)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/zwave.py”, line 380, in value_added
node_config = customize.get(name, {})
AttributeError: ‘NoneType’ object has no attribute ‘get’

or

“Error when retrieving device %s : %s” % (device, traceback.format_exception(sys.exc_info())))
openzwave.object.ZWaveException: ‘Zwave Generic Exception : Error when retrieving device usbzwave : [‘Traceback (most recent call last):\n’, ’ File “/usr/local/lib/python3.4/dist-packages/pyozwweb-0.3.0b8-py3.4.egg/openzwave/option.py”;, line 72, in _init\n raise ZWaveException(“Can\'t find device %s : %s” % (device, traceback.format_exception(sys.excinfo())))\n’, ’ File “/usr/lib/python3.4/traceback.py”, line 181, in formatexception\n return list(formatexception_iter(etype, value, tb, limit, chain))\n’, ’ File “/usr/lib/python3.4/traceback.py”, line 146, in _format_exception_iter\n for value, tb in values:\n’, ’ File “/usr/lib/python3.4/traceback.py”, line 125, in _iter_chain\n context = exc.__context\n’, “AttributeError: ‘NoneType’ object has no attribute ‘__context’\n”]’
INFO:urllib3.connectionpool:Starting new HTTPS connection (1): pypi.p

So then I installed z-wave me control center just to see if that works, which it does so it’s not the razberry not working. I’m at a loss here, hope someone has any good advices.

I’ve been running into a similar issue and just noticed your post (wasn’t there when I looked initially :-))

Have you had any luck resolving it?

You have also used empty zwave/customize-switch?
Remove the customize-switch and it will work.

1 Like

What do ya know, it actually helped. Although I did have customize switch in there, it wasn’t empty. But I guess it just didn’t like the customization on my aeotec multi 6 temperature polling. :slight_smile: