An open API service indexing awesome lists of open source software.

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.

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 |