-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
deCONz unable to refresh devices #52326
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
Comments
deconz documentation |
Looks like the integration isnt loaded. Main issue is your environment but should improve so service call doesn't raise an exception |
The integration is loaded and functional, it’s receiving updates from the existing devices. It just can’t refresh and get new ones. Can you elaborate on "main issue is your environment"?
|
are you calling the service without any input? |
Yes.
The option to automatically add new devices is also enabled, and they never get added. I’ve also tried reloading the integration.
The only way to get new devices recognized is to remove and reconnect the integration (which is less desirable as I add more devices).
|
If I include the bridge identifier the update fails in the same way. |
Its something with retrieving the setup gateway inside of the the service, could be an issue with the unique id of the integration. Can you share your .storage/core.config_entries entry of your deconz integration, you can omit the api key. Could you also enable debug for the deconz integration and share the bridge id which will be printed while the integration is loading. It should be something like {"config": {"bridgeid": "somethingsomething"}} |
|
You have two near identical integrations set up. One lacks the unique id. That might be the cause. You should at least remove one. Maybe remove both and set up the integration anew? You greppet per line but json objects are typically multi-line 2021-07-05 16:38:14 DEBUG (MainThread) [pydeconz.gateway] HTTP request response: {'config': {'UTC': '2021-07-05T20:38:13', |
I only have one integration configured, which was set up by autodiscover in the gui. I don't have any defined in configuraiton.yaml or anywhere else. Here's the full logs of an integration reload:
|
And here's a deconz-only log of a restart of home assistant
|
You should remove the second entry here I think these things should solve your issue |
I've made a change to not depend on the unique ID on the wrong circumstances, but you should still fix your entry |
Thanks. It's working now. I did some digging and found the root issue. wg0 10.0.7.1 is my wireguard interface. 192.168.1.5 is eth0. HA automatically set up Deconz integrations on both, and also Phoscon is apparently listening on both. |
Great! |
The problem
I am unable to call the deconz refresh devices service.
What is version of Home Assistant Core has the issue?
2021.6.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Core
Integration causing the issue
deconz
Link to integration documentation on our website
https://www.home-assistant.io/integrations/deconz/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Phoscon is 2.11.05 / 5/9/2021.
The text was updated successfully, but these errors were encountered: