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

<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 21, 2021, 1:32pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/85 "2021-10-21T13:32:39Z")

</div>

The midnight data (00 hour) was also missing in app version 1.5.1 Finland zone

---

<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, 2021, 1:42pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/86 "2021-10-21T13:42:29Z")

</div>

Please test v. 1.5.4

---

<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 21, 2021, 5:33pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/87 "2021-10-21T17:33:52Z")

</div>

Will do. Get back to you on tomorrow.

---

<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 21, 2021, 9:01pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/88 "2021-10-21T21:01:54Z")

</div>

It’s working. Thanks for fixing it. Great work once again. 👍

---

<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 22, 2021, 6:05am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/89 "2021-10-22T06:05:06Z")

</div>

FYI, there are som issues with the current test-version v. 1.5.4:

- The memory consumption of the app is too high. Supposed to be between 15-20 MB, but on my Homey it is between 25-50MB.
- The “High prices X hours of the day” and “Low prices X hours of the day” triggers does not seem to be working correctly.
- The “Utility price changed” trigger does not trigger. You can fix it by deleting the trigger-card and adding it again to the flow.

This must be fixed before the final 1.5.x - release of course.

---

<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, 2021, 9:27am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/90 "2021-10-23T09:27:24Z")

</div>

#### 1.5.5

- Fixed issues with ‘High prices hours of the day (tokens: heating, high price)’ and ‘Low prices hours of the day (tokens: heating, low price)’ triggers
- Fixed issue with “Utility price changed” trigger
- Reduced memory consumption

---

<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, 2021, 9:55am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/91 "2021-10-23T09:55:58Z")

</div>

#### 1.5.6

- Fixed bug in settings

---

<div class="post-metadata">

**Author:** ![John\_Stelten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_stelten/32/18095_2.png) [@John\_Stelten](https://community.homey.app/u/John_Stelten)\
**Post date:** [October 23, 2021, 11:51am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/92 "2021-10-23T11:51:52Z")

</div>

Missing NL zone 😌

---

<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, 2021, 1:01pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/93 "2021-10-23T13:01:47Z")

</div>

Have you checked the newest test-version? v. 1.5.6 ?

> **[Heating Controller](https://homey.app/en-us/app/no.almli.heatingcontroller/Heating-Controller/)**
>
> Heating schedules with utility price support

---

<div class="post-metadata">

**Author:** ![John\_Stelten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_stelten/32/18095_2.png) [@John\_Stelten](https://community.homey.app/u/John_Stelten)\
**Post date:** [October 23, 2021, 2:44pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/94 "2021-10-23T14:44:06Z")

</div>

Wow this is awesome! 😍. Now I can turn on or off devices based on the current price

---

<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 26, 2021, 2:45pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/95 "2021-10-26T14:45:23Z")

</div>

#### 1.5.7:

- Reduced memory consumption

The app uses now 1.2 MB storage, and around 13-16 MB memory. A bit more testing, and then it will be released.

---

<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 27, 2021, 6:26am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/96 "2021-10-27T06:26:47Z")

</div>

Hello @balmli

I have calculated sort of “gain” variable for the thermostat control with the use of nordpool app (could be made with this heating controller app also). The variable is calculated so that the variable value is 1, when the price is at the lowest of the day and 0 when the price is highest of the day and everything between. I have made this calculation with about 26 different flows and variables.

 ![Screenshot_2021-10-27-09-22-54-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/e/ce8d09c373e0642adebd394293430c25963b2d64.png)  
 ![Screenshot_2021-10-27-09-29-23-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/3/c3fc3ce9fccbfe2bbb8e649b7fea02addb68da13.png)  
 ![Screenshot_2021-10-27-09-37-56-1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/e/6e96446d57d6f29708ee558b7763f0a077f0df5b.png)

I use this gain variable to scale the thermostat target temperature. For example I vary my livingroom floor temperature between 16-26 degrees. The actual thermostat target value is then calculated by 16+(26-16)\*Gain=Target value. This way the heating is automatically done during the low price time and this gain value can be used in different thermostats.

My question is that could you implement this gain value calculation into the heating controller app and it could be used as a device variable? I think it would be usefull to other users also.

---

<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 27, 2021, 6:38am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/97 "2021-10-27T06:38:01Z")

</div>

Sound like a good idea.

---

<div class="post-metadata">

**Author:** ![eritho](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eritho/32/46527_2.png) [@eritho](https://community.homey.app/u/eritho)\
**Post date:** [October 28, 2021, 11:03am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/98 "2021-10-28T11:03:50Z")

</div>

Is it possible to use the price reported from Tibber when adjusting based on price high and low?

---

<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 28, 2021, 11:43am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/99 "2021-10-28T11:43:04Z")

</div>

> [@eritho](#):
>
> Is it possible to use the price reported from Tibber

No 🙂

---

<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 31, 2021, 2:53pm UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/100 "2021-10-31T14:53:06Z")

</div>

Hi @balmli

I have the app test version 1.5.9. Price area Finland and currency EUR. I have been following the price ratio and it seems to work as it should. Some difference between the value that I have calculated with flow but that’s bound to happen.

I also tested the High price 6 hours of the day ([flow 1](https://homey.app/en-us/flow/tWKPmP/)) trigger and other one with utility price change trigger and 6h high price condition [(flow 2)](https://homey.app/en-us/flow/VuSPmP/). I also made the same trigger with the CLI installed nordpool app [(flow 3)](https://homey.app/en-us/flow/Uz_PmP/).

These trigger doesn’t work or I don’t know how to use them. I have checked that all of the flows trigger every hour, but first flow trigger stays true all the time, the second one stays false all the time and the third one with nordpool app works as it should. Can you make out of this why it doesn’t work? Have I understood something wrong how to use the triggers and conditions?

I tested also the low triggers and they don’t work either.

The outcome is following:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/1/9134ad6e5a3605d8fbe9bcb7c08074aae9e2488a.png)

With price changes

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

---

<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 1, 2021, 6:20am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/101 "2021-11-01T06:20:42Z")

</div>

OK, thanks!

I will have a look at the triggers.

---

<div class="post-metadata">

**Author:** ![Janno](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janno/32/21757_2.png) [@Janno](https://community.homey.app/u/Janno)\
**Post date:** [November 1, 2021, 10:38am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/102 "2021-11-01T10:38:22Z")

</div>

I have also the same comment on the min/max of x hours triggers. They stopped working a few days back (on 28 or 29 of October). But as on these days 1…2 app releases got installed automatically , then I did not notice the exact moment as the min/max values happen ‘randomly’ (based on stock variations)…

---

<div class="post-metadata">

**Author:** ![Janno](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janno/32/21757_2.png) [@Janno](https://community.homey.app/u/Janno)\
**Post date:** [November 1, 2021, 10:51am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/103 "2021-11-01T10:51:21Z")

</div>

> [@peltsi51](#):
>
> other one with utility price change trigger and 6h high price condition [(flow 2)](https://homey.app/en-us/flow/VuSPmP/)

I have used this flow type (flow 2), but only generated “timeline” notices as the output for testing. They were working in earlier releases (and also, when the timezone correction was implemented, then seemed to take the full 24h properly into account).

---

<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 1, 2021, 11:18am UTC](https://community.homey.app/t/app-pro-heating-controller-with-utility-prices/7795/104 "2021-11-01T11:18:44Z")

</div>

I think I have found the bug, introduced in 1.5.7.

I must test a bit on my own Homey, and then release a new test-version.

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

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