# \[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:** 20\
**Page:** 23

<div class="post-metadata">

**Author:** ![Morgan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morgan/32/15416_2.png) [@Morgan](https://community.homey.app/u/Morgan)\
**Post date:** [January 27, 2022, 4:27pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/447 "2022-01-27T16:27:05Z")

</div>

> [@Gruijter](#):
>
> Agreed. I will remove the sawtooth Money insights. But be aware that the new money Insights will only be produced AFTER the period is over (just like with the kWh insights)

That is excellent!  
Then it will be the same behavior and much easier to understand. Good work! 🙂

---

<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:** [January 27, 2022, 4:56pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/448 "2022-01-27T16:56:25Z")

</div>

And would it make sense to show the money for last hour/day/month/year in the device? It would make it easier to compare at a glance, but the device info will significantly grow so you need to scroll more. @Morgan

---

<div class="post-metadata">

**Author:** ![Morgan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/morgan/32/15416_2.png) [@Morgan](https://community.homey.app/u/Morgan)\
**Post date:** [January 27, 2022, 8:26pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/449 "2022-01-27T20:26:29Z")

</div>

I think it is good to have this hour/day/month/year in the device. No, need for previous.  
It is good to have previous hour/day/month/year in Insight.

---

<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:** [January 27, 2022, 9:03pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/450 "2022-01-27T21:03:13Z")

</div>

Too late 🤣

I already am testing it…

 ![Screenshot_20220127-220210_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/6/b6b5b1d390c247a5829845767ee1ebfb22c5a90e.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:** [January 27, 2022, 10:08pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/451 "2022-01-27T22:08:24Z")

</div>

v3.6.0 is ready for testing

Changes from 3.4.1 (current stable version):

- Added previous hour/day/month/year money values.
- Added min/max peak values.
- Added dynamic peak value reset via flow.
- Added min/max flow triggers.
- Added support for more source devices including P1 DSMRv4.
- Fixed tariff change from flow sometimes not working.
- Fixed legacy migration failure.
- Small improvements.

Changes from 3.5.1 (previous test version):

- Added previous hour/day/month/year money values.
- Removed money\_this from insights.
- Fix minMaxReset time display
- fix removeAllListeners on app unload.
- Added support for more source devices, including P1 DSMRv4.
- Ignore non-number meter values.
- Prepare lastUpdated timestamp on poll.

---

<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:** [January 29, 2022, 10:24am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/452 "2022-01-29T10:24:01Z")

</div>

And yet another new feature I am working on (besides ironing out some small bugs I discovered in 3.6.0):

[https://homey.app/nl-nl/flow/Ci9lBW/](https://homey.app/nl-nl/flow/Ci9lBW/)

Selecting the virtual meter will allow _ **any** _ app/device that has an energy(kWh)/gas(m3)/water(m3) meter to use PBTH, even when the source app is using non-standard capabilities.

 ![Screenshot_20220129-113237_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/d/3dceeec85652bbae7c650e967820c53051be072e.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:** [January 30, 2022, 10:30am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/454 "2022-01-30T10:30:17Z")

</div>

And ANOTHER feature is in the works that should enable using Power By The Hour by with _ **any** _ app/device that has a Watt meter with measure\_power capability.

So once I am finished implementing this, you can turn your Watt meter that does not have an energy total, into a kWh meter!  
@Tukun Especialy for you 😘

Reminder for myself: use the terms energy and power in a consistent way. Homey is incorrectly naming an energy meter (kWh) a power meter. But a power meter is in Watts.

---

<div class="post-metadata">

**Author:** ![SunEast](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/suneast/32/34199_2.png) [@SunEast](https://community.homey.app/u/SunEast)\
**Post date:** [January 31, 2022, 11:18am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/455 "2022-01-31T11:18:18Z")

</div>

Why this happens? How to correct this?

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a037e081fb215360924017956fad296046319ce3.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:** [January 31, 2022, 1:10pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/456 "2022-01-31T13:10:37Z")

</div>

looks like you are using a solar panel app that resets the kWh counter to 0 at midnight. Is that correct? If so, just switch on the ‘resets to 0 at midnight’ switch in the device settings.

---

<div class="post-metadata">

**Author:** ![SunEast](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/suneast/32/34199_2.png) [@SunEast](https://community.homey.app/u/SunEast)\
**Post date:** [January 31, 2022, 6:15pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/457 "2022-01-31T18:15:50Z")

</div>

Thanks for reply. No, I do not have a solar panel app. It seems that it has fixed itself, because now it shows correctly …? Strange. But something probably happened at midnight, and do not know what. «see attach photos taken now» Very good app! Liked it especially well with min / max per day consumption😃

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/5/15b6ef5e12d0fedadb87e6cc609ced3ff5dc5c3c.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/a/ca427868ae71386fde42a52ccbfe13af653d2272.jpeg)

---

<div class="post-metadata">

**Author:** ![Joenoo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joenoo/32/18671_2.png) [@Joenoo](https://community.homey.app/u/Joenoo)\
**Post date:** [January 31, 2022, 7:25pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/458 "2022-01-31T19:25:07Z")

</div>

Ready to test version 3.60 but I have one question: how do I sent power to the virtual meter? What virtual meter is that and where can I find it?

I also have one minor suggestion. Is it possible to change ‘geld’ to ‘kosten’, in Dutch? I think that might be more correct.

Further more: awesome app. Thanks!

---

<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:** [January 31, 2022, 7:32pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/459 "2022-01-31T19:32:53Z")

</div>

> [@Joenoo](#):
>
> how do I sent power to the virtual meter? What virtual meter is that and where can I find it?

You have to wait until I am finished with the new version. It is quite a complex project so please be patient 😉

> [@Joenoo](#):
>
> change ‘geld’ to ‘kosten’, in Dutch

In English I also named it ‘money’ and not ‘cost’ because when you use PBTH for your solar panels it is not costing you, but making you money 🤑

---

<div class="post-metadata">

**Author:** ![Sundlof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sundlof/32/51033_2.png) [@Sundlof](https://community.homey.app/u/Sundlof)\
**Post date:** [January 31, 2022, 9:35pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/460 "2022-01-31T21:35:55Z")

</div>

Hi, great app!

Any change to be able to add more then one device? I want to show both Total price for today and current price per kWh.

Another question that I did not find any answer to here, Why show the symbol instead of currency like SEK/kWh?

---

<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:** [January 31, 2022, 9:41pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/461 "2022-01-31T21:41:38Z")

</div>

> [@Sundlof](#):
>
> able to add more then one device

You can add as many device as you have with a compatible capability (power/water/gas)

> [@Sundlof](#):
>
> I want to show both Total price for today and current price per kWh

Euh, both are shown in the device tile. Can you post a screenshot showing what you mean?

> [@Sundlof](#):
>
> Why show the symbol instead of currency like SEK/kWh

Because not everyone in the world is using SEK 😉. And unfortunately Homey does not allow for this information to be changed, so I have to hardcode it to the [international currency symbol](https://en.wikipedia.org/wiki/Currency_sign_(typography))

---

<div class="post-metadata">

**Author:** ![Sundlof](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sundlof/32/51033_2.png) [@Sundlof](https://community.homey.app/u/Sundlof)\
**Post date:** [January 31, 2022, 10:39pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/462 "2022-01-31T22:39:50Z")

</div>

I have a Pulse P1 that measure power. I have added a PBTH-device that shows current price. I want another device that show me today’s total cost. But as I already added my Pulse so that’s not an option, I can only add it once.

For the currency. I was thinking only a simple text field that give the options to change that symbol to what I want. So you can set your own currency and unit 🙂

---

<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:** [January 31, 2022, 10:47pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/463 "2022-01-31T22:47:14Z")

</div>

> [@Sundlof](#):
>
> to change that symbol to what I want

not possible with Homey. it must be hardcoded ☹

> [@Sundlof](#):
>
> I want another device that show me today’s total cost

I still don’t understand what you mean. The PBTH device tile shows you the active TARIFF (= price) AND it shows you the MONEY THIS DAY (=total cost of the day). So what is it you are missing?

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_willem_visser/32/10747_2.png) [@Jan\_Willem\_Visser](https://community.homey.app/u/Jan_Willem_Visser)\
**Post date:** [February 2, 2022, 7:57am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/464 "2022-02-02T07:57:17Z")

</div>

Is it possible to make a trigger cart that triggers when “laag tarief” change?

---

<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:** [February 2, 2022, 8:17am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/465 "2022-02-02T08:17:16Z")

</div>

And how would PBTH know that the tariff changed?

You need to tell it yourself via a flow. E.g. based on the tariff from another app (plugwise p1, youless, beeclear, …), or based on a time schedule.

So PBTH can never have a trigger card for tariff change. It has an action card to set the tariff in PBTH. Or am I not understanding your question?

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_willem_visser/32/10747_2.png) [@Jan\_Willem\_Visser](https://community.homey.app/u/Jan_Willem_Visser)\
**Post date:** [February 2, 2022, 8:23am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/466 "2022-02-02T08:23:13Z")

</div>

Sorry, i looked to the tile of my Smile p1… My bad 🙈

---

<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:** [February 2, 2022, 8:44am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-insights-per-hour-day-month-and-year/20535/467 "2022-02-02T08:44:52Z")

</div>

🤣  
But still… If you are using my Smile P1 app (not the ‘official plugwise’ app) you have a trigger card for tariff change, and you can do exactly this:

[https://homey.app/en-us/flow/N7OldW/](https://homey.app/en-us/flow/N7OldW/)

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

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