teslamate

A self-hosted data logger for your Tesla 🚘

MIT License

Stars
5.2K
Committers
189

Bot releases are hidden (Show)

teslamate -

Published by adriankumpf about 5 years ago

Bug Fixes

  • Show all cars in the Overview dashboard
teslamate - v1.11

Published by adriankumpf about 5 years ago

New Features

  • Add overview dashboard (by DBemis;
    #196)
  • Make :check_origin option configurable via environment variable
    CHECK_ORIGIN
  • Open GitHub release page when clicking the version tag in the navbar
  • Display the current software version

New MQTT topics

  • teslamate/cars/$car_id/version: Current software version

Enhancements

  • Tweak the mobile and desktop views
  • Add GIST index based on ll_to_earth to speed up geo-fence lookups
  • Improve accuracy of geo-fence lookups for some edge cases
  • Log option codes as well if the vehicle identification fails
  • Delete trips with less than 10m driven
  • Add/Update efficiency factors

Bug Fixes

  • Fix an issue where postgres' automatic analyze couldn't succeed
  • Fix an issue where the derived efficiency factors could not be calculated
  • Exit early if migrations fail
  • Downgrade Grafana to v6.3.5
teslamate - v1.10

Published by adriankumpf about 5 years ago

Enhancements

  • 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 logger
  • teslamate/cars/$car_id/windows_open
  • teslamate/cars/$car_id/shift_state
  • teslamate/cars/$car_id/latitude
  • teslamate/cars/$car_id/longitude
  • teslamate/cars/$car_id/odometer
  • teslamate/cars/$car_id/charge_port_door_open
  • teslamate/cars/$car_id/charger_actual_current
  • teslamate/cars/$car_id/charger_phases
  • teslamate/cars/$car_id/charger_power
  • teslamate/cars/$car_id/charger_voltage
  • teslamate/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;
teslamate - v1.9.1

Published by adriankumpf about 5 years ago

Bug Fixes

  • Set position when selecting a search entry
  • Fix deletion of geo-fences
teslamate - v1.9

Published by adriankumpf about 5 years ago

Added

  • Show a map with the current vehicle position on the web interface
  • Add a satellite/hybrid layer to the geo-fence map
  • Use elevation data with 1 arc second (~30m) accuracy everywhere not just in
    the US
  • Add support for MQTT SSL (#140)
  • Add "Charged" annotation to the degradation dashboard
  • Add preferred range setting: you can now choose between "ideal" and "rated"
    range to use as the basis for efficiency and other metrics

Changed

  • Require a data source named "TeslaMate":

    If you don't run the teslamate/grafana docker container the Grafana data
    source has to have the name "TeslaMate". Prior to this change the default
    data source was used.

  • Renamed the MQTT topic teslamate/cars/$car_id/battery_range_km to
    teslamate/cars/$car_id/rated_battery_range_km.

Fixed

  • Prevent suspending when an update is in progress
  • Fix charge counter when using with multi vehicles
    (#175)

Removed

  • Drop support for the deprecated env variables TESLA_USERNAME and
    TESLA_PASSWORD
Badges
Extracted from project README
CI Publish Docker images
Related Projects