# Advanced flow with condition for Aeotec multisensor temperature?

**URL:** <https://community.homey.app/t/advanced-flow-with-condition-for-aeotec-multisensor-temperature/101328>\
**Category:** Questions & Help\
**Tags:** homey-pro, advancedflow\
**Created:** [January 16, 2024, 12:26pm UTC](https://community.homey.app/t/advanced-flow-with-condition-for-aeotec-multisensor-temperature/101328 "2024-01-16T12:26:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Per-Olof\_Bengtsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/per-olof_bengtsson/32/78942_2.png) [@Per-Olof\_Bengtsson](https://community.homey.app/u/Per-Olof_Bengtsson)\
**Post date:** [January 16, 2024, 12:26pm UTC](https://community.homey.app/t/advanced-flow-with-condition-for-aeotec-multisensor-temperature/101328/1 "2024-01-16T12:26:54Z")

</div>

Hi, New to Homey pro and advanced flows. I love it but come across a a situation i do not know how to address. I have Aeotec multisensors gen6 that I use for controlling heating in our bedrooms. I trigger a switch for heating on/off when Aeotec temperature pass below/above specific values. But i would also like to have senario where I simply check if temperature at the time is above/below a specific value, today there is “only” cards for motion and tamper alarm for the sensor, i would like a “temperature is above/below X”. Anyone who can point me in the right direction for how to go about with this?

(I move limit values for heating on/off up and down with an offset, for example with a bit higher temperature in the morning before we wake up. Problem is that for example if heating is on and target value for turning off is decreased so it becomes lower than current temperature, the trigger to turn off heating will not trigger and heating will stay on regardless how high temperature goes… so I want to add a check after limit values are changed that current temperature is not out of range and act if so)

 ![Skjermbilde 2024-01-16 kl. 13.11.55](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/6/a68db2c86eaa287ad037343fea5137d8cc50daae.png)

---

<div class="post-metadata">

**Author:** ![Olex](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/olex/32/79016_2.png) [@Olex](https://community.homey.app/u/Olex)\
**Post date:** [January 16, 2024, 1:09pm UTC](https://community.homey.app/t/advanced-flow-with-condition-for-aeotec-multisensor-temperature/101328/2 "2024-01-16T13:09:16Z")

</div>

![bilde](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/0/60a54d2ee0c70db9a4b618b76dc94b419b96df55.png)

Using logic as your AND condition?

---

<div class="post-metadata">

**Author:** ![Per-Olof\_Bengtsson](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/per-olof_bengtsson/32/78942_2.png) [@Per-Olof\_Bengtsson](https://community.homey.app/u/Per-Olof_Bengtsson)\
**Post date:** [January 16, 2024, 2:59pm UTC](https://community.homey.app/t/advanced-flow-with-condition-for-aeotec-multisensor-temperature/101328/3 "2024-01-16T14:59:54Z")

</div>

ahh, thanks! I looked into logic but missed that i could add sensor temperature as number there. Thanks for the quick response! 🙂 👍

---

<div class="post-metadata">

**Author:** ![Tammo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tammo/32/109072_2.png) [@Tammo](https://community.homey.app/u/Tammo)\
**Post date:** [June 22, 2024, 11:40am UTC](https://community.homey.app/t/advanced-flow-with-condition-for-aeotec-multisensor-temperature/101328/4 "2024-06-22T11:40:35Z")

</div>

Hello, I have got the same issue with my Aeotec Multisensor 7.  
When I want to add temperatuur there is the same info as above.  
@Olex I found the logic part and I created a temperature. But the following steps are not clear to me.  
I did this:

 ![Scherm­afbeelding 2024-06-22 om 13.39.46](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/d/6ddfca3def57340b7566598812a8e713a680eb16.png)

Can you (or anyone) clarify this to me?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [June 22, 2024, 9:22pm UTC](https://community.homey.app/t/advanced-flow-with-condition-for-aeotec-multisensor-temperature/101328/5 "2024-06-22T21:22:53Z")

</div>

You don’t need to create variables. They’re already present, as tags.  
To get the tag, click on the tag icon on the right of the flow card’s input field (it’s blue at the screenshot below).  
Then, a selection list appears.  
Just enter the (first part) of the sensor’s name, to have the list filtered to the sensor’s tags:

 ![bilde](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/0/60a54d2ee0c70db9a4b618b76dc94b419b96df55.png)

So, when your sensor is called _Hallway Motion_, just enter that to the search bar shown.

Examples:

[![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/2/629e36f496e5f684f673c251a89ae8dda32b87c4.jpeg "Homey: how to look up flow logics tags/variables of devices") ](https://www.youtube.com/watch?v=tlmBxg9ygZ8)

> **[Using Homey Logic in Flows](https://support.homey.app/hc/en-us/articles/4410240765586-Using-Homey-Logic-in-Flows)**
>
> You’ve probably seen Homey Logic. Once you get the hang of it, it's a great tool for any smart home. By creating your own Variables and using these in your Flows as Tags, you can often accomplish c...

---

<div class="post-metadata">

**Author:** ![Tammo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tammo/32/109072_2.png) [@Tammo](https://community.homey.app/u/Tammo)\
**Post date:** [June 24, 2024, 6:38am UTC](https://community.homey.app/t/advanced-flow-with-condition-for-aeotec-multisensor-temperature/101328/6 "2024-06-24T06:38:00Z")

</div>

Thanks @Peter_Kawa It’s clear now and it works!
