Skip to content

Python / PHP script for Tesla Model S / Model X to keep the HVAC system powered on.

License

Notifications You must be signed in to change notification settings

florianuhlemann/TeslaCamperMode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TeslaCamperMode

Python / PHP script for Tesla Model S / Model X to keep the HVAC system powered on.

Installation Guide

  1. Edit ./camper/command.php and change password to your desired password. This doesn't need to be extremely secure, as it is only to prevent free access to the start / stop command.
  2. Place the content of the folder "camper" onto your webserver. Note the location of it. (i.e. if it's /var/www/html/camper/command.php use this for the next step)
  3. Modify camperMode.py to change the file location according to your location from step 2. It is in line 29. (i.e. /var/www/tesla/camper/is_currently_heating)

Using CamperMode

  1. Using ssh log in to your system.
  2. use screen -S CamperMode to start a detachable screen.
  3. Run the python script: python camperMode.py
  4. Enter your Tesla eMail and Password information.
  5. Detach screen with ctrl-a and ctrl-d.
  6. Navigate to website and hit start to activate CamperMode. Hit stop to deactivate.

About

Python / PHP script for Tesla Model S / Model X to keep the HVAC system powered on.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published