@ptdalen, do you have any bulbs on your zigbee network? ZHA has been really, really rough for me lately.
RANT TIME:
After a reboot everything works - but then in a day or so all my lights (and a switched outlet) stop responding reliably, and eventually they stop responding at all. The lights are all Osram/Sylvania Lightify at the moment - five are RGBW and two are two are Warm/Cool White. The switched outlet is an IRIS v2 plug (reads as CentraLite 3210-L, with the odd dual z-wave/zigbee radios). I’m not sure what the issue is, because ZHA had been pretty darn reliable for a good number of months. (I also have a Tradfi bulb that I was able to include months ago, but I have since reset it, nuked my zigbee.db, and attempted to re-add, and it will no longer show up.)
I also have one and three Visonic MCT-340E door/window sensors spread around a very large house. Even after the bulbs (and the IRIS plug) quit responding, the door sensors still work and are very reliable. The built-in temperature sensors work too.
The five RGBW lights and the IRIS plug are all within 10 feet of the HUSBZB-1 stick, most of them line-of-sight. And yet they drop off just as quickly as the ones further away.
Here’s what an error in the log looks like after the lights stop responding:
Mon Jul 09 2018 00:10:40 GMT-0400 (EDT)
Error executing service ServiceCall light.turn_off: entity_id=['light.osram_lightify_a19_rgbw_00a3342d_3']
Traceback (most recent call last):
File "/usr/src/app/homeassistant/core.py", line 1021, in _event_to_service_call
await service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/light/__init__.py", line 362, in async_handle_light_service
await light.async_turn_off(**params)
File "/usr/src/app/homeassistant/components/light/zha.py", line 127, in async_turn_off
await self._endpoint.on_off.off()
File "/usr/local/lib/python3.6/site-packages/zigpy/device.py", line 89, in request
expect_reply=expect_reply,
File "/usr/local/lib/python3.6/site-packages/bellows/zigbee/application.py", line 213, in request
assert sequence not in self._pending
AssertionError
Any input welcome!
My proposed next step is to try to update the firmware on the bulbs:
-
Exclude/reset all seven bulbs,
-
Add them into the Lighify network (I have a gateway and account already) and do the updates,
-
Exclude/Reset them all again,
-
Add them all back to ZHA and see what happens. If they retain their IEEE addresses after the updates, at least this part should be easy.
Ugh. I’m also thinking I need to pick up a Tradfri gateway to update that bulb, since I bought it fairly early in their availability.
There’s got to be a better way. Z-wave stuff just WORKS.