https://github.com/morpheus65535/tesla_preheat
Tesla_preheat is a simple scheduler to preheat your Tesla car using the Tesla API.
https://github.com/morpheus65535/tesla_preheat
Last synced: 2 months ago
JSON representation
Tesla_preheat is a simple scheduler to preheat your Tesla car using the Tesla API.
- Host: GitHub
- URL: https://github.com/morpheus65535/tesla_preheat
- Owner: morpheus65535
- License: mit
- Created: 2020-10-05T18:15:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-13T11:45:35.000Z (over 2 years ago)
- Last Synced: 2025-04-04T17:05:14.845Z (2 months ago)
- Language: HTML
- Size: 1.94 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[Tesla-Preheat](http://github.com/morpheus65535/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 |