- Notifications
You must be signed in to change notification settings - Fork0
m600x/TeslaMateCompanion
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a repo containing raw code to run a small Tesla remote dashboard on your desk. The purpose of this is to have basic information about your car at a glance without the need to open the smartphone app or your browser.
Is it useful? Who knows but it has it's use for me.
- State of the car (Online, Offline, Asleep, Driving, Charging, Updating)
- Odometer (Kilometers or Miles)
- Last update timestamp
- Inside/Outside temperature (Celsius or Farhenheit)
- Status of the car (healthy, locked, sentry, presence, doors, windows, trunk and frunk)
- Battery level
- Estimated range
- Clone the repo
- Open it in VSC (that has PlatformIO)
- Tune the main.cpp with your variables
- Connect your T-Display S3 and upload
- Enjoy
- RemoteDebug: you can
telnet ip
to get the serial output - OTA update: you can remotely update the T-Display by uncommenting the last line inplatformio.ini
All variables are inTeslaMateCompanion.h.Code is compatible with TeslaMateApi behind a basic auth such as when you deploy TeslaMate using docker with Traefik.
Name | Default value | Description |
---|---|---|
WIFI_SSID | Name of your wifi network | |
WIFI_PASS | Password of your wifi network | |
WIFI_TIMEOUT | 5 | Number of seconds to reset the wifi setting when (re)connecting in seconds |
API_URL | URL of TeslaMateApi, usuallyhttps://somedomain/api/v1/cars/1/status | |
API_TIMEOUT | 2 | Timeout before dropping the GET attempt in seconds |
API_AUTH | true | Indicate if your TeslaMateApi need auth (TeslaMate installed with a basic auth by Traefik for example) |
API_USER | IfAPI_AUTH , user of TeslaMate | |
API_PASS | IfAPI_AUTH , password of TeslaMate | |
TZ_OFFSET | 1 | Hours of offset against GMT (1 is France Summer) |
POLLING_INTERVAL | 30 | Frequency of data refresh in seconds |
HOSTNAME | TeslaMateCompanion | Broadcasted network name of the device |
BRIGHTNESS | 120 | LCD brightness from 0 to 255 |
About
TeslaMate on your desk (T-Display S3)