Powerwall 2 Integration #1213
Nick-Sills
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
@springfall2008 Thanks for creating this project. You seem to have gone 'all in' to solve the problems that I have already been thinking about, so it's much appreciated.
My setup is as follows:
2 x 3.24 kW PV arrays
SolarEdge Inverter
Tesla Powerwall 2
Tesla Gateway
Tesla Home Wall Charger - Car
Octopus Agile Import/Export Tarif
As far as I know, with all Powerwall installations, the Powerwall Gateway takes control of Battery charge and Discharge, as well monitoring Solar, House load, Grid load +/-, Battery load +/-. The inverter is effectively a dumb input into the system, and is connected by a CT clamp to provide the AC Solar power monitoring
The Powerwall has 2 operational modes,
Self Powered
, andTime Based
. The former is used in Summer months where solar exceeds or equals energy consumption, and the latter uses electricity rates to charge and discharge at the appropriate times, supposedly using Solar forecasting in its algorithm.Time Based
isn't directly compatible Octopus Agile, but I've found a way to Charge and Discharge on demand, so I can set up HA Octopus Agile switch automations.I can flip the operational mode to
Time Based
and use my charge/discharge switches to force charge and discharge rather than rely on time slots.So far, so good, but the main problem with this is the lack of solar forecasting, and the balance between import and export rates, and house load to optimize when to charge and discharge. This is what brought me here.
The sensors and switches I have available (Some are from the Gateway, some are templates that I've created):
Power
House Load kW
Solar Power kW
Grid Import kW
Grid Export kW
Battery Power kW +/-
Energy
Daily House Load kWh
Daily Solar Power kWh
Daily Grid Import kWh
Daily Grid Export kWh
Daily Battery Charge kWh
Daily Battery Discharge kWh
Battery
SOC %
SOC kWh
Switches and Controls
Battery Charge Switch
Batter Discharge Switch
Car charge Switch
Car charge power: Amps 0 - 32 variable
Octopus
1/2 hourly Import rates £
1/2 hourly export rates £
I have Solcast hobbyist account already configured .
There are sections in the YAML file that I can't seem to correlate, but I believe the above sensors and controls should provide enough data and inputs to manually configure PredBat, is this correct?
I'm asking before trying, because I know what a rabbit hole it can be to see problems when you're trying something unfamiliar
Thanks for any help.
Beta Was this translation helpful? Give feedback.
All reactions