springfall2008 / batpred

Home battery prediction and charging automation for Home Assistant, supporting many inverter types
https://springfall2008.github.io/batpred/
115 stars 40 forks source link

Switch charger to off during force discharge slots #848

Open rknight20772 opened 6 months ago

rknight20772 commented 6 months ago

Feature request.

Have a setting to switch Zappi to off during force discharge slots

Describe the solution you'd like A switch that allows me to turn off the car charger when the battery is force discharging. Currently if the car is plugged in, the zappi (in Eco for Octopus Intelligent Go) detects the export and uses it to charge the car. I’d like to be able to make sure it goes back to the grid instead and use the overnight slots to charge the car

Describe alternatives you've considered New to home assistant but guess I could use an automation that sees when inverter is discharging and disable the zappi during the slots.

RobinCu commented 6 months ago

The best way to do this is to increase your export margin in the Zappi settings (on the physical device menu rather than the app). Set it to something higher than your inverter's max output (5000W). Specific instructions are here: https://support.myenergi.com/hc/en-gb/articles/18468235308433-How-to-stop-menergi-products-diverting-exported-power#h_01GZEF0YMHWH8GCR4R14R52HJE

Edit: MyEnergi advises against using HA automations to switch the mode, but I flick it to Stop during Saving Sessions. Stop is the only one that truly stops with the IOG Zappi integration, if it's changed to Fast or Eco, it will switch back to Eco+.

However, using Zappi as a trigger to drive other automations is fine. If you do need any help with Zappi automations then let me know.

springfall2008 commented 6 months ago

Predbat has a sensor 'binary_sensor.predbat_discharging' which you can use for an automation trigger to change your Zappi mode

gcoan commented 6 months ago

Predbat has a sensor 'binary_sensor.predbat_discharging' which you can use for an automation trigger to change your Zappi mode

I've added details of this to the documentation as it was missing