# How set compare temperature differencefor ventilator?

**URL:** <https://forum.ewelink.cc/t/how-set-compare-temperature-differencefor-ventilator/27426>\
**Category:** Free discussion\
**Tags:** scene\
**Created:** [January 21, 2024, 11:43am UTC](https://forum.ewelink.cc/t/how-set-compare-temperature-differencefor-ventilator/27426 "2024-01-21T11:43:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pav.janik](https://avatars.discourse-cdn.com/v4/letter/p/ad7895/32.png) [@pav.janik](https://forum.ewelink.cc/u/pav.janik)\
**Post date:** [January 21, 2024, 11:43am UTC](https://forum.ewelink.cc/t/how-set-compare-temperature-differencefor-ventilator/27426/1 "2024-01-21T11:43:19Z")

</div>

I need to set the scene so that the fan will switch on when the ceiling temperature is 6°C higher than the floor. And then to switch off if the difference drops to 5°C or less, or if it is negative. How to create this?  
Turning it on is easy, T1 ceiling, T2 floor, IF T1\>T2 by 6° THEN fan ON.  
But how to set the fan to turn off when the difference is reduced by 5°C? It looks easy, but try to set it somehow in the app, I can’t get it any way.

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![port4u](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/port4u/32/5117_2.png) [@port4u](https://forum.ewelink.cc/u/port4u)\
**Post date:** [January 22, 2024, 2:36am UTC](https://forum.ewelink.cc/t/how-set-compare-temperature-differencefor-ventilator/27426/2 "2024-01-22T02:36:38Z")

</div>

That’s an advanced automation I reckon, I would expect tools like Apple Shortcut/Node-Red/Home Assistant would do the trick
