-
Notifications
You must be signed in to change notification settings - Fork 766
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
publish center_display_state to mqtt #3813
publish center_display_state to mqtt #3813
Conversation
✅ Deploy Preview for teslamate ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Might be best to merge #3789 first... |
822f2d6
to
918510e
Compare
please update your branch |
918510e
to
346bdbb
Compare
done :) |
Yes!!! I want this too! I just wanted to create PR. :D Thank you @Atrox ! |
I tried to run the build from your branch (image ghcr.io/teslamate-org/teslamate:pr-3813) and it doesn't seem to work properly. The center_display_state is not published to mqtt... |
I'm running the branch as well and it works for me. Please note that TeslaMate only refetches the vehicle data every x seconds (as far as I can tell, if the vehicle is parked and sentry mode is on, its about every 60 seconds?) if your car is streaming the other info. To test this, keep sentry mode open on your phone and wait until the topic changes. My |
Possible a dumb question, but exactly what is |
https://tesla-api.timdorr.com/vehicle/state/vehiclestate ;) |
I tried letting it run for 10 minutes and still nothing. After another wait with the sentry open, I got a 'daily data limit reached' message on my cell phone. :D I'll try to debug it somehow. Obviously it should work. |
Oh okay, 10 minutes is way too long. That is odd. Maybe someone more familiar with teslamate can check my PR and see if I forgot an edge case where the topic doesn't get published?
I use it to get notified when sentry mode is triggered (which should be a tesla native feature...). Sadly because of the teslamate refetch delay it is not really accurate and I had to build myself a small companion app that fetches the vehicle data more often and handles the sentry notifications. |
Does this update TeslaMate's homepage view as well? |
This is exactly what I wanted to achieve. But it is true that with such a slow refresh rate of TeslaMate it is impossible. I'll also have to write some lightweight application that will only check the center_display_state more often. |
346bdbb
to
0c4921d
Compare
I would love to have the ability to track the
center_display_state
from a published topic in mqtt.BTW: Does something speak against publishing a
vehicle_state
topic with the full tesla json response? I would love to have something like that.