hif2k1 / battery_sim

Home assistant home battery simulator - allows you to model how much energy you would save with a home battery
106 stars 13 forks source link

support force discharging #46

Closed rickroetenberg closed 1 year ago

rickroetenberg commented 1 year ago

Support for force discharging as well. When investigating a dynamic energy contract can be sufficient if we can force to use the battery when the prices are high

hif2k1 commented 1 year ago

Good idea, I'll try to include this in the next release

hif2k1 commented 1 year ago

This is now available in the latest release although the money saved sensor will not be correct for this application and needs more work. Currently the battery_sim doesn't monitor export tariff at all so this needs some work.

MathieuWuyts commented 1 year ago

Any idea on when the export tariff would be fixed for this? I'm using the integration to simulate a battery charging an discharging on dynamic tariffs. Also, can you include a manual mode? This way the battery doesn't discharge automatically when using power from the grid, but only when I want it to discharge (when prices are high).

hif2k1 commented 1 year ago

I've pushed it out today. I was trying to work on improving the config flow as it now has a lot of steps. Let me know if it works for you. I don't have these sort of tariffs so I've only tested it with simulated test data. Many thanks.