TeslaMate
Self-hosted data logger for your Tesla
Alternative to: teslafi
v1.10.0
2019-10-05Enhancements
- Allow editing of geo-fence positions
- Show warning icon if the health check fails for a vehicle
- Use the best available SRTM data source which provides global elevation data including 60N and above
- Optimize the comparison of geo-fences by moving the lookup into the database
- Use the exact position instead of the center of an address for the geo-fence lookup
- Generally improve error handling and error messages
- Improve landscape mode on devices with a notch
-
Open the geo-fence editor by clicking on the start or destination address of a trip
Note: For this feature to work Grafana needs to know the base URL of the TeslaMate web interface. To automatically set the base URL open the web interface once after upgrading to this version. Manually changing the base URL is possible via the settings page.
New MQTT topics
teslamate/cars/$car_id/healthy: Reports the health status of the loggerteslamate/cars/$car_id/windows_openteslamate/cars/$car_id/shift_stateteslamate/cars/$car_id/latitudeteslamate/cars/$car_id/longitudeteslamate/cars/$car_id/odometerteslamate/cars/$car_id/charge_port_door_openteslamate/cars/$car_id/charger_actual_currentteslamate/cars/$car_id/charger_phasesteslamate/cars/$car_id/charger_powerteslamate/cars/$car_id/charger_voltageteslamate/cars/$car_id/time_to_full_charge
Bug Fixes
- Automatically restart parts of the application if Tesla decides yet again to change the IDs of some vehicles
- Request to sign in again if the access tokens become invalid e.g. because the password of the Tesla Account has been changed
- Protect against empty payloads during an update to prevent an update from not being fully logged
- Log the number of charging phases as returned by the API
⚠️ Running Migrations
Users of the default docker-compose.yml can skip this part.
To run the migrations successfully, the database user has to have superuser rights (temporarily):
- To add superuser rights:
ALTER USER teslamate WITH SUPERUSER; - To remove superuser rights:
ALTER USER teslamate WITH NOSUPERUSER;