I’m trying to associate a Hue Tap switch with an Elelabs Zigbee RPi shield. The shield appears to be functioning correctly.
When I put zha into permit mode and try to associate the switch, I get this error:
2018-09-08 09:40:33 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback <bound method SerialTransport._read_ready of SerialTransport(<uvloop.Loop running=True closed=False debug=False>, <bellows.uart.Gateway object at 0x732b37b0>, Serial<id=0x732bceb0, open=True>(port=’/dev/ttyAMA0’, baudrate=57600, bytesize=8, parity=‘N’, stopbits=1, timeout=0, xonxoff=True, rtscts=False, dsrdtr=False))>
Traceback (most recent call last):
File “uvloop/cbhandles.pyx”, line 62, in uvloop.loop.Handle._run
File “/usr/local/lib/python3.6/site-packages/serial_asyncio/init.py”, line 106, in _read_ready
self._protocol.data_received(data)
File “/usr/local/lib/python3.6/site-packages/bellows/uart.py”, line 64, in data_received
self.frame_received(frame)
File “/usr/local/lib/python3.6/site-packages/bellows/uart.py”, line 76, in frame_received
self.data_frame_received(data)
File “/usr/local/lib/python3.6/site-packages/bellows/uart.py”, line 97, in data_frame_received
self._application.frame_received(self.randomize(data[1:-3]))
File “/usr/local/lib/python3.6/site-packages/bellows/ezsp.py”, line 175, in frame_received
result, data = t.deserialize(data, schema)
File “/usr/local/lib/python3.6/site-packages/bellows/types/init.py”, line 9, in deserialize
value, data = type.deserialize(data)
File “/usr/local/lib/python3.6/site-packages/bellows/types/basic.py”, line 10, in deserialize
r = cls(int.from_bytes(data[:cls._size], ‘little’, signed=cls._signed))
File “/usr/local/lib/python3.6/enum.py”, line 291, in call
return cls.new(cls, value)
File “/usr/local/lib/python3.6/enum.py”, line 533, in new
return cls.missing(value)
File “/usr/local/lib/python3.6/enum.py”, line 546, in missing
raise ValueError("%r is not a valid %s" % (value, cls.name))
ValueError: 127 is not a valid EmberStatus
Has anyone gotten this to work? Or might I need a Hue bridge instead?