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

NRGKick Status Online/Offline #18

Open
aichingerk opened this issue Jun 17, 2024 · 1 comment
Open

NRGKick Status Online/Offline #18

aichingerk opened this issue Jun 17, 2024 · 1 comment

Comments

@aichingerk
Copy link

How can I detect that the charger is connected to the main power supply and has a connection to the Home Assistant?

I disconnected the NRG Kick from the main power for testing and all values are still available in the Home Assistant.
image

It has happened a few times that the charger has lost the connection to the WIFI and the car was not charged at night because I hadn't noticed it.

How could I check or query this?

@dupondje
Copy link
Owner

When it can't update the data, it should return an exception to HA:
https://github.com/dupondje/nrgkick-ha/blob/main/custom_components/nrgkick/coordinator.py#L92

Feel free to debug this futher, but this should work.
I don't know exactly what HA does when the coordinator returns an exception like above.

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

2 participants