Skip to content
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

Intergration stuck on Initialising #266

Open
MMK21Hub opened this issue Jul 16, 2023 · 9 comments
Open

Intergration stuck on Initialising #266

MMK21Hub opened this issue Jul 16, 2023 · 9 comments

Comments

@MMK21Hub
Copy link

MMK21Hub commented Jul 16, 2023

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.

@RobBie1221
Copy link
Collaborator

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?

@ikke-zelf
Copy link

same issue here. disable/enable toggle does not help

@ikke-zelf
Copy link

I can 'enable debug logging', but have no clue how and where to get that logging from to share

@MMK21Hub
Copy link
Author

MMK21Hub commented Nov 4, 2023

@ikke-zelf If I recall correctly, when you disable debug logging for the integration, you get a prompt to download the log file.

@tomton68
Copy link

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.

@RobBie1221
Copy link
Collaborator

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?

@tomton68
Copy link

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.

@RobBie1221
Copy link
Collaborator

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?

@dhover
Copy link

dhover commented Mar 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants