# \[APP\]\[Pro\] Power by the Hour - your own Energy Management System on Homey: it measures, predicts, plans and controls

**URL:** <https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535>\
**Category:** Apps\
**Tags:** app, tools\
**Created:** [November 10, 2019, 10:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535 "2019-11-10T22:06:03Z")\
**Posts on this page:** 20\
**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-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/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-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/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-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/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)

---

<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 24, 2026, 6:04am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4101 "2026-10-24T06:04:23Z")

</div>

Nice cliffhanger @Gruijter! 🙂 Very nice app and appreciate all time and effort you put in it!! For me PbtH is the primary reason to migrate from HA to Homey.

I am curious with what delta in price you will calculate still this year vs 2027 ; I am currently calculating with a min delta of EUR 0,10 per kWh to use the battery. After 1-1-2027 with the end of “salderen” in NL the tax + supplier costs are already \> EUR 0,10 per kWh. So basically I think I want to capture all solar ; in summer only on cheaper hours as my solar production in summer exceeds my battery capacity.

---

<div class="post-metadata">

**Author:** ![Roel\_Janssen1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/roel_janssen1/32/121231_2.png) [@Roel\_Janssen1](https://community.homey.app/u/Roel_Janssen1)\
**Post date:** [October 27, 2026, 8:48am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4102 "2026-10-27T08:48:25Z")

</div>

I haven’t received any updates from my homewizard for 19 days?

 ![IMG_2963](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/0/30ca15dcaf20175ff441931ce4273e058de96c2e.jpeg)

---

<div class="post-metadata">

**Author:** ![Walter\_vande\_kerkhof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/walter_vande_kerkhof/32/28963_2.png) [@Walter\_vande\_kerkhof](https://community.homey.app/u/Walter_vande_kerkhof)\
**Post date:** [October 29, 2026, 8:25am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4103 "2026-10-29T08:25:27Z")

</div>

Hi @Gruijter ,

Since 2 days I see a weird (to me 🙂 ) behaviour in the ‘thuisbatterij monitor’. The ‘Geld deze dag’ seems to drop drastically, multiple times a day. See screenshot:

 ![IMG_0190](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/b/ab9ab2bcc5305c273ecc78f5cb57202079154b7b.jpeg)

I have no clue where to look/change settings. Can you explain this behaviour? Using app version 8.21.1 and homey pro 2023 13.5.3.

---

<div class="post-metadata">

**Author:** ![Walter\_vande\_kerkhof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/walter_vande_kerkhof/32/28963_2.png) [@Walter\_vande\_kerkhof](https://community.homey.app/u/Walter_vande_kerkhof)\
**Post date:** [October 31, 2026, 9:42am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4104 "2026-10-31T09:42:21Z")

</div>

@Gruijter Hello Robin,

in addition to my post 2 days ago I managed to do some extra investigation.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b83e88695e0f1bec849174371262e93b5c26d0fb.png)

As you can see ther is a drop in ‘Geld deze dag’ around 2:15 this night while there was no activity in ‘Laden Totaal’ and ‘Ontladen Totaal’. Same for just after 9:00 en just before 10:00 this morning

Do you have any idea what causes this issue? Is it a bug or a misconfiguration on my side?

---

<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 31, 2026, 10:02am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4105 "2026-10-31T10:02:54Z")

</div>

@Walter_vande_kerkhof Money is calculated as (change in discharged − charged kWh) × the active tariff, so a drop without visible charging means either the tariff or the Anker meters briefly had an odd value. Could be a fluke in the Anker source device or app.

I’m working hard on a completely redesigned V9 of PbtH. I will add an extra guard there for weird source meter jumps.

---

<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 31, 2026, 10:18am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4106 "2026-10-31T10:18:51Z")

</div>

# IMPORTANT NOTICE

### EVERYBODY THAT IS USING THE TEST APP UPDATES

The V9 is expected to come out soon as test. This will contain many big changes and will likely contain some breaking bugs. If you do not want V9 to be installed on your Homey while it is still in test phase, you need to **go to the stable version update stream now.** You can do that by re-installing the stable version (8.21.1) from the app store:

> **[Power by the Hour | Homey](https://homey.app/en-us/app/com.gruijter.powerhour/Power-by-the-Hour/)**
>
> Summarize the energy/water usage or (solar) production per hour, day, month and year. Use dynamic tariffs.

You will not lose any information, flows or settings by installing the stable version over the previous test version.

---

<div class="post-metadata">

**Author:** ![EdNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ednl/32/90603_2.png) [@EdNL](https://community.homey.app/u/EdNL)\
**Post date:** [November 4, 2026, 10:24am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4107 "2026-11-04T10:24:57Z")

</div>

I have the normal version install again and I have a question.  
I see in the PbtH app 0.3664 euro and in my Tibber app I see 0.3670 euro

I give import variabele opslag (%): 21  
I give import vaste opslag per kWh: 0,1356

and I give Export vaste opslag per kWh: -0,0248

Why is there a difference and do I something wrong?

 ![Scherm­afbeelding 2026-11-04 om 11.18.46](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/6/96cda7f4e8f46e116356680a4fa6a6527356427e.png)

 ![IMG_2219](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/4/246b7cc2d40629eb802e87277feb6ade51253a8c.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:** [November 4, 2026, 2:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4108 "2026-11-04T14:06:07Z")

</div>

# **⚡ Power by the Hour v9: test version available**

v9 turns Power by the Hour into your own **Energy Management System** on Homey: it measures, predicts, plans and controls.

**This is a huge rewrite of the app. Expect bugs!** In return you get:

- Much simpler setup and configuration.
- Far fewer flow cards, that still do all you need and more.

⚠ **Make a Homey backup first.** After migration there is no way back to v8.

👉 **Install the test version:** [https://homey.app/a/com.gruijter.powerhour/test/](https://homey.app/a/com.gruijter.powerhour/test/) Your v8 devices, totals, Insights and flows are kept.

* * *

## **🆕 What’s new**

- **💶 Energy Price:** one new price device for power, gas and water. Almost any contract in the EU and worldwide: dynamic or fixed, with all markups and taxes, any currency. [Guide](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.price.md)
- **🔋 Smart Battery:** fully automatic, built-in modes and control. Plans on prices, solar and home load, and learns its own losses. [Guide](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.battery.md)
- **🚗 Smart EV Charger:** learns when you leave, charges cheap or on solar, ready on time. [Guide](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.evCharger.md)
- **🔌 Grid Monitor:** peak shaving for capacity tariffs, main fuse and per-phase guard, self-learning home load forecast. [Guide](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.grid.md)
- **☀ Solar:** self-learning forecast, no panel data needed. [Guide](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.solar.md)
- **⚡ Appliances:** learns programs, plans the cheapest start. [Guide](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.power.md)
- **📱 Setup from your phone:** a wizard at pairing, and **Repair** to change source, price, budget or totals later.
- **📈 Year budget:** spread over the year by your local climate.

* * *

## **✅ After installing: what to do**

**Prices**

- Add an **Energy Price** device and use **Take over settings** to copy your old `dap`, `dap15` or `dapg` device. [How](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.price.md#from-the-old-day-ahead-price-drivers)
- The new device takes over the tariff group.
- Move your price flows to the new cards (the timeline lists the old ones), then **delete the old price device**.

**Meters (grid, solar, power, gas, water)**

- Price and tariff settings are now in **Repair** , not in the device settings.
- Grid: check phases, main fuse and capacity tariff in **Repair**.

**Battery**

- Choose how the battery is controlled: [Control](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.battery.md#control)
  - **Built-in:** tick **Let the app control the battery** and pick a [mode](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.battery.md#modes). Then **remove your own (dis)charge flows**, or they will fight the app.
  - **By flows:** leave control off and use **New planned battery power** or **New XOM power available**.

- The old **ROI** cards still work but are deprecated: replace them with the new plan cards.
- Several batteries? They now plan as one group.
- Older Homey (Pro 2019 or Early 2023)? Leave **Extra precise planning** off: it uses much more memory.

**Flows**

- Old cards show as deprecated. They still work, but move to the new cards when you can.
- App developers: use `GET /prices` and the realtime event `prices-updated`. The v8 names `/dap-prices` and `dap-prices-updated` are gone. [API](https://github.com/gruijter/com.gruijter.powerhour/blob/beta-v9/README.prices-api.md)

* * *

🐞 **Problems?** Send a diagnostic report (Homey app → Power by the Hour → Settings) and post the time and what went wrong here, or on [GitHub](https://github.com/gruijter/com.gruijter.powerhour/issues).

---

<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:** [November 4, 2026, 6:32pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4109 "2026-11-04T18:32:12Z")

</div>

Hi Robin,

Is the huisvermogen graph gone?

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [November 4, 2026, 10:52pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4110 "2026-11-04T22:52:25Z")

</div>

@Gruijter Thanks for your work.  
I do not use all the possibility 's of the app.  
But in the version 8.21.1 is a small typo.  
The status indicator Energie shows kkWh.

 ![1000002374](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/b/abc48c1ef77fe00ff9c411d67afa18e39b0c1f85.jpeg)

---

<div class="post-metadata">

**Author:** ![EdNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ednl/32/90603_2.png) [@EdNL](https://community.homey.app/u/EdNL)\
**Post date:** [November 5, 2026, 9:30am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4111 "2026-11-05T09:30:03Z")

</div>

Hi @Gruijter  
I’m a bit confused—apologies for asking—but I’ve switched to the new version and am trying to set up a new ‘energy’ button there.

I can’t seem to get it to look the way it did before. To put it another way, the final display doesn’t match the data on the jeroen.nl website at all.

The market price is correct, but the export price in PbtH is showing as 0.2402, whereas it should be 0.376 (this was at 10:15 AM). The import price in PbtH is 0.4006, while jeroen.nl shows 0.394 (these two are fairly close). Tibber account.

What did I enter incorrectly? Could you please help me out? Thanks!

 ![Scherm­afbeelding 2026-11-05 om 10.27.11](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/8/d82813af85c2dd01e76191a349400e8e72025e18.png)

 ![Scherm­afbeelding 2026-11-05 om 10.20.30](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/c/fcd098a7b24995e16d8f07721c551743382fdb6d.png)

 ![Scherm­afbeelding 2026-11-05 om 10.28.04](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/c/0ceabca9af1b0ce23246d557c997e0d023655754.png)

Or, since I’m starting completely from scratch anyway, would it be better to get rid of everything, start with the test version, and not carry anything over from the old PbtH—then enter everything in properly?

---

<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:** [November 5, 2026, 9:55am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4112 "2026-11-05T09:55:01Z")

</div>

> [@EdNL](#):
>
> since I’m starting completely from scratch anyway, would it be better to get rid of everything

If you want to start with a fully clean slate, yes that would be preferred.

Concerning what numbers to use for Tibber I cannot help you. It depends what your contract states exactly. And even then, most energy contracts are ambiguous in how to interpret the different markups. I would not compare it to jeroen.nl myself. Why don’t you compare it with what your Tibber app gives you?

Tip: try uploading your contract and the PbtH setup screenshots to an AI. That should be able to find the right numbers for you!

---

<div class="post-metadata">

**Author:** ![Paul\_Scholte](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/paul_scholte/32/16562_2.png) [@Paul\_Scholte](https://community.homey.app/u/Paul_Scholte)\
**Post date:** [November 5, 2026, 2:21pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4113 "2026-11-05T14:21:51Z")

</div>

EdNL,

Tibber changed its tariffs for new contracts starting September 1st. The number on Jeroen. nl are the tariffes for new contracts. I accidently found out yesterday ☹

for existing/old contracts the correct markups in PBTH are for import € 0,1356, for export € 0.1108 (= 0.1356-0,0248 = the energytax).

for new contracts i expect t(didn’t test it!) that the correct markup should be € 0,1288 for import, for export € 0.1108 .

regards,

Paul

---

<div class="post-metadata">

**Author:** ![EdNL](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ednl/32/90603_2.png) [@EdNL](https://community.homey.app/u/EdNL)\
**Post date:** [November 5, 2026, 2:25pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4114 "2026-11-05T14:25:11Z")

</div>

Oke, thank you! @Paul_Scholte  
Perhaps a strange question, but could you help me with my query in this thread?

[https://community.homey.app/t/howto-nieuw-in-homey-dynamische-elektriciteitsprijzen-wat-in-te-vullen/141913/62](https://community.homey.app/t/howto-nieuw-in-homey-dynamische-elektriciteitsprijzen-wat-in-te-vullen/141913/62)

I have entered the information, but I am not sure if it is correct or if I have provided the right details—especially since PbtH now has a brand-new version (9).

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [November 6, 2026, 7:47pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4115 "2026-11-06T19:47:28Z")

</div>

Hi Robin,

Great new functionality! I’ve just added a new Energy Price device and now in the process of rewriting my flows. Is there an option to rerun/trigger the function that checks the flows:

> [@Gruijter](#):
>
> - Move your price flows to the new cards (the timeline lists the old ones), then **delete the old price device**.

Also are all cards that were available on the old _Day-Ahead 60 E Prices_ device available on the new _Energy Price_ device? (I’m having a hard time finding some cards ☹ )

---

<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:** [November 6, 2026, 8:06pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4116 "2026-11-06T20:06:14Z")

</div>

> [@DaneedeKruyff](#):
>
> Great new functionality!

❤

> [@DaneedeKruyff](#):
>
> Is there an option to rerun/trigger the function that checks the flows:

Nope, sorry

> [@DaneedeKruyff](#):
>
> I’m having a hard time finding some cards

No, many cards were removed to make it a lot easier. You should be able to rebuild the same / similar functionality with the new cards though. After struggling for a while, and you still miss something, let me know what you miss.

---

<div class="post-metadata">

**Author:** ![HuisCHovens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/huischovens/32/16973_2.png) [@HuisCHovens](https://community.homey.app/u/HuisCHovens)\
**Post date:** [November 6, 2026, 9:02pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535/4117 "2026-11-06T21:02:23Z")

</div>

I have version 9 and have also set up new devices for ANWB Energy and Gas. Where can I enter the fixed daily gas purchase cost for these new devices? It is possible to do so for electricity, but I can’t find where to enter it for gas.

[Previous page](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535.md?page=201)

[Next page](https://community.homey.app/t/app-pro-power-by-the-hour-your-own-energy-management-system-on-homey-it-measures-predicts-plans-and-controls/20535.md?page=203)
