ha-nefiteasy
ha-nefiteasy copied to clipboard
Intergration stuck on Initialising
I've just restarted Home Assistant and the nefiteasy
integration has been in the Initialising stage for many hours. This also prevents other entities from loading and means that HA never considers itself to be fully started.
Note that my thermostat is currently disconnected from WiFi - this is likely the cause of this bug.
I can provide debug logs if required.
If the connect is unsuccessful, the integration should tell HA that it is not ready after 30 seconds and retry later. Apparently that does not happen in the way it is intended.
Could you enable debug logging on the integration and share it?
same issue here. disable/enable toggle does not help
I can 'enable debug logging', but have no clue how and where to get that logging from to share
@ikke-zelf If I recall correctly, when you disable debug logging for the integration, you get a prompt to download the log file.
Same problem seen since yesterday, here in the Netherlands. Is anyone working on a fix? Re-powering seems to be the only way to get going again.
Nobody is working on this, as it's unclear what the exact issue is. To get that clear, as requested above, debug info is needed.
I do wonder, the issue described is because the thermostat is disconnected from the WiFi. You say you have the same issue. Why is it disconnected from the WiFi?
I enabled debug logging, but no errors till now.
I have the feeling that for an unknown reason the Nefit Easy was disconnected from WiFi, which resulted in getting the Nefit integration stuck in initializing. Reconnecting with WiFi solved the issue today.
Was it stuck on initializing or did is simply crash?
The issue description here describes: when I restart home assistant and my nefit easy is offline, the integration is stuck on initializing and prevents home assistant from starting up.
From what you describe you have a completely different issue. Did you have a look at recently closed issues? Are you on the latest status released last week?
Maybe the problem is the rate limit or the availalibility of the Nefit API. E.g. If you exceed the limit I've seen the thermostat is disconnect from the Wifi. If you physically disconnect the thermostat and connect the thermostat again most of the time the Wifi is connected again. I've seen this many times.
Also if you've been testing and restart HA a few times the rate limit most of the time will be exceeded. Now I've added custom_components.nefiteasy: debug aionefit: debug to activate the debug logging. The next time it fails I'll add the debug logs.