Tesla-Preheat is a simple scheduler to preheat your Tesla car using the Tesla API.
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 create \
--name=tesla_preheat \
-e TZ=America/Toronto \
-v /your/container/config/:/tesla/config/ \
--restart unless-stopped \
morpheus65535/tesla_preheat
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
Parameter | Function |
---|---|
-e TZ=America/Toronto |
Specify a timezone to use EG America/Toronto, this is required for Tesla_preheat |