I have Solar Panels with a Fox Inverter and Batteries. I am on Octopus’ Flux tariff which has a reduced rate from 2:00 to 5:00 and an increased peak rate from 16:00 to 19:00.
In summer I usually have sufficient. In winter, however, I charge the batteries from the grid over night on the cheap rate and if it’s a poor day for sun, I also charge them again before 4pm to avoid paying the higher rate in the peak evening period. At the moment I leave the nighttime boost on but manually decide how much to boost the batteries before the price increase at 4pm. I would like to automate this. I have tried the FoxESS Energy Management integration but it doesn’t seem to give what I need. Please see the attached image taken from FoxESS’s app on my phone and note there are two time periods with “Enable charge from grid” switches. I simply want to be able to use HA to turn these switches on or off. If I had access to these switches in HA, I am capable of creating the necessary automation.
Can anyone help me with this.
Thanks in advance.
In HA Developer Tools, Services.
Do a search for “FoxESS - Modbus: Update Charge Period”
Fill in the details using the GUI and then select “In YAML Mode” near the bottom. That way you get to copy the code and paste it into your automation.
1 Like