Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 973 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 973 Bytes

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.