How To Monitor TeslaMate Status? #4374
Replies: 2 comments 3 replies
-
I may have figured this out, at least good enough for my purposes --- looks like the MQTT topic "teslamate/cars/1/healthy" shows true/false when it's working/not; I'm not clear how this might differ if I had multiple cars (would I have to monitor each?) but I only have one so it's good enough for me (for now). Uptime Kuma supports MQTT topics, so yay - I think I have monitoring in place now. I'm def curious if anyone has a better way or whatever (c: |
Beta Was this translation helpful? Give feedback.
-
I was just thinking teslamate needed health check endpoints, that ensures the database is online, etc. Here is a blog post on endpoints for kubernetes: https://www.cogini.com/blog/kubernetes-health-checks-for-elixir-apps/ Here is a change I made to a similar project: brianmay/phone_db@25c1eb9: A lot of this is not needed in teslamate because it already has these things, mostly look at the *.ex files. I did not look at two potential issues:
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to find a way to monitor the status of TeslaMate itself. I didn't find anything in the docs or discussion threads (unless I'm looking in the wrong place).
I just logged into mine a little bit ago and realized the authentication to Tesla's servers expired and I had to create new keys -- it happened a month ago, so I lost a month's worth of data (I check this thing randomly)
I have monitoring in place to tell if TeslaMate is running or not, but it's basically just verifying a response to HTTP requests. Is there any way to monitor for problems like expired authentication? A status API Endpoint or something? I don't need much detail here, just a way of automated monitoring to know "something's wrong" and let me know I need to look at it.
Beta Was this translation helpful? Give feedback.
All reactions