bassmaster187 / TeslaLogger

TeslaLogger is a self hosted data logger for your Tesla Model S/3/X/Y. Actually it supports RaspberryPi 3B, 3B+, 4B, Docker and Synology NAS.
https://www.teslalogger.de
GNU General Public License v3.0
505 stars 167 forks source link

ScanMyTesla / teslalogger.de token #124

Closed ramonsmits closed 4 years ago

ramonsmits commented 4 years ago

How to obtain a ScanMyTesla / teslalogger.de token? In the code base I only see that the token is read from configuration.

Also, why is teslalogger.de used as a man in the middle? Why isn't for example an MQTT broker being used? I'm not against using teslalogger.de but it would be welcome if this can be overriden.

Why not immediately have ScanMyTesla call the TeslaLogger on the raspberry? I expected that because the current solution requires the internet while if I have my phone and a raspberry pi on the same wifi network I do not need the internet at all.

bassmaster187 commented 4 years ago

It uses teslalogger.de as a relay server. As we don't want to tell everyone how to enable portforwarding / firewalls in their routers, we use the simple way for non computer nerds. Plus there are a lot of users without a public ip address, so they are not able to been connected directly.

In the next few weeks there will be a option for wifi only smartphones. So they will cache all the data untill their home-wifi ist visible and then send all the data.