# \[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:** 153

<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:** [May 17, 2025, 3:05pm 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/3104 "2025-05-17T15:05:50Z")

</div>

PBTH has its own DAP (=spot price) driver. Add it as a device. Use that in stead of Tibber, and you will be able to add fixed and variable markups 😉

Also you will be able to get rid of the flow you now use to update the actual price. And on top of that you will be able to use all the advanced flowcards that come with the DAP device to make optimal use of the knowledge of all coming prices.

---

<div class="post-metadata">

**Author:** ![Johan\_Wagstam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/johan_wagstam/32/98555_2.png) [@Johan\_Wagstam](https://community.homey.app/u/Johan_Wagstam)\
**Post date:** [May 17, 2025, 3:26pm 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/3105 "2025-05-17T15:26:19Z")

</div>

It’s like a whole new world now – things are finally starting to make sense!  
Thanks so much for the help, this really opened things up for me 🙌✨

---

<div class="post-metadata">

**Author:** ![OH2TH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oh2th/32/111414_2.png) [@OH2TH](https://community.homey.app/u/OH2TH)\
**Post date:** [May 20, 2025, 11:19am 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/3107 "2025-05-20T11:19:57Z")

</div>

Split this topic on May 20, 2025, 11:19am UTC

2 posts were split to a new topic: [Which app to get day ahead weather information](https://community.homey.app/t/which-app-to-get-day-ahead-weather-information/136784)

---

<div class="post-metadata">

**Author:** ![rstroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rstroot/32/25166_2.png) [@rstroot](https://community.homey.app/u/rstroot)\
**Post date:** [May 20, 2025, 3:12pm 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/3108 "2025-05-20T15:12:57Z")

</div>

Can anyone help me how to get the kWh this month and this year correct by entering the right values in the “This month start” and “This Year start” in the settings for Solax solar panels?

---

<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:** [May 24, 2025, 8:29pm 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/3109 "2025-05-24T20:29:46Z")

</div>

v6.7.2 has been released as stable.

- Added support for Sessy battery app \>=3.0.
- homey-api@3.11.3

This is to prepare for the new upcoming Sessy home battery app.

---

<div class="post-metadata">

**Author:** ![Bulletcather](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bulletcather/32/13738_2.png) [@Bulletcather](https://community.homey.app/u/Bulletcather)\
**Post date:** [May 29, 2025, 9:20pm 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/3110 "2025-05-29T21:20:16Z")

</div>

Is it possible to also make a darkmode variant.  
Looks nice at the dashboard

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/f/6f3f050a94b4080f9e6f14a470e4eb4bc51a1254.png)

Have you managed to look at this question yet?

---

<div class="post-metadata">

**Author:** ![Bernd\_Gaykema](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bernd_gaykema/32/112153_2.png) [@Bernd\_Gaykema](https://community.homey.app/u/Bernd_Gaykema)\
**Post date:** [May 30, 2025, 7:29pm 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/3111 "2025-05-30T19:29:19Z")

</div>

After a journey with several advanced flows (to control my home battery in relation to my solar panels and my car charger) I have started to use this PbtH app. I got it working.

I stop charging and discharging the battery when the available power is less than 200 Watt. Per battery! I have two of them (Sessy).

I notice that when the demand to deliver from the battery is less than 400 Watt they stop.  
It looks like that the setting in the PbtH flowcard (minimum accu power) is multiplied by the number of batteries. I use 200 Watt as setting but it behaves like it was set to 400 Watt.

I expected that only one Sessy is being addressed to deliver the power from 200 Watt up to 400 Watt and that the app switches between the 2 batteries (to keep them more or less on the same level).

@Gruijter, Is my observation correct?

EDIT: Yesterday evening I watched the behaviour of discharging the batteries again. To my surprise it now works exactly as I expected.  
From 200 to 400 Watt only one battery is delivering the power and they switch alternately. Above 400 Watt both deliver an equal amount of power.  
I didn’t change anything… .  
Nice…, so there is no issue here. Lessons learned 😇

---

<div class="post-metadata">

**Author:** ![Olex](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olex/32/79016_2.png) [@Olex](https://community.homey.app/u/Olex)\
**Post date:** [June 4, 2025, 8:37pm 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/3112 "2025-06-04T20:37:39Z")

</div>

Every day at 13:00, when the power price for the next day is set, the price for the current day is messed up. My flows don’t work.  
Price now is wrong, lowest/highest price this day and more, all are gone.  
The screenshot shows average price this day, every day at 13:00 it drops.  
It is correct again one hour later, at 14:00. Except yesterday when it reverts to normal at 17:00.  
I have noticed that other also have seen this problem  
What could cause this?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/97d09fe4f55452b3e9dcac8bbe34af85969967e5.png)

Edit: the values are changed correctly at 13:00  
Two minutes later (13:02), the current “price now” is changed to a wrong value.  
Average price goes to ZERO.  
Something is wrong here.  
@Gruijter ?

 ![bilde](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/f/2fe3948e6e996089de88d7a0d9bdcdbd68a395b7.png)

---

<div class="post-metadata">

**Author:** ![Olex](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olex/32/79016_2.png) [@Olex](https://community.homey.app/u/Olex)\
**Post date:** [June 6, 2025, 11:17am 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/3113 "2025-06-06T11:17:02Z")

</div>

@Gruijter

Here is what’s happening.

Period from 12:00 to 13:00  
Price now is the same as Tibber, 0,4517 NOK.

Period from 13:00 to 14:00  
At 13:00, PBTH change to 0,3913 which is also the same as Tibber, correct so far.  
However, 2 minutes later, PBTH change “price now” to 0,4697, which is WRONG.  
Also average price today (now set to ZERO) is wrong, and lowest/highest price today is blank.  
Any clue?  
Thanks!

 ![PBTH](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/8/888f7f82ab9314e2a96e28597dbe87e26a1ace18.jpeg)

---

<div class="post-metadata">

**Author:** ![Geir-Ove\_Sorensen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/geir-ove_sorensen/32/78901_2.png) [@Geir-Ove\_Sorensen](https://community.homey.app/u/Geir-Ove_Sorensen)\
**Post date:** [June 6, 2025, 11:44am 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/3114 "2025-06-06T11:44:49Z")

</div>

I have the exact same problem. It’s been like this for a few days.

---

<div class="post-metadata">

**Author:** ![Wasdroger](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wasdroger/32/57231_2.png) [@Wasdroger](https://community.homey.app/u/Wasdroger)\
**Post date:** [June 8, 2025, 1:04pm 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/3115 "2025-06-08T13:04:50Z")

</div>

Wanted to download this app for a few days now, but i can’t install it on my Homey. It will be a new install. Tried it via web, via the app. Both say ‘will be downloaded on your Homey shortly’, but it actually won’t. Tried restarting my Homey and do it all over, won’t work.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 8, 2025, 1: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/3116 "2025-06-08T13:21:18Z")

</div>

This is not app related.  
However, there was a bug wich prevented apps from installing.

> [@\[APP\]\[Pro\] Virtual Devices - Virtual Devices to simulate 1 or more real devices](https://community.homey.app/t/app-pro-virtual-devices-virtual-devices-to-simulate-1-or-more-real-devices/1723/728):
>
> Restarting all network devices (router/ modem AND access points) helps, and update your Homey firmware.

> [@Cannot add new apps to Homey suddenly](https://community.homey.app/t/cannot-add-new-apps-to-homey-suddenly/133411/55):
>
> Problem solved. Thx to Athom support. I don’t know why, but as my explanation for this problem - that they’re testing IPV6 on device firmware. Answer on my ticket: “This issue seems to be caused by your internet modem issuing IPv6 addresses. Could you please disable IPv6 in your internet router? Please also send us a screenshot from [https://test-ipv6.com/](https://test-ipv6.com/) If possible, could you reboot your internet modem once? Then please reboot your Homey Pro once, try to install an app and then send a di…

> [@Cannot add new apps to Homey suddenly](https://community.homey.app/t/cannot-add-new-apps-to-homey-suddenly/133411/65):
>
> Support told me that with the release of Homey Firmware 12.4.4, this problem shoud be fixed:
> 
> “We have meanwhile implemented a fix for your problem of not being able to install apps. You can now download and install apps again. That shouldn’t cause any more issues”

---

<div class="post-metadata">

**Author:** ![Wasdroger](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wasdroger/32/57231_2.png) [@Wasdroger](https://community.homey.app/u/Wasdroger)\
**Post date:** [June 8, 2025, 1:35pm 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/3117 "2025-06-08T13:35:58Z")

</div>

@Peter_Kawa  
Thanks! Couldn’t find the issue myself elsewhere. Tried installing other apps which did work, so that’s why I thought I let the dev know 🙂  
Thanks again!

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 8, 2025, 1:44pm 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/3118 "2025-06-08T13:44:45Z")

</div>

Yeah it’s a bit peculiar why only some apps, or random apps even, seem to suffer from this bug.

---

<div class="post-metadata">

**Author:** ![Eko\_taas](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eko_taas/32/74256_2.png) [@Eko\_taas](https://community.homey.app/u/Eko_taas)\
**Post date:** [June 9, 2025, 12:31pm 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/3119 "2025-06-09T12:31:21Z")

</div>

Anyone else have this issue (seems to come from yesterday)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/a/4a835582fa48e06de0fd8eb87993580a945c4a01.png)

Area Finland (all other parameters not set):

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

When looking at device, can see that “Price now” is “bit” old:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/5/45c72a4c694e9ef05415ae5e7b6da161713f657c.png)

Yesterday was OK…

Fortunately PbH is only 2nd source for me so made simple workaround:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/7/f7ed3dedcb8f36493d4174f03257852f8c75306d.png)

------- edit ------

Seems that manual Disable / Enable helped:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/d/bdac0d1271a439dfb39b1cd929ed32e05c20b4be.png)  
and  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/9/4973b44a6e66908ebf2b0f805ca8ede862695bc9.png)

Added PbH now to “observation list” - same has saved me already few times from panic 😬 (---- with edited version —)

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

---

<div class="post-metadata">

**Author:** ![micke\_011](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/micke_011/32/129908_2.png) [@micke\_011](https://community.homey.app/u/micke_011)\
**Post date:** [June 9, 2025, 7:43pm 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/3120 "2025-06-09T19:43:39Z")

</div>

Sorry if Imissed someone else already posting this question, or suggestion, but I’d really appreciate if the app could allow the user to configure if negative values i.e. solar panels production to grid should be dedudcted from total consumption or not. Currently I get negative totals, which might be an indication of the balancee between consumption and production but it’s not the number I’m mostly interested in why a configutable option would be ideal! Oh, and I’m not using a Homey power meter, but a HomeWizard - which I assume makes a difference to what’s possible..

Thanks, and regardless of this I’ll continue using the app as I think it’s great!

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [June 10, 2025, 7:20am 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/3121 "2025-06-10T07:20:09Z")

</div>

Do I understant it corectly that you want separate summarizers for imported and exported energy from the grid? That’s how I like it at least, and those meters are available in HomeWizard.  
The only solution I’ve found is to add a layer between HomeWizard and PBTH using the Device Capabilities app. That lets me create two virtual devices that reflect the two meters (Sum consumed and Sum returned) from HomeWizard as power sensors that the PBTH summarizers can pick up individually.  
It’s a roundabout way of doing things, I would have preferred if I could directly pick which meter the summarizer should use, but it works with the virtual devices.

---

<div class="post-metadata">

**Author:** ![micke\_011](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/micke_011/32/129908_2.png) [@micke\_011](https://community.homey.app/u/micke_011)\
**Post date:** [June 11, 2025, 9:16am 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/3122 "2025-06-11T09:16:31Z")

</div>

I honestly don’t know what I’m asking 🙂 But yeah, a separation of the two channels for import and export would probably be the ideal way - and if anyone would have use for the combination, it would most likely be possible to add them up in a flow or a script either directly or using variables. If I look at the HomeWizard app, it seem to separate them why I assume it’s supported in hardware and the P1 interface itself - but then again, I’m not a developer so this is purely from what I can see in the app.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 11, 2025, 9:34am 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/3123 "2025-06-11T09:34:31Z")

</div>

Homewizard app has a “Daily usage” capability, this subtracts the delivered energy from the consumed energy.  
However, it has no knowledge of solar production, so to calculate the actual daily energy usage of your home:

**(**  
gross generation: total generated solar daily energy, according to the inverter(s)  
_ **minus** _  
Gross feed-in: delivered (sold) daily energy to the grid, according to the grid operator’s energy meter  
**)**  
_ **plus** _  
Gross consumption: consumed (purchased) daily energy from the grid, according to the network operator’s energy meter

---

<div class="post-metadata">

**Author:** ![Henrik\_Johnsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henrik_johnsson/32/13707_2.png) [@Henrik\_Johnsson](https://community.homey.app/u/Henrik_Johnsson)\
**Post date:** [June 11, 2025, 12:20pm 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/3124 "2025-06-11T12:20:55Z")

</div>

Yep, figuring out the actual consumption of the household is a different kettle of fish. I don’t see any “Daily usage” from my Homewizard P1, but as long as you have access to the meter in the solar inverter(s) calculating the use of your home can be done using only the information from the Homewizard app, but if you want to use a PBTH summarizer for statistics I think you’ll need a virtual device for that.  
But I think having separate summarizers for import and export makes sense for a lot of users, especially in countries where net metering (salderingsregeling) is less common or non-existent.

[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=152)

[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=154)
