-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Headless deCONZ - no more sensor updates after searching for lights #7935
Comments
Was finally able to reproduce that in my production network (may it rest in pieces 🙂 ) with a full blown debug collection. I let it run for some additional minutes and then I'm super curious what is to be found. |
So, what I can conclude from my debug log is the following: Deconz is loading everything as it should on startup. It seems to be key to reproduce the issue that one pairs a device which is not yet known to deconz, meaning there is no cached DDF. When now searching for new devices, it gets paired as it should. When all necessary data is queried from that device, function With the latter call, things apparently go south when all DDFs are read again. The DDF for the newly added device is working, but everything else ceases working. As if the handles are destroyed or not appropriately refreshed. As the new device is known from then on, this also explains why a deconz restart brings everything back to life: everything is freshly loaded and only once. I'm pretty sure I added the new device first with running GUI, but there the strange behavior did not show up. Afterwards, I tried in headless mode and had it reproduced. From an API perspective, all other devices just emit a |
I am having the same issues on Raspberry with Deconz GUI and Conbee II, running latest versions. Sensors such as Temperature and Open/Close stop sending updates even after restarting "Unifi Protect" Child Bridge only. I can also confirm this behaviour after searching for lights as mentioned above. |
Saw something similar last weekend (also on a Pi with GUI enabled). After a Hot Reload of a DDF (for a CO sensor), the light level and temperature reports (and read attribute responses) for my Hue motion sensors were ignored by the API. They would be reflected in the GUI. Oddly, the presence reports continued to be handled by the API? |
Yes, everything is still visible and linked in GUI during this issue. And only full restart of the gateway brings it back to work. I also think Hue Wall Modules were impacted too but can't be really sure about this one since at that time I've had no idea the sensors aren't reporting. |
following... I see a similar bug /behaviour in my network. Some sensors (Xiaomi) stop reporting but not all of them. |
I can confirm the same behavior in my previous install (headless), same application versions. Now i have a new install with desktop environment on a RPi 5. Will report back in some days. |
I think, I've the same issue :-( Ass soon I delete the new device and restart deConz (GUI here), everything is running fine again. What I've seen at the GUI: This stops, as soon I delete the device from the GUI. I'm able to reproduce this with any new device which is added. Im running deConz 2.28.1-beta on a RasPI. |
I dont think you have to delete the new device. Just restart deCONZ. For me just restarting deCONZ fixes this al he time. |
You might want to wait some time, for deCONZ to save the resources for the newly paired device to the database, so on deCONZ restart, the DDF can be assigned on startup. If you restart too soon, the values needed to match the DDF are not known on startup, and the DDFs are reloaded once they're read, causing the issue to reoccur. |
Thanks guys! I will give that a try and do some more investigations this evening. |
I don't think waiting is gonna cut it. But realized now you were probably talking about something else. |
I am having the same issues on Raspberry with Deconz GUI and Conbee II, running latest versions. Sensors such as Temperature and humidity . I can also confirm this behaviour after searching for lights as mentioned above. |
Any Solution? A restart works for me, but a SW Solution Sound be Fine |
Try downgrading to 2.26.3. Every later version had the same problem. |
Absolutely the same issue here. I ordered an aquaria wate leak sensor and as soon I include it, every other sensor (contact, movement, temperature) stops working but the new one. Lights keep working fine though. The first time I didn't notice until two days later so I don't think that waiting will solve the problem. Restart won't solve it neither. I always have to import a backup to make it work again. |
I want to point out: A week ago I noticed lights outside not turning off correctly (which I actually didn't bother so much). But since a few days I also had lights not turning on. Imagine someone slips in a winter night … Also my logs state that some door locks didn't act at night, because daylight was reported for multiple days. This makes me feel very uncomfortable now. As this bug is hard to see, but at the same time may seriously affect many people without them knowing it, |
Does the issue really belong here?
Is there already an existing issue for this?
Describe the bug
Produkt ConBee III
Gateway Version 2.28.1
Firmware 26500900
I noticed this in the latest stable version before 2.28.1, too: when I search for lights (and add a light, have not tried without adding one) most(?) of the sensors stop sending updates via REST-API/WebSocket. This affects temperature sensors like SONOFFs, open/close sensors from Ikea and also the ZHAPower, ZHAConsomption etc from Ubisys Window Covering devices. So I guess this is more a problem updating the values and not related to zigbee communication? Controlling lights and window covering devices still work.
https://forum.phoscon.de/t/headless-deconz-no-more-sensor-updates-after-searching-for-lights/5120/1
Steps to reproduce the behavior
Search for lights
Expected behavior
Sensors should Update After searching for lights
Screenshots
No response
Environment
deCONZ Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: