# Heatit Z-TRM6 Flows

**URL:** <https://community.homey.app/t/heatit-z-trm6-flows/105689>\
**Category:** Flows\
**Tags:** z-wave, homey-pro\
**Created:** [March 6, 2024, 7:05pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689 "2024-03-06T19:05:45Z")\
**Posts on this page:** 17\
**Page:** 2

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 2, 2025, 4:42pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/21 "2025-01-02T16:42:51Z")

</div>

It will be easier if you show your flow

---

<div class="post-metadata">

**Author:** ![K\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/k_s/32/11635_2.png) [@K\_S](https://community.homey.app/u/K_S)\
**Post date:** [January 2, 2025, 5:17pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/22 "2025-01-02T17:17:31Z")

</div>

> [@Rrrr](#):
>
> _Can you say why it won’t work?_

I have no idea why it doesn’t work, only that the heating is never triggered despite the trigger (temp below 25 deg) and the conditions being met.

It

> [@](#):
>
> …_When Mode is on (what type of device is this? is it a trigger or a condition?)._

This is a virtual device: on or off to tell homey that the room will be occupied.

The logic should be:

If…

1. the virtual device is “on”
2. and the time is either 7-9am or 6-8pm
3. and the temp is below 25 deg C  
…then turn the heating on  
…otherwise turn / keep the heating off

Thanks for posting an example. I don’t understand the ‘Any’ part or why the ‘logic’ card is there?

---

<div class="post-metadata">

**Author:** ![AberdeenAl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/aberdeenal/32/94481_2.png) [@AberdeenAl](https://community.homey.app/u/AberdeenAl)\
**Post date:** [January 2, 2025, 6:13pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/23 "2025-01-02T18:13:04Z")

</div>

The mode needs to be “HEAT” rather than “ON”.

I went with a really simple flow, well WEEKDAY ON AM, WEEKDAY OFF AM, PM versions and a WEEKEND version to.

---

<div class="post-metadata">

**Author:** ![K\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/k_s/32/11635_2.png) [@K\_S](https://community.homey.app/u/K_S)\
**Post date:** [January 2, 2025, 6:26pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/24 "2025-01-02T18:26:01Z")

</div>

> [@AberdeenAl](#):
>
> The mode needs to be “HEAT” rather than “ON”.

I don’t think so. That ‘Mode’ is not for a thermostat/heating, its for the Virtual Device that indicates whether or not the room will be considered occupied.

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 2, 2025, 6:29pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/25 "2025-01-02T18:29:05Z")

</div>

> [@K\_S](#):
>
> trigger (temp below 25 deg)

This trigger only fires once the temperature goes over the limit. If the temperature stays below or stays above, it won’t trigger. Then the flow will never run.

That’s why you need an extra condition in the middle that verifies the temperature when other triggers (time, presence) fire and the way to do it is usually with the card I used.

---

<div class="post-metadata">

**Author:** ![K\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/k_s/32/11635_2.png) [@K\_S](https://community.homey.app/u/K_S)\
**Post date:** [January 2, 2025, 6:33pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/26 "2025-01-02T18:33:54Z")

</div>

> [@Rrrr](#):
>
> the way to do it is usually with the card I used.

Are you referring to the one marked Logic, not the ‘Any’ part?

Sorry, but I don’t get it. Would you mind explaining how it works, if you have time?

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 2, 2025, 6:35pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/27 "2025-01-02T18:35:46Z")

</div>

You can create a variable, but my preferred way is using in the THEN part a Better Logic Library app card "Execute as Tag"that allows BLL formulas:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/9/09cfe9313b5b1c68dcd4f73ed57b77751529b063.png)

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 2, 2025, 6:37pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/28 "2025-01-02T18:37:34Z")

</div>

Yes, Logic cards are a great default when your (Heating) app does not have them:

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

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 2, 2025, 6:46pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/29 "2025-01-02T18:46:04Z")

</div>

Here is an example without time triggers. You can see my other example in this thread for that.

The Logic card adds a simple way to look at the price of the current hour. I use a PBTH app with a DAP (exists for most countries in Europe) that gives a spot price every hour and hours to come. It automatically lets you add transportation costs, weekend, night and VAT to build a full price.

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

---

<div class="post-metadata">

**Author:** ![Sebastiaan\_Viezee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebastiaan_viezee/32/79673_2.png) [@Sebastiaan\_Viezee](https://community.homey.app/u/Sebastiaan_Viezee)\
**Post date:** [January 2, 2025, 6:55pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/30 "2025-01-02T18:55:32Z")

</div>

I installed the Better Logic Library app, but when, in a flow, I try to select a variable, it doesn’t find any variable. It gives an empty page.

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

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 2, 2025, 9:02pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/31 "2025-01-02T21:02:39Z")

</div>

Find the right card Execute as Tag  
Double check in advanced flows…

---

<div class="post-metadata">

**Author:** ![Sebastiaan\_Viezee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebastiaan_viezee/32/79673_2.png) [@Sebastiaan\_Viezee](https://community.homey.app/u/Sebastiaan_Viezee)\
**Post date:** [January 3, 2025, 3:02pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/32 "2025-01-03T15:02:17Z")

</div>

I think I found the right one. But I can’t find the new tag to set in the next card.

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

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 3, 2025, 3:23pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/33 "2025-01-03T15:23:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sebastiaan\_Viezee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebastiaan_viezee/32/79673_2.png) [@Sebastiaan\_Viezee](https://community.homey.app/u/Sebastiaan_Viezee)\
**Post date:** [January 4, 2025, 1:21pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/34 "2025-01-04T13:21:32Z")

</div>

I don’t understand. I just got the same #Ingestelde temperatuur (set temperature).

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

---

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 4, 2025, 5:07pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/35 "2025-01-04T17:07:53Z")

</div>

I’m OOH can’t check. Is the flow enabled? Which of the two BLL cards did you choose?

---

<div class="post-metadata">

**Author:** ![Sebastiaan\_Viezee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sebastiaan_viezee/32/79673_2.png) [@Sebastiaan\_Viezee](https://community.homey.app/u/Sebastiaan_Viezee)\
**Post date:** [January 5, 2025, 1:00pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/36 "2025-01-05T13:00:27Z")

</div>

It works. I used the wrong execute card. 2nd instead of 1st, with the 1st it works.

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

---

<div class="post-metadata">

**Author:** ![K\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/k_s/32/11635_2.png) [@K\_S](https://community.homey.app/u/K_S)\
**Post date:** [January 24, 2025, 4:29pm UTC](https://community.homey.app/t/heatit-z-trm6-flows/105689/37 "2025-01-24T16:29:23Z")

</div>

This seems normal (non-advanced) flow pairing works:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/2/c2c247799de4a6393161b67101ca135053f39ec2.png) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/f/3f143617e4dd24e60cda315f7f1cf99ee652421e.png)  
…to set the temperature according to a schedule as suggested above that can be changed on the go without having to edit a flow on your PC.

So I was hoping to re-create it using and advanced flow and add responses to evening as well as morning alarms in just one flow. Does it need to be any more complicated than this to work?:

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

[Previous page](https://community.homey.app/t/heatit-z-trm6-flows/105689.md?page=1)
