[APP][Pro] Power by the Hour: Insights per hour, day, month and year

I am new with Homey and an existing HomeAssistant user. Have 2 Sessy batteries and would like to work with XOM function of PbtH. In HomeAssistant I am also working with XOM and built 2 XOM automations : one with charging only and the other with both charge+discharge. I want to avoid that during cheap hours the batteries will discharge, charging from solar however is fine. How can I build a similar functionallity in Homey? Any help is appreciated!

Hi Arnold,

Take a look at this flow from post 542 from [APP]{Pro] Sessy Thuisbatterij:

And add a logic card between Nieuw XOM Vermogen beschikbaar and Zet doel.. with Power > 0 or Power < 0 depending on only charging or only discharging.

And FYI: a completely new upgrade of PbtH will come as beta release soon. This will make PbtH act as an advanced Energy Management System. Smart Battery Control will be built in using a Linear Programming optimizer that will do what @Arnold79 wants to do ‘out of the box’ (without the need to build flows).

Spoiler alert: