Inspiration

I own a Tesla Model S and in my region the electric company offers spot prices for electricity. So by timing your charging right you can save money each day when you charge your Tesla for the next day adventures.

What it does

  1. Get day ahead pricing from the electricity market provider (NordPool in my case)
  2. Find the lowest price
  3. Schedule a charge command to be sent to the car a the optimal time to charge as cheap as possible.

How I built it

XSOAR automation to fetch electricity pricing, new custom Integration to talk to my Tesla over the Owners API

Challenges I ran into

Day ahead pricing is only public at 14.00. otherwise you get the same day.

Tesla API is not officially documented.

Accomplishments that I'm proud of

Working scenario end to end for a bit unorthodox use-case :)

What I learned

More python.

What's next for Tesla Smart Charger

-Enhance the Tesla integration commands to have more API commands. -Calculate savings

Built With

Share this project:

Updates