jerry-hall / Tesla-Automation-Scheduler

Schedule tasks and commands to control your Tesla vehicle via the Tesla API. This is the extension that you wish came with the Tesla app!
1 stars 0 forks source link

Tesla Automation Scheduler

Schedule tasks and commands to control your Tesla vehicle via the Tesla API. This is the extension that you wish the Tesla app included!

Overview

Have you ever wanted to ask your phone, Hey Siri, Set the temperature of the car to 20 degrees, or Start the climate at 8 AM? Or have you ever tried to turn on the climate control and had to wait for up to 30-seconds for your vehicle to wake up? If so, this is the app you need!

How It Works

The application listens for your requests. Once it receives your request, it sends it immediately or schedules it to the Tesla API.

Architecture

[TODO] 1 Terraform

Infrastructure-as-code to automate deployment and ensure that deployment is deterministic.

[TODO] 2 Kubernetes

Container orchestration to ensure application is highly available and self-healing.

[TODO] 3 RabbitMQ/Amazon SQS

Message queue service that accepts user requests and distributes them to worker node. Also used for scheduling of requests.

[TODO] 4 Node.js Worker Node

This is the heart of the application. It is a stateless app that receives requests, determines if they should be scheduled, sends them to RabbitMQ, and makes API requests to Tesla

Tesla API

More info: https://tesla-api.timdorr.com/