davidusb-geek / emhass

emhass: Energy Management for Home Assistant, is a Python module designed to optimize your home energy interfacing with Home Assistant.
MIT License
260 stars 51 forks source link

New merge #168

Closed PieterVO closed 5 months ago

davidusb-geek commented 4 months ago

Hi, why did you close this? This is actually useful and a current feature request, see this: https://community.home-assistant.io/t/emhass-an-energy-management-for-home-assistant/338126/1848?u=davidusb

PieterVO commented 4 months ago

I had opened the PR by accident. Have been testing it for a while now, in Belgium we need to limit peak consumption below 2.5kW to avoid an extra cost. It's been working well, it does "peak shaving" by discharging the battery if load prediction is above 2.5kW (so it makes sure to charge the batteries at the best times). I can try to work on it during the weekend to merge the latest changes and open a new PR.

davidusb-geek commented 4 months ago

Thanks that would be great. Interesting use case for consumption peak shaving. However, the asked feature request is about peak shaving but for energy production, ie. to limit the kW sent to the grid. From what I see this is what you implemented in the modifications that you made.