# \[APP\]\[Pro\] Power by the Hour \[Feature Requests\]

**URL:** <https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740>\
**Category:** Ideas & Suggestions\
**Tags:** app, homey-pro\
**Created:** [October 2, 2022, 9:14am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740 "2022-10-02T09:14:03Z")\
**Posts on this page:** 20\
**Page:** 6

<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 20, 2023, 2:22pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/110 "2023-01-20T14:22:46Z")

</div>

> [@Guzzaaxxx](#):
>
> NBP (UK) for Gas prices

> [@Guzzaaxxx](#):
>
> MIBGAS (ES) for Gas prices

do you have links where the source data can be found? And are you sure the MIBGAS Gas prices are not available via EEX? See source data here: [Spot](https://www.eex.com/en/market-data/natural-gas/spot)

> [@Guzzaaxxx](#):
>
> THE (D) for Gas prices

I already implemented THE from EEX exchange. See source data here: [Spot](https://www.eex.com/en/market-data/natural-gas/spot)

> [@Guzzaaxxx](#):
>
> Electricty spot prices for UK

assuming GB has different pricing from IE, please provide links where the source data can be found.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [January 20, 2023, 4:51pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/111 "2023-01-20T16:51:32Z")

</div>

Yesterday I switched to dynamic prices (from budget energie (the bastards 😡) to Zonneplan), so I’m looking at the functionality of the DAP devices and how this can help me make best decisions on when to use appliances in the house that use a “lot” of power.

Most of the capabilities to the DAP devices are restricted to the next 8 hours (as @TKroon already mentioned above). And all trigger cards (with LOT’S of possibilities) can only be used when the moment is there that a price meets the desired criteria.

In my case, if have some household appliances that cannot be switched “smart” at that moment, but can be powered on with build in timer (washing machine, dryer, dishwasher). So I would like to now, in advance, at what time to program the timer.

So I’m thinking of the following use case: When I wake up, the homey gives me a notification in which I can read at what moments of the \<next x hours/day till midnight\> the prices are low (in block of hours), so I can plan the day and decide when to do the washing or program the timers.

So this needs functionality/information of the trigger cards, but not triggerd at the moment the price is low, but in advance… 🤔

Maybe I missed something, maybe this has overlap with @TKroon his request and maybe this is a new feature request 🙂

---

<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 20, 2023, 6:18pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/112 "2023-01-20T18:18:25Z")

</div>

> [@Torch1969](#):
>
> at what moments of the \<next x hours/day till midnight\> the prices are low

You already can see the lowest hour of today and tomorrow in the device tile. Besided that, what I do myself, is send all prices of today and tomorrow to my own telegram as soon as they are fetched. I created a trigger flow for that, and the 24 prices are attached as json tag.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [January 20, 2023, 6:25pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/113 "2023-01-20T18:25:16Z")

</div>

> [@Gruijter](#):
>
> You already can see the lowest hour of today and tomorrow in the device tile.

Yes that’s correct, but what’s more interesting for appliances that run for a couple of hours, is the range of hours around that lowest price point (when does it start and end). And maybe there are more periods with low prices. So maybe what I’m looking for is more like the periods (hours?) of the day that prices are below the day average?

> [@Gruijter](#):
>
> what I do myself, is send all prices of today and tomorrow to my own telegram as soon as they are fetched. I created a trigger flow for that, and the 24 prices are attached as json tag.

Yes that’s a good suggestion to try.

---

<div class="post-metadata">

**Author:** ![Torch1969](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torch1969/32/33305_2.png) [@Torch1969](https://community.homey.app/u/Torch1969)\
**Post date:** [January 21, 2023, 8:03am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/114 "2023-01-21T08:03:17Z")

</div>

> [@Gruijter](#):
>
> what I do myself, is send all prices of today and tomorrow to my own telegram as soon as they are fetched. I created a trigger flow for that, and the 24 prices are attached as json tag.

Is this json only available in this trigger card? This 24-hour information is useful for some of my wishes. Can it be retrieved from the device at another moment in another way (for instance in homeyscript)? Maybe you can create an “and” card variant of this trigger card so this json can be used in other flows triggered by other event’s? And as nice to have generate a json with these hour+price values for \<0-24\> hours from now if price is \<higher/lower\> than \<given price/tag\>. 😇

Workaround for me could be to store this json in a logic variable and use it from there.

---

<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, 2023, 9:21am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/115 "2023-01-31T09:21:43Z")

</div>

v5.4.0 adds the possibility to enter multiple fixed price markups to your Day Ahead Pricing device (DAP) based on Time of Day and on weekends. This was requested by @spndk for use in Denmark. [Power by the Hour App for Homey | Homey](https://homey.app/a/com.gruijter.powerhour/test)

Fill in `hour1:markup1;hour2;markup2 etc.` E.g. if starting at 6am the markup is 0.3, and starting at 10pm the markup is 0.1 fill in the following: `6:0.3;22:0.1`

---

<div class="post-metadata">

**Author:** ![erlend\_oyen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erlend_oyen/32/18133_2.png) [@erlend\_oyen](https://community.homey.app/u/erlend_oyen)\
**Post date:** [June 11, 2023, 8:30am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/116 "2023-06-11T08:30:16Z")

</div>

Hi

please add the option to change source device for a power by the hour device,

so that for example you need to remove and add the source device you keep all the history without having to manually input that data to the new power by the hour device

---

<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:** [June 14, 2023, 9:26am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/117 "2023-06-14T09:26:22Z")

</div>

Hi @TKroon In v5.6.4 I added a new condition card where you can select the cheapest hours from all known future hours. Please test and let me know if it works ok for you: [Power by the Hour App for Homey | Homey](https://homey.app/a/com.gruijter.powerhour/test)

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 16, 2023, 5:57pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/118 "2023-06-16T17:57:51Z")

</div>

Thank you for your effort! I will test it and let you know.

However, it doesn’t match my usecase exactly at the moment. How I like to use it:

When I plug my car in at home, Homey fetches the battery level. Homey also monitors our calendars, and knows (based on the location of the events) when the car is needed again. So I got a couple of variables:

State of charge  
Hours till needed  
Remaining charging time

Ideally, I only charge at the (rounded up) “remaining charging time”-hours, within the “hours till needed”-hours.

Example: I need the car within 21 hours, and the car needs to charge for 4 hours. I would like to charge at the cheapest hours. Of course, I know the prices of the next day become available in the afternoon. But then I expect PbtH to only use the available hours. So if I select in the next 21 hours, and only 10 are available, it only uses those 10 hours until the prices of the next day are published.

At the moment you have a flow card that looks like it, but it has a required period with a maximum of 12 hours.  
AND-card: the price is one of the lowest in the hours before hour  
(translated from Dutch. Original: De prijs is een van de laagste in de uren voor uur)

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 19, 2023, 12:05pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/119 "2023-06-19T12:05:29Z")

</div>

![IMG_5775](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e1c554fa49b8903a8939177f8cc9dc1dac29e144.jpeg)  
 ![IMG_5776](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/a/faa326e379c5f0002ca338f55acfc6054ff0deba.jpeg)  
Ik heb vandaag vier keer de melding gehad dat het een van de 2 laagste uren van de dag was. Als ik de grafiek van PbtH bekijk, komt dat in ieder geval overeen. Maar het andere screenshot is van Enever, waarbij toch duidelijk is dat er verschillende tarieven zijn.

Rondt PbtH toevallig af? En als er twee waarden 10, en 2 waarden 11 zijn, ziet dan de 2x 10 als laagste, of 10 en 11? In het laatste geval zijn er dan vier laagste waarden. Geen ramp, maar goed om te weten.

---

<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:** [June 19, 2023, 1:38pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/120 "2023-06-19T13:38:26Z")

</div>

> [@TKroon](#):
>
> vier keer de melding gehad dat het een van de 2 laagste uren van de dag was

Welke uren waren dat?

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 19, 2023, 2:44pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/121 "2023-06-19T14:44:11Z")

</div>

De vier groene balkjes uit het screenshot hierboven.

2 tot 3 uur  
3 tot 4 uur  
13 tot 14 uur  
14 tot 15 uur

Morgen zie ik weer 4 groene balkjes, dus ik houd het in de gaten. Naast een pushmelding, noteert Homey het nu ook in een log, zodat ik het terug kan zien.

---

<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:** [June 19, 2023, 3:11pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/122 "2023-06-19T15:11:47Z")

</div>

> [@TKroon](#):
>
> Morgen zie ik weer 4 groene balkjes,

Je zult iedere dag 4 groene balkjes zien, want zo zijn de groene balkjes ingesteld.

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [June 22, 2023, 12:35pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/123 "2023-06-22T12:35:25Z")

</div>

Would it be possible to aggregate several PBTH devises in one ‘mother’ devise?

Use case:  
I have a PBTH setup for Gas, Electricity and Water. I created a VD to show the daily values ‘at a glance’. I could create extra VD’s to show 'current month / this year / last year" as well.

It would be cool to have a ‘mother’ PBTH devise that shows all utility cost (sum from the Gas / Electricity / Water PBTH’s)! That way a yearly budget in € could also be entered.

---

<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:** [June 22, 2023, 1:37pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/124 "2023-06-22T13:37:38Z")

</div>

I feel that drifts too far from what I want to do with PBTH. But you could use the GROUP app or the Advanced Capabilities app to create a combined VD.

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [June 22, 2023, 2:19pm UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/125 "2023-06-22T14:19:50Z")

</div>

I understand you!

Thanks for the reply and the great App!

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 28, 2023, 4:13am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/126 "2023-06-28T04:13:04Z")

</div>

![IMG_5977](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/6/a6ac51d2a8b183d63d91b7dd6ddbfca57c213e2d.jpeg)  
 ![IMG_5976](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/e/7e36d12c902c93afee4a611b4eef6dd4632da260.jpeg)

Goedemorgen! Vandaag kreeg ik weer vier meldingen. De prijzen liggen heel dicht bij elkaar, en het lijkt erop dat je ze afrondt. Dan is het logisch dat hij meer dan twee uren als laagste twee uren ziet.

De flow kaart werkt verder prima, en blijkt betrouwbaar de afgelopen tijd. Dank je wel!

---

<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:** [June 28, 2023, 5:31am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/127 "2023-06-28T05:31:37Z")

</div>

The flowcard is doing exactly as expected. It is not rounding off. You are forgetting that ‘all future known hours’ have one less hour every new hour.  
At 2 am 0.2718 was indeed one of the 2 lowest coming hours. And at 3am, 4am, 5am the price was also one of 2 lowest hours. 🤗

---

<div class="post-metadata">

**Author:** ![TKroon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tkroon/32/9504_2.png) [@TKroon](https://community.homey.app/u/TKroon)\
**Post date:** [June 28, 2023, 5:43am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/128 "2023-06-28T05:43:38Z")

</div>

Haha I’m sorry, you’re right of course! 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:** [June 30, 2023, 7:37am UTC](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740/129 "2023-06-30T07:37:55Z")

</div>

Requested by @LecramR and @Daniel_S : add Victron as battery device.

Source code Victron app: [GitHub - ricott/homey-com.victronenergy](https://github.com/ricott/homey-com.victronenergy)

@LecramR @Daniel_S I need to know from you the capability names. Please go to [Homey Developer Tools](https://tools.developer.homey.app/tools/devices)  
And select your battery device. Create a screen shot of the capabilities, similar to this one of Sessy:

 ![2023-06-30](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/9/c9b8465c46da7405002d5b6bea2f2cc949c36ebe.png)

Please tell me which one represents battery charge (0-100%), and which one is the power flowing in/out of the battery. Also I need to know if charging is a positive or negative number.

[Previous page](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740.md?page=5)

[Next page](https://community.homey.app/t/app-pro-power-by-the-hour-feature-requests/69740.md?page=7)
