Hello,
I’m running 4.1.1 under docker on Synology NAS. I had a stable Tesla account ‘Thing’ running and consistently online from January 17 until January 24, when I decided to remove and reinstall it in order to run discovery again (it had discovered two vehicles for some reason, one generic and one with the model that I have). Here’s the logs from event.log related to the Tesla account:
2024-01-17 01:39:51.718 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:fa0bc5151b' changed from UNKNOWN to ONLINE
2024-01-24 02:20:57.917 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:fa0bc5151b' changed from ONLINE to UNINITIALIZED
2024-01-24 02:20:58.004 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:fa0bc5151b' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
So, no errors from the 17th until yesterday when I tried to reinstall it.
Initially I just deleted the Tesla account thing and created a new one with the exact same Refresh Token as I had used previously, but as soon as it came online it would go off again. The logs for that look like:
2024-01-25 13:36:50.411 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from OFFLINE to ONLINE
2024-01-25 13:36:50.524 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from ONLINE to OFFLINE
2024-01-25 13:37:05.525 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from OFFLINE to ONLINE
2024-01-25 13:37:05.638 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from ONLINE to OFFLINE
2024-01-25 13:37:20.638 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from OFFLINE to ONLINE
2024-01-25 13:37:20.764 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from ONLINE to OFFLINE
2024-01-25 13:37:35.764 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from OFFLINE to ONLINE
2024-01-25 13:37:35.886 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from ONLINE to OFFLINE
2024-01-25 13:37:50.889 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from OFFLINE to ONLINE
2024-01-25 13:37:51.002 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from ONLINE to OFFLINE
2024-01-25 13:38:06.002 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'tesla:account:3c709fac78' changed from OFFLINE to ONLINE
I tried testing the idea that my access token was invalid by replacing it with ‘abc’ and as far as I can tell I see exactly the same sequence in the event.log. First online, then immediately offline.
I then tried to generate new access tokens using the iOS ‘Auth for Tesla’ app, which is the same way I’d generated the working one originally. No joy. I’ve tried 3 or 4 other tools for generating refresh tokens, none of them seem to work.
I decided to check if TezLab, which also uses API access, can connect to my car. It does seem to, but it also is prompting me to update my connection:
This could be a wild goose chase, but here’s what they have to say about that:
I did follow their guidance and updated, but for the record, TezLab was communicating with my car before I updated the connection, and seems to be working fine after the update.
Can anyone suggest anything I can to do troubleshoot this? I don’t have access to Tesla’s API and there’s no error logged, just the ONLINE/OFFLINE message.