# Humidity Target Range?

**URL:** <https://community.homey.app/t/humidity-target-range/118808>\
**Category:** Flows\
**Created:** [October 22, 2024, 7:47pm UTC](https://community.homey.app/t/humidity-target-range/118808 "2024-10-22T19:47:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoeGer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joeger/32/78986_2.png) [@JoeGer](https://community.homey.app/u/JoeGer)\
**Post date:** [October 22, 2024, 7:47pm UTC](https://community.homey.app/t/humidity-target-range/118808/1 "2024-10-22T19:47:31Z")

</div>

Hello everyone!

I would like to activate a socket when a sensor reaches a humidity of more than 55%.

I also created a corresponding flow. However, this does not trigger because the humidity is already over 55%. Is there a way to activate the flow when the value is not in a target range?

I’m looking forward to your help!

---

<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:** [October 22, 2024, 7:59pm UTC](https://community.homey.app/t/humidity-target-range/118808/2 "2024-10-22T19:59:05Z")

</div>

When…  
-sensor X humidity changed  
And…  
-logic card [humidity tag from sensor X] is greater than 55  
-socket Y is turned off  
Then…  
-turn on socket Y

This way, the flow gets triggered when the value changes from 70 to 71 for instance.

The AND part uses a logic card, here’s logic explained

> **[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:** ![JoeGer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/joeger/32/78986_2.png) [@JoeGer](https://community.homey.app/u/JoeGer)\
**Post date:** [November 2, 2024, 6:15am UTC](https://community.homey.app/t/humidity-target-range/118808/3 "2024-11-02T06:15:32Z")

</div>

Thanks a lot, mate!
