-
Notifications
You must be signed in to change notification settings - Fork 31
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
Integration hangs until HA restart #56
Comments
It seems that Niu blocks requests after a certain period. not sure how to solve this :-(. Which version are you using ? |
Has same problem with fork work with Chinese niu. |
Why restart don't work? |
Using 2.1.3. |
Why home assistant restart integration function not working on this intigration? To restart integration need restart all homevassistant. |
I got the same, on Home Assistant start, the integration works. But breaks sometimes after a day, sometimes after weeks. Only a complete Home Assistant restart resolves this until next time it happens. If it would be possible to reload the integration i would just automate the reload. Problem "solved" but as of now this is not possible. |
Sorry I have a new job and the next few month I have nearly time left to look about this. As far as I know the issue with the integration is mostly because niu stop working due the number of request. |
IMO the root cause is an unstable API endpoint see: #53 (comment) We should catch this exception and/or re-authenticate from time to time. |
I bought my Niu MC in August last year, and am very happy with the HA integration! However, my experience is that the integration stops receiving/updating data after a while, and the only fix is to restart the entire HA instance. Reloading the the integration is not successful. Is this familiar, and/or is there a fix?
The text was updated successfully, but these errors were encountered: