Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

TeslaMate on your desk (T-Display S3)

NotificationsYou must be signed in to change notification settings

m600x/TeslaMateCompanion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

main

Description

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.

Functions

  • 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

Requirement

Instructions

  • 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

Technical notes

  • RemoteDebug: you cantelnet ip to get the serial output
  • OTA update: you can remotely update the T-Display by uncommenting the last line inplatformio.ini

Variables

All variables are inTeslaMateCompanion.h.Code is compatible with TeslaMateApi behind a basic auth such as when you deploy TeslaMate using docker with Traefik.

NameDefault valueDescription
WIFI_SSIDName of your wifi network
WIFI_PASSPassword of your wifi network
WIFI_TIMEOUT5Number of seconds to reset the wifi setting when (re)connecting in seconds
API_URLURL of TeslaMateApi, usuallyhttps://somedomain/api/v1/cars/1/status
API_TIMEOUT2Timeout before dropping the GET attempt in seconds
API_AUTHtrueIndicate if your TeslaMateApi need auth (TeslaMate installed with a basic auth by Traefik for example)
API_USERIfAPI_AUTH, user of TeslaMate
API_PASSIfAPI_AUTH, password of TeslaMate
TZ_OFFSET1Hours of offset against GMT (1 is France Summer)
POLLING_INTERVAL30Frequency of data refresh in seconds
HOSTNAMETeslaMateCompanionBroadcasted network name of the device
BRIGHTNESS120LCD brightness from 0 to 255

[8]ページ先頭

©2009-2025 Movatter.jp