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

**URL:** <https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535>\
**Category:** Apps\
**Tags:** app, tools\
**Created:** [November 10, 2019, 10:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535 "2019-11-10T22:06:03Z")\
**Posts on this page:** 3\
**Page:** 202

<div class="post-metadata">

**Author:** ![Arnold79](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arnold79/32/172368_2.png) [@Arnold79](https://community.homey.app/u/Arnold79)\
**Post date:** [October 23, 2026, 10:05am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4098 "2026-10-23T10:05:32Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Leo\_Verwaal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo_verwaal/32/56320_2.png) [@Leo\_Verwaal](https://community.homey.app/u/Leo_Verwaal)\
**Post date:** [October 23, 2026, 11:46am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4099 "2026-10-23T11:46:08Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ed1ee8808a556742298a3405ffabc3ec9aaefa22.jpeg)

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [October 23, 2026, 11:57am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/4100 "2026-10-23T11:57:02Z")

</div>

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:

 ![1000011739](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/0/5062170c3db63fe99a34b50560d0b3462c2f7a98.png)

[Previous page](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535.md?page=201)
