CCOSTAN / Home-AssistantConfig

:house: Home Assistant configuration & Documentation for my Smart House. Write-ups, videos, part lists, and links throughout. Be sure to :star: it. Updated FREQUENTLY!
https://www.vCloudInfo.com
Other
4.82k stars 505 forks source link

Add in Grid Status via Powerwall. #429

Closed CCOSTAN closed 5 years ago

CCOSTAN commented 6 years ago

https://github.com/stbenjam/home-assistant-config/blob/master/config/configuration.yaml?fbclid=IwAR1ey2oL--IF_zvuSDa8hWgFI7oNe1C2YFtojd4jv1c3EL0ao5wFsWYWRl0#L501

cc: @stbenjam

CCOSTAN commented 5 years ago

https://youtu.be/KHaLddx5wPg

stbenjam commented 5 years ago

Is that youtube video available publicly?

BTW, I added a hack-y sensor to estimate daily home usage by sampling the instantaneous load values over time. Still a work in progress, I haven't compared to Tesla app values yet but I imagine it should be close

https://github.com/stbenjam/home-assistant-config/blob/master/config/packages/solar.yaml#L239-L256

CCOSTAN commented 5 years ago

Tomorrow : 10:30Am EST.

I will totally try out that new code! Thanks! And thanks for this code.

CCOSTAN commented 5 years ago

@stbenjam Is the new code dependent on the SolarEdge invertors you have? I only have crappy deltas that give ZERO information. But if you are getting daily totals from your powerwalls, that would be a really welcome addition. (pun intended).

:)

stbenjam commented 5 years ago

It works based on the Powerwall's API only. However, it doesn't work correctly, numbers aren't close to Tesla, so either there's a arithmetic error, or I need to sample more frequently than every 120 seconds.