-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
[REQ] Live update tracking #60
Comments
Hi @paswotz Not sure how the MQTT handles that, I would have to investigate. Right now, the way that the API responds, that does not seem very feasible, but I will look into it. Cheers |
Hi @paswotz I've been looking into the MQTT integration and, unless I am seeing this wrong, that MQTT does not have live update, but it uses several different update intervals considering the vehicle status. That's something that I may work on, but it does not seem to me that the MG API supports push data, so we keep having to rely on the pull that we currently have. You can change the update intervals, in the meanwhile, on your own instance, but it does not get close to a "real-time" data update. Keep in mind that an increased update rate may cause the 12V battery to be drained. |
I will try to mimic a bit of the actual MQTT integration, but will take me sometime as I need to redo a lot of the update process. Let me see what I may come up with. |
Thank you very much for your effort and hard work in fulfilling my request! I’d be really happy if this could work out soon. Donation already sent! 🚀 |
@paswotz ~ I've already started with the modifications, but it will not be similar to a real-time, I am adding additional intervals to check after actions, and some additional updates after vehicle powered-off, after inactive periods and long inactive periods. It is quite similar to the MQTT, but is not near "real-time". What I'm also doing is allowing all those intervals to be set manually on the configuration, so any user may adapt to their needs. Let me finish the development, test the workings and I will publish the release once I get everything sorted. |
Btw, appreciate the beers 🍻 |
Is your feature request related to a problem?
Please describe the problem
No response
Describe the solution you'd like
Hi, is it also possible with the integration to receive live updates of identities as soon as they are changed, such as the status of doors? With another integration using MQTT, this worked without any issues.
I wanted to create a notification as soon as the doors are opened, but unfortunately, this was very delayed.
Thank you for your nice work!
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: