Welcome to Tesla Motors Club
Discuss Tesla's Model S, Model 3, Model X, Model Y, Cybertruck, Roadster and More.
Register

TeslaMate [megathread]

This site may earn commission on affiliate links.
Moderator comment - this and quoted post moved to TeslaMate megathread

I realize this is off topic. This was the most relevant thread I could find that wasn’t a year old.

thank for you confirming TeslaMates still functions. I tried to install it today and ended with a screen that wouldn’t let me log in to give a token. I started over. Can someone point me in the direction of an up to date guide that works?
The main TeslaMate thread is here TeslaMate [megathread] if you go to the end a few people have had issues recently and they are working on it. I think if you are working it is fine new/re-installs might need some messing around with until they fix it. Definitely the place to ask questions if you have issues
 
Last edited by a moderator:
Can’t get TeslaMate working. It seems I have everything set up properly. When I got to login to my Tesla account granting a token it doesn’t let me enter my credentials. Grafana site loads fine but no info since it’s not connected to my car.
Any tips? Or is this a TeslaMate issue/bug on current software
 
Can’t get TeslaMate working. It seems I have everything set up properly. When I got to login to my Tesla account granting a token it doesn’t let me enter my credentials. Grafana site loads fine but no info since it’s not connected to my car.
Any tips? Or is this a TeslaMate issue/bug on current software
What version of Teslamate are you on? Can you share a screen dump of the login page. I don't quite understand what you mean by it won't let you login your credentials. Does it not have anywhere for you to enter them or is it taking the credentials and returning an error or asking again for the credentials?

What do the logs say? Any errors there?
 
Can’t get TeslaMate working. It seems I have everything set up properly. When I got to login to my Tesla account granting a token it doesn’t let me enter my credentials. Grafana site loads fine but no info since it’s not connected to my car.
Any tips? Or is this a TeslaMate issue/bug on current software
Are you trying to enter a token or email/password? I believe there's been issues with email and password because of a change Tesla made but entering your token should work (you need to find somewhere to generate it). I've just logged out and tried to log back in and both email/password and tokens don't work. It recon it's bust!
 
Are you trying to enter a token or email/password? I believe there's been issues with email and password because of a change Tesla made but entering your token should work (you need to find somewhere to generate it). I've just logged out and tried to log back in and both email/password and tokens don't work. It recon it's bust!
The error logs should give a clue.
 
Anyone else seeing their Teslamate docker json log files growing rapidly (>100MB per day) due to error logging with the latest Teslamate 1.24.0 release?
I don't recall having this issue before, and I've run Teslamate in its various older releases for over a year now... AFAICT Teslamate is still running normally without any functional issues, just blowing up the docker log files :/

{"log":"2021-09-15 16:33:41.843 [error] GenServer TeslaMate.Mqtt.Publisher terminating\n","stream":"stdout","time":"2021-09-15T16:33:41.846210595Z"} {"log":"** (WithClauseError) no with clause matching: {:error, :timeout}\n","stream":"stdout","time":"2021-09-15T16:33:41.846318649Z"} {"log":" (tortoise 0.9.9) lib/tortoise.ex:269: Tortoise.publish/4\n","stream":"stdout","time":"2021-09-15T16:33:41.846363945Z"} {"log":" (teslamate 1.24.0) lib/teslamate/mqtt/publisher.ex:41: TeslaMate.Mqtt.Publisher.handle_call/3\n","stream":"stdout","time":"2021-09-15T16:33:41.846406463Z"} {"log":" (stdlib 3.15.2) gen_server.erl:721: :gen_server.try_handle_call/4\n","stream":"stdout","time":"2021-09-15T16:33:41.84644748Z"} {"log":" (stdlib 3.15.2) gen_server.erl:750: :gen_server.handle_msg/6\n","stream":"stdout","time":"2021-09-15T16:33:41.846487276Z"} {"log":" (stdlib 3.15.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3\n","stream":"stdout","time":"2021-09-15T16:33:41.84652685Z"} {"log":"Last message (from #PID\u003c0.28808.23\u003e): {:publish, \"teslamate/cars/2/is_preconditioning\", \"false\", [retain: true, qos: 1]}\n","stream":"stdout","time":"2021-09-15T16:33:41.846566645Z"} {"log":"2021-09-15 16:33:41.847 [error] Task #PID\u003c0.28806.23\u003e started from #PID\u003c0.28768.23\u003e terminating\n","stream":"stdout","time":"2021-09-15T16:33:41.856073873Z"} {"log":"** (stop) exited in: GenServer.call(TeslaMate.Mqtt.Publisher, {:publish, \"teslamate/cars/2/windows_open\", \"false\", [retain: true, qos: 1]}, 10000)\n","stream":"stdout","time":"2021-09-15T16:33:41.856230111Z"} {"log":" ** (EXIT) an exception was raised:\n","stream":"stdout","time":"2021-09-15T16:33:41.85627861Z"} {"log":" ** (WithClauseError) no with clause matching: {:error, :timeout}\n","stream":"stdout","time":"2021-09-15T16:33:41.856319684Z"} {"log":" (tortoise 0.9.9) lib/tortoise.ex:269: Tortoise.publish/4\n","stream":"stdout","time":"2021-09-15T16:33:41.862174503Z"} {"log":" (teslamate 1.24.0) lib/teslamate/mqtt/publisher.ex:41: TeslaMate.Mqtt.Publisher.handle_call/3\n","stream":"stdout","time":"2021-09-15T16:33:41.862227873Z"} {"log":" (stdlib 3.15.2) gen_server.erl:721: :gen_server.try_handle_call/4\n","stream":"stdout","time":"2021-09-15T16:33:41.862270335Z"} {"log":" (stdlib 3.15.2) gen_server.erl:750: :gen_server.handle_msg/6\n","stream":"stdout","time":"2021-09-15T16:33:41.862310261Z"} {"log":" (stdlib 3.15.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3\n","stream":"stdout","time":"2021-09-15T16:33:41.862349816Z"} {"log":" (elixir 1.12.2) lib/gen_server.ex:1024: GenServer.call/3\n","stream":"stdout","time":"2021-09-15T16:33:41.86238913Z"} {"log":" (elixir 1.12.2) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2\n","stream":"stdout","time":"2021-09-15T16:33:41.8624285Z"} {"log":" (elixir 1.12.2) lib/task/supervised.ex:35: Task.Supervised.reply/5\n","stream":"stdout","time":"2021-09-15T16:33:41.862468684Z"} {"log":" (stdlib 3.15.2) proc_lib.erl:226: :proc_lib.init_p_do_apply/3\n","stream":"stdout","time":"2021-09-15T16:33:41.862508183Z"} {"log":"Function: \u0026:erlang.apply/2\n","stream":"stdout","time":"2021-09-15T16:33:41.862546961Z"} {"log":" Args: [#Function\u003c4.48828428/1 in TeslaMate.Mqtt.PubSub.VehicleSubscriber.handle_info/2\u003e, [windows_open: false]]\n","stream":"stdout","time":"2021-09-15T16:33:41.86258833Z"}
 
Are you trying to enter a token or email/password? I believe there's been issues with email and password because of a change Tesla made but entering your token should work (you need to find somewhere to generate it). I've just logged out and tried to log back in and both email/password and tokens don't work. It recon it's bust!
It won’t let me click the button that says “Use existing API tokens (advanced)
What version of Teslamate are you on? Can you share a screen dump of the login page. I don't quite understand what you mean by it won't let you login your credentials. Does it not have anywhere for you to enter them or is it taking the credentials and returning an error or asking again for the credentials?

What do the logs say? Any errors there?
I’m assuming errors would should up when I am connected to the server (SSH). There are no errors there or do I need to run a line of code to see errors?
 

Attachments

  • 5F59867D-EB5D-4525-8D48-40E58D253C12.jpeg
    5F59867D-EB5D-4525-8D48-40E58D253C12.jpeg
    60.5 KB · Views: 97
I ran this line: docker-compose logs teslamate.

This is what I got:
if the login form itself isn't letting you enter anything, you may want to check the browser console for hints (or maybe just try a different browser), perhaps you have some anti-phishing protection that's preventing you from interacting with an unknown form?.

Also you may want to delete that attachment, as it's revealing the hostname of your teslamate instance.
 
  • Like
Reactions: Pixor
I am also on the newest version. I haven’t figured out how to get it to display it’s
if the login form itself isn't letting you enter anything, you may want to check the browser console for hints (or maybe just try a different browser), perhaps you have some anti-phishing protection that's preventing you from interacting with an unknown form?.

Also you may want to delete that attachment, as it's revealing the hostname of your teslamate instance.
sooo it doesn’t give me the option to edit LMAO

I just tried on my father in laws windows machine and it lets me edit the boxes but username/password don’t work it gives me error… sounds like i just need to figure out how to get API token though and it should work
 
  • Like
Reactions: Bobly
I use a website to generate mine (really don't see the point of a needless app download) and they offer 2 refresh tokens, one a shortish one and the other a really long token. Which refresh token do you use? (There's no mistaking the differences, ones maybe 20 characters and the other is probably 200). Teslamate seems to want the long one but everythign else seems to want the short one. These are in addition to the API token which is also short and about 20 characters.
 
I use a website to generate mine (really don't see the point of a needless app download) and they offer 2 refresh tokens, one a shortish one and the other a really long token. Which refresh token do you use? (There's no mistaking the differences, ones maybe 20 characters and the other is probably 200). Teslamate seems to want the long one but everythign else seems to want the short one. These are in addition to the API token which is also short and about 20 characters.
Huh, what website? In all my time searching I've only found some php/python ways that I couldn't get working, or the ios/android app.