InventoCasa / ha-advanced-blueprints

Advanced Blueprints combined with pyscript for extra useful automations
160 stars 34 forks source link

Request switch on or off an appliance when the grid price is on a defined level #82

Open tkone88 opened 2 months ago

tkone88 commented 2 months ago

Hi,

I use a variable electricity supplier where the prices vary throughout the day. I would like this automation to be able to switch my switches in the future, depending on a price level I define, so that I can buy electricity for the lowest price. The comparison could also be as follows: If electricity is below the retail price, then switch on the sockets.

Thank you very much! :)

nukleuz80 commented 2 months ago

I think it‘s simple to solve. Define your thresholds in an Automation and activate/deactivate the Blueprint automation from PVExcessControl.

Kolbi commented 1 month ago

Would make most sense if this PR would be already implemented: https://github.com/InventoCasa/ha-advanced-blueprints/pull/80

If less sun but min runtime is not reached/reachable watch out for low prices and use this instead of PV.

Or use price lower than XYZ use grid instead of PV.