-
Notifications
You must be signed in to change notification settings - Fork 3
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
Need to reload integration all the time #13
Comments
Hi @drakhart, is there anything I can do to assist with investigating this one? :) |
Hi @apbarratt. I think this issue is related to #10: the response doesn't return a last warning time, then the integration sets that state as unknown and the new HA versions don't like that, so it starts failing until manually restarted. I think I have found a fix, but I need to try it a bit more just to make sure. Will let you know the outcome asap. In the meantime you may want to disable the last warning entity in the integration options, see if that helps. |
Fair enough, I've disabled the last warning entity, will see how things go after another reload :) |
This should have been fixed in beta 12. Please let me know if that worked for you. |
There hasn't been any response for a long time, and I assume this has been already fixed as mentioned in my previous comment. |
Version of the custom_component
Latest and kept up to date as updates appear :)
I use the newer vmoto app with the battery-powered ECU on a TC-Max.
Configuration
Add your logs here.
Describe the bug
This whole integration was working very well for me, but recently I find it constantly requires a reload to get certain parts to work. It does seem that most data is still coming through, but the most notable issue is when I go to turn on the bike's power and the power toggles (along with the other toggles for notifications etc) are all greyed out. This is fairly quickly repaired by just going to the integration page and choosing "Reload". After about 20 seconds of waiting, the toggle comes back, I can turn on my bike, move it out of the way of my bins to bring them out for the bin lorry and I'm sorted. But if I check even minutes later I can see the toggles have greyed out again.
I almost wonder if Vmoto have updated the app to only provide certain settings if the logged-in session checks in somehow. Frequent polling would undoubtedly be a bad idea, but perhaps if we could stick some kind of retain time to keep the switch status up to date and check once an hour or so and have the command to send include whatever the check-in requirement is... I'm absolutely guessing here 😅
Debug log
The text was updated successfully, but these errors were encountered: