Skip to content

A simple tool to fetch your solar energy data from Tesla

Notifications You must be signed in to change notification settings

mcolyer/tesla-solar-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Tesla Solar fetcher

A tool to fetch your solar energy use from Tesla portal. The current output is formatted to be uploaded to InfluxDB

Limitations

  • Only collects the current days data (tesla doesn't provide historical hourly data).
  • Assumes you only have a solar setup and no other tesla products ( fixable but don't have a system to test it on)
  • Only outputs solar data but could be made to output battery or grid usage.

Usage

> EMAIL=<your username> PASSWORD=<your password> go run main.go 2>/dev/null >data
> curl -XPOST http://influxdb:8086/write?db=whatever --data-binary @data

About

A simple tool to fetch your solar energy data from Tesla

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages