-
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
DDFs not loaded on deCONZ restart through API #7927
Comments
Hm, interesting case. If I'm not mistaken, manup just recently added some additional debug output where any DDF loading could go south. Maybe you can share the first couple of seconds of deconz' startup log hoping that gives us more valuable insights. |
What debug options do you need for that? |
I'd say the usual suffices: |
Attached log except when restarting deCONZ through API (after which DDFs wouldn't be loaded) vs restarting deCONZ manually afterwards (after which DDFs are loaded). Only running with |
This part of your log is pretty remarkable:
It seems deconz has decided just to load your light DDFs. The rest of the log is not less remarkable, as all DDFs are apparently reloaded like at least 10 times in a row without any result. I'm not sure how many different sensor devices are to be expected, but maybe the search/load attempts correspond in this regard? Anyway, something is seriously going wrong here, but unfortunately the log has not all what could potentially be useful onboard from a debug flag perspective. |
Four, I think: Hue dimmer switch, Hue motion sensor, and Hue wall switch module (2 |
Does the issue really belong here?
Is there already an existing issue for this?
Describe the bug
Sometimes, when restarting deCONZ through the API, deCONZ won't load any DDFs. Consequently, devices no longer exposed by legacy code are missing from the API, and devices still exposed by legacy code miss the advanced features from the DDF.
After exiting deCONZ (from the GUI) and restarting it, the DDFs are loaded again.
Steps to reproduce the behavior
Issue a POST to
/config/restartapp
and watch the GUI after deCONZ has restarted.I've seen the issue a couple of times yesterday, but this morning, trying to get a screenshot, it doesn't appear, of course. I suspect there might be some sort of racing condition on startup, see also #6710.
EDIT Later today, the issue re-appeared, updated the screenshots.
Expected behavior
DDFs should be applied.
Screenshots
Before restart:
After restart:
Environment
deCONZ Logs
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: