When booting HA 0.106 my aqara magnetic door/window sensors are shown as unavailable although in the phoscon GUI they are connected. Removing and reading the integration fixes this until the next reboot. rollback to 0.105.x immediately fixed this. Hence it seem that this problem was introduced with 0.106
configuration.yaml
I can confirm the same issue, after deleting and adding the integration again it works until rebooting.
Same here.
Same issue here.
All binary_sensors not working anymore.
Rolled back to 0.105.5 and everything work again.
Hey there @kane610, mind taking a look at this issue as its been labeled with a integration (deconz
) you are listed as a codeowner for? Thanks!
Thanks for reporting though I can't do anything without debug logs showcasing the issue.
I have had problems since 0.103.6 with the deconz plugin, it started with 0.104.x when all sensors got unavailable for some secods every hour, then in 0.105.x the problem got a little bit better, but they still were unavailable for some seconds (even a few hours yesterday) every day. I just upgraded to 0.106 and will look out for problems again, currently everything seems to work fine. I will try to debug the problem when I encounter it next time (it does not seem to be reproducable at will).
This is how it looked yesterday:
@cyberoida seems like a different issue to me, more related to Zigbee availability.
@Kane610 I will try to collect logs now will keep you posted.
Hello,
I just enabled the debug mode. These are the logs:
Addon_logs.txt
hassio_logs.txt
deconz_filtered.txt
Thanks
@cyberoida I think what you are referring to is a different issue from this one. In this issue there are only sensors that are affected.
I might have identified the underlying issue here. Can you verify if there is a battery sensor reporting properly for the same device? It might be that I've by mistake blocks on a device id which would be the same for the battery sensor as for the normal sensor thus only allowing one of them.to be created
Yes, typically the aqara magnet sensors exposed both, a binary sensor and a battery level
I might have identified the underlying issue here. Can you verify if there is a battery sensor reporting properly for the same device? It might be that I've by mistake blocks on a device id which would be the same for the battery sensor as for the normal sensor thus only allowing one of them.to be created
In my case the battery sensor of broken device are reporting properly.
Can't confirm this: Rpi4 with hassio and conbee2 no problems at 106.0! (Door Sensors, Temperature Sensors, Motion Detectors, Osram Plugs.... all working fine! Maybe the newest Deconz update fixed it (i installed it before the upgrade)!
@KoltesPunti does it sustain a reboot? With time the problem is gone if I reads the integration but returns after a boot
On a reboot the battery is usually not reported for the first hour hence all sensors would be created
@Kugelfang666 hard-rebootet twice, after second reboot my Osram Plugs were unavaliable! Made a software reload (only hassio) and the 3 Osram Plugs were here again (so i guess he only forgots them due the reboots). Aqara Sensors are avaliable all the time (tested with automations)!
@Kane610 My sensors are immediately there with all informations!
Some people have a longer loading time of light resources on a full system restart leading to similar experiences as you mention. Try calling the deConz device refresh service
Tried to:
But no luck :(
I am having the same issue, can send logs if needed.
After upgrading to 106 some of the devices are unavailable. I did not go through all of the types but I think Xiaomi Door/Window sensors are the only ones which are unavailable.
While they are unavailable in HA, they are still available in the Phoscon UI.
Tried to remove and add the integration again, but they still become unavailable.
Rolled back to 105.5 and all devices are OK.
Same issue here. Some sensors are not available. E.g. 1 of 12 movement sensor, but only the binary_sensor for the movement detection. It still reports battery level and light level corectly. But for window/door sensors all are unavailable and all still report battery level. I could fix it by disabling and enablick back any of the unavailable entities, but after reboot I got the same issue.
The Hypothesis here is that there can only be one entity with the id which would be either a main sensor or its battery sensor which sounds from what I can see what you guys say as well
Can you guys add debug for the library as well?
logger:
default: info
logs:
pydeconz: debug
homeassistant.components.deconz: debug
Here is my log
log.log
Thanks!
I have verified that its a timing thing between whether or not the battery sensor entities are created before the other entities. Tests are running and will be merged shortly
Most helpful comment
Thanks!
I have verified that its a timing thing between whether or not the battery sensor entities are created before the other entities. Tests are running and will be merged shortly