@markpurcell Hi Mark, I think we crossed paths recently on GitHub with reference to exposing the data from individual Powerwall Batteries.
I am thinking of switching to Amber and it seems equipment compatibility is okay, being Solar Edge inverters and Powerwall2âs. Do you have any experience/advice when three single-phase inverters and two Powerwall2âs are connected to separate phases of a 3-phase system?
I know that I will have to disable Modbus in the short term and that I should be able to reenable for monitoring after onboarding to SmartShift, or are you suggesting that control is best automated in HA?
I would be concerned that my lack of knowlege/skills in programing would lead to undesirable import/export/curtailing outcomes and think that leaving control with SmartShift might be better for me.
I would recommend you enroll your powerwalls into SmartShift and that will do a good job of controlling your exports and imports from the grid.
Which energy network are you on?
I would recommend against enrolling your SolarEdge PV inverters in SmartShift, the curtailment is in many ways better done locally and the automation is pretty straight forward. You can setup and test the curtailment automations now before you even transfer to Amber to get some confidence before making the switch. The loss of control of your SolarEdge inverters can cause you issues down the track. However if local control doesnât work out you can always enroll and switch SolarEdge to SmartShift later.
With regards to three phase and two batteries, if the battery gateway is setup correctly it should see all your loads across all phases and the batteries will compensate by exporting sufficient power that it remains net zero. I have one battery backing up an essential circuits board, but not the others.
Also in a grid outage a three phase solar inverter cannot be energized (as it needs all three phases) so you wonât be able to recharge the batteries.
Thanks Mark. Like you, only one of my batteries backs up the essential circuits. That battery only is able to be recharged from solar panels connected to same phase through the single phase inverter. Iâll investigate the curtailment automations when i have time.
This is cool. Iâve tried to replicate this but show âRenewablesâ instead of feed in (Iâve yet to get a battery) - but doesnât seem to be working.
I thought Iâd just share my findings of automating with Amber. As your hot water ultimately makes up 1/4 of most peoples energy consumption, consumes the highest singular rate of power and is easily automated, I tried various methods to determine when to switch on the hot water tank. Including; when the battery level, or Solar power or indeed grid feedin rates were above X amount.
The one Iâve settled on though, is the cheapest 3 hour General Usage window between 7am & 2pm. Effectively your Hot Water tank is just another battery, so heating when the feedin has the bonus 26c doesnât make sense, you should be exporting. So I get the average of 6 consecutive Amber General Forecast rates (3hrs) starting from the current (NOW) rate and get the start time of cheapest period. Then an automation switches on the tank at the time of the cheapest window, whether itâs 7.30am, 8am, 8.30 etc and switches it off when the tank temperature trip trips (voltage > 1 & Current < 1).
Generally itâs around 10am when the sun is at itâs post productive so you shouldnât be paying too much anyway. This also means that if any other power hungry devices (Washing Machines, Dishwashers etc) that generally cannot be automated easily are on at that time, yourâre only going to be paying the cheapest rate and can also make use of the post 2pm bonus.
@madpilot Hi Myles, back around post #178/179 you spoke of possible firmware fix for sub-optimal Solar Edge inverter curtailment. I am expecting my inverters to be enrolled today (if Friday is still the day), so I am keen to know if I have made the right choice or whether I should be automating my own curtailment through HA?
Batts
Hey Amber/HA brains trust. Has anyone figured out how to control Amber Smartshift through their APIs or from within HA? I think my own algorithms would be better than SmartShift and Iâm confident I know when to dump my battery and when to load it up.
For example, I often have periods where the general price is $0.05 but Smartshift doesnât start loading up the battery⌠when it should.
That API doesnât exist yet. Working on it, but donât have an ETA.
Iâm going to assume you have a Powerwall, which is why you canât just control it via HA?
BTW: Smart shift will beat threshold based rules most of the time. Charging at 5c doesnât make sense if there is free solar to charge your battery, or if you are unable to dump at a higher price because your predicted load will be close to the battery max discharge (and thus will never hit the grid).
Thereâs an interesting add-on to Home Assistant that will use more sophisticated methods to not only manage your battery but also your household loads all in the one calculation. But I understand powerwall is very difficult to manage directly. Other batteries have API that allow direct control and are more suited to local management. Have a look at this thread:
There are people managing powerwalls with this system but I think its not easy. I have a sonnen which is easy to control locally but not easy for amber to control because sonnen wonât open their VPP API up to amber.
If I had a different battery I could control it via API?
Many other battery manuafacturers can be controlled locally via Home Assistant - SolarEdge for example.
When you say ânot yet working on itâ, am I to assume youâre working on the official integration?
First step it to get the actual API built, which requires a few internal architectural changes, then after that is done, Iâll add functionality to the Home Assistant integration.
Re: SolarEdge Curtailment - Help please! @madpilot@markpurcell
I gave up on Amber after waiting 6 weeks for Amber to enroll my inverters, and re-enabled Modbus. Since, I have been trying to get curtailment working. I would really appreciate some help with the correct code and Inverter settings.
When I curtail with a FULL battery, production falls to zero (not mirroring consumption. Note the active power slider.
Any word on the progress of this please? This is huge for my setup - while SmartShift is good, thereâs a few instances where Iâd like to be able to tailor it to my usage where SmartShift hasnât quite got it figured out yet.