# \[APP\]\[Pro\] Heating Controller with utility prices

**URL:** <https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795>\
**Category:** Apps\
**Tags:** app\
**Created:** [January 23, 2019, 5:53pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795 "2019-01-23T17:53:18Z")\
**Posts on this page:** 20\
**Page:** 11

<div class="post-metadata">

**Author:** ![peltsi51](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peltsi51/32/12564_2.png) [@peltsi51](https://community.homey.app/u/peltsi51)\
**Post date:** [October 11, 2022, 3:03pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/208 "2022-10-11T15:03:46Z")

</div>

One feature request.

Could it be possible to add tags of all of the current days spot prices? I mean that one could have “Price0h”, “Price1h”, “Price2h” … “Price23h”

My usecase: I would like to find out that what are the spot prices for example between 10.00-17.00. I would check that if the prices during the these hours are all so high that it is more profitable to send the solar panel energy to the grid, I would heat up the water and house during the low price hours, and not with the solar energy produced. And other way around.

Would it be possible?

---

<div class="post-metadata">

**Author:** ![Robert\_Schmidt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robert_schmidt/32/53755_2.png) [@Robert\_Schmidt](https://community.homey.app/u/Robert_Schmidt)\
**Post date:** [October 11, 2022, 4:37pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/209 "2022-10-11T16:37:16Z")

</div>

> [@balmli](#):
>
> Yes, and that’s the “Comfort more is enabled” and “ECO mode is enabled” triggers.

Ok, I see your point. Let’s meet halfway, and say that I’ll need 4 triggers - comfort and Eco enabled AND disabled. No reason to complain, I guess😋

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [October 13, 2022, 5:07am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/210 "2022-10-13T05:07:50Z")

</div>

> [@peltsi51](#):
>
> Could it be possible to add tags of all of the current days spot prices? I mean that one could have “Price0h”, “Price1h”, “Price2h” … “Price23h”

Yes, I will add a json output from the price changed trigger, and also add an action with output. So you can calculate and extract any price you want

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [October 13, 2022, 5:11am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/211 "2022-10-13T05:11:52Z")

</div>

> [@Robert\_Schmidt](#):
>
> Ok, I see your point. Let’s meet halfway, and say that I’ll need 4 triggers - comfort and Eco enabled AND disabled. No reason to complain, I guess😋

Well, it’s either ECO or Comfort… So when ECO triggers, it’s not Comfort, and vice versa.

Also the “price changed” trigger has a “Heating” - tag. True = Comfort, False = ECO.

---

<div class="post-metadata">

**Author:** ![peltsi51](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peltsi51/32/12564_2.png) [@peltsi51](https://community.homey.app/u/peltsi51)\
**Post date:** [October 13, 2022, 1:29pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/212 "2022-10-13T13:29:11Z")

</div>

Great, thanks!

---

<div class="post-metadata">

**Author:** ![Quenderin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/quenderin/32/57449_2.png) [@Quenderin](https://community.homey.app/u/Quenderin)\
**Post date:** [October 13, 2022, 1:34pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/213 "2022-10-13T13:34:21Z")

</div>

Cool app! Especially love the price ratio!  
Very useful!

I’m curious, prices are announced at ~13 / 1 PM every day, would it be possible to have another ratio where you do the same but with prices from 13 and until midnight next day (or at least somehow make a ratio where tomorrow’s prices is included)?

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [October 18, 2022, 5:14am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/214 "2022-10-18T05:14:48Z")

</div>

> [@Quenderin](#):
>
> I’m curious, prices are announced at ~13 / 1 PM every day, would it be possible to have another ratio where you do the same but with prices from 13 and until midnight next day (or at least somehow make a ratio where tomorrow’s prices is included)?

Yeah, I guess it is possible. But, do you think a lot of user want this ?

---

<div class="post-metadata">

**Author:** ![Tord\_Grahn](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tord_grahn/32/36562_2.png) [@Tord\_Grahn](https://community.homey.app/u/Tord_Grahn)\
**Post date:** [October 20, 2022, 3:52am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/215 "2022-10-20T03:52:21Z")

</div>

[https://homey.app/f/LHSwPf](https://homey.app/f/LHSwPf)

The cheapest hour during the night wont work.  
During the day it is no problem…  
Maybe a bug?

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [October 21, 2022, 7:46am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/216 "2022-10-21T07:46:50Z")

</div>

What price area and what day did you test this ?

---

<div class="post-metadata">

**Author:** ![Hefram](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hefram/32/61953_2.png) [@Hefram](https://community.homey.app/u/Hefram)\
**Post date:** [October 23, 2022, 3:31pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/217 "2022-10-23T15:31:18Z")

</div>

Got a issue with my flow not always running 3 times between a time period… Sometimes it does 2 sometime it does 4… Mostly it’s right with 3 but not always… Is the issue it’s cause the time period is over 00:00? And how can this be adjusted/fixed?

 ![FB_IMG_1666538938408](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/7/f7e4c16f90dc68209d84714fbf1d43490d1cf317.jpeg)  
 ![FB_IMG_1666539109145](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/6/666b7041119ac11ed1d63f06f1ef5a2dded8e272.jpeg)

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [October 23, 2022, 4:24pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/218 "2022-10-23T16:24:05Z")

</div>

Use the Heating controller - price changed trigger

---

<div class="post-metadata">

**Author:** ![Hefram](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hefram/32/61953_2.png) [@Hefram](https://community.homey.app/u/Hefram)\
**Post date:** [October 23, 2022, 4:56pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/219 "2022-10-23T16:56:50Z")

</div>

It does…

 ![Screenshot_20221023-185611](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/a/8af2722b68184794cfb6a1f8152608b1f95920b2.jpeg)

---

<div class="post-metadata">

**Author:** ![Hefram](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hefram/32/61953_2.png) [@Hefram](https://community.homey.app/u/Hefram)\
**Post date:** [October 29, 2022, 5:12pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/221 "2022-10-29T17:12:50Z")

</div>

Any clue on how to fix the count of hours when it’s over midnight?

---

<div class="post-metadata">

**Author:** ![esan](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/esan/32/56495_2.png) [@esan](https://community.homey.app/u/esan)\
**Post date:** [October 30, 2022, 6:52pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/222 "2022-10-30T18:52:33Z")

</div>

Very useful app!

During the transition from daylight saving time on October 30 (03:00) the flow card “Current price is higher than prices next NN hours” seems to have failed.  
Not sure exactly what failed in the flow card, but it occurred between 02:00 and 03:00. Maybe a after the clock was moved back(?).

---

<div class="post-metadata">

**Author:** ![kristioi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kristioi/32/64022_2.png) [@kristioi](https://community.homey.app/u/kristioi)\
**Post date:** [November 1, 2022, 1:09pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/223 "2022-11-01T13:09:46Z")

</div>

Hi.

Thanks for a great app!

I’m having an issue with the “Current price is among / is not among the X hours of lowest between START and END” condition. I have a variable for X that sometimes is 0, but I still get a TRUE result from the condition when it is the cheapest hour between START and END. I would expect this to always return false if X=0.

Am I using this in the wrong way or is this a bug?

---

<div class="post-metadata">

**Author:** ![tobztobz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tobztobz/32/64418_2.png) [@tobztobz](https://community.homey.app/u/tobztobz)\
**Post date:** [November 6, 2022, 9:00pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/224 "2022-11-06T21:00:16Z")

</div>

Hi,

I’ve installed the app on my Homey Pro, and I find it under my apps. When I create a new flow I however cannot find it under “When” (along with the other apps I have). It’s not in the list. I tried removing the app and reinstalling it without any change of result.

I just sent you a diagnostic report if that helps (ends with b1b3de6e7aaf)

Best regards,  
Tobias.

---

<div class="post-metadata">

**Author:** ![peltsi51](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peltsi51/32/12564_2.png) [@peltsi51](https://community.homey.app/u/peltsi51)\
**Post date:** [November 6, 2022, 9:53pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/225 "2022-11-06T21:53:40Z")

</div>

Did you add the heating controller device? Without that flow cards don’t appear.

---

<div class="post-metadata">

**Author:** ![tobztobz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tobztobz/32/64418_2.png) [@tobztobz](https://community.homey.app/u/tobztobz)\
**Post date:** [November 7, 2022, 6:51am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/226 "2022-11-07T06:51:21Z")

</div>

Hi!

Doh! That’s it! Thanks for the quick reply, and sorry about the noise! 🙂

Best regards,  
Tobias.

---

<div class="post-metadata">

**Author:** ![Espen\_Fevang](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/espen_fevang/32/17293_2.png) [@Espen\_Fevang](https://community.homey.app/u/Espen_Fevang)\
**Post date:** [November 7, 2022, 8:00pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/227 "2022-11-07T20:00:54Z")

</div>

Great app Bjørnar! Is it possible to add funconality:

1. Using tags (dynamic) to set the start and end, in the “Current price is among low hours between start hour and end hour”.
2. Add “Current price is among the X lowest hours in the next X horus”. Current price is among the 2 lowest hours in the next 9 hours.
3. Add “Current price is among the X lowest hours before X” Current price is among the 3 lowest hours before 06:00.

---

<div class="post-metadata">

**Author:** ![balmli](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/balmli/32/1308_2.png) [@balmli](https://community.homey.app/u/balmli)\
**Post date:** [November 8, 2022, 5:56am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/228 "2022-11-08T05:56:47Z")

</div>

Thanks! I’m busy upgrading some of my apps to SDK3, so they are ready for the Homey Pro early 2023 coming soon…

But then I will have a look at this.

[Previous page](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795.md?page=10)

[Next page](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795.md?page=12)
