alandtse/tesla

Powerwall - Electricity Pathway Data

Open

#518 opened on Feb 22, 2023

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Python (122 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (741 stars)
PR merge metrics
 (Avg merge 13d 8h) (14 merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe. I'm trying to calculate savings made by using the battery and solar on my house, and for this I need to use information such as the number of KW's going from: Grid To Battery, Grid to House, Solar to Battery, Solar to House, Solar to Grid, Battery to House and Battery to Grid. Currently I need to create some somewhat clunky sensors that try to figure out that detail.

Describe the solution you'd like I don't know if it would be possible from the API, but I was hoping there might be a way to create reliable sensors for the following:

  • Grid (Site) to Battery Now
  • Grid (Site) to House (Load) Now
  • Solar to Battery Now
  • Solar to House (Load) Now
  • Solar to Grid (Site) Now
  • Battery to House (Load) Now
  • Battery to Grid (Site) Now

Describe alternatives you've considered As above, I have tried creating some template sensors for the above, using some calculations using the currently available "Now" sensors. Which work to a certain point, though are not 100% accurate

Contributor guide