Skip to content

morpheus65535/tesla_preheat

Repository files navigation

Tesla-Preheat is a simple scheduler to preheat your Tesla car using the Tesla API.

Usage

You should bind a volume to store the configuration file and cached token outside the container.

If you want to use it directly (without Docker), install requirements.txt with PIP and run main.py.

docker

docker create \
  --name=tesla_preheat \
  -e TZ=America/Toronto \
  -v /your/container/config/:/tesla/config/ \
  --restart unless-stopped \
  morpheus65535/tesla_preheat

docker-compose

Compatible with docker-compose v2 schemas.

---
version: "2.1"
services:
  tesla_preheat:
    image: morpheus65535/tesla_preheat
    container_name: tesla_preheat
    environment:
      - TZ=America/Toronto
    volumes:
      - /your/container/config/:/tesla/config/
    restart: unless-stopped

Parameters

Parameter Function
-e TZ=America/Toronto Specify a timezone to use EG America/Toronto, this is required for Tesla_preheat

About

Tesla_preheat is a simple scheduler to preheat your Tesla car using the Tesla API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published