# Noob question manual bypass sensor

**URL:** <https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052>\
**Category:** General\
**Created:** [10 October 2020 13:51 UTC](https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052 "2020-10-10T13:51:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucian](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@lucian](https://discourse.nodered.org/u/lucian)\
**Post date:** [10 October 2020 13:51 UTC](https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052/1 "2020-10-10T13:51:27Z")

</div>

hy guys !  
so basically i made a dehumidifier automation, everything working ok... but i want to be able to use the switch manually and bypass the sensor automation... i tried various methods non of them works... any help will be appreciated

```auto
[{"id":"71393266.2ae46c","type":"time-range-switch","z":"a18915fb.ee2fa8","name":"","lat":"","lon":"","startTime":"10:00","endTime":"21:00","startOffset":0,"endOffset":0,"x":590,"y":40,"wires":[["2cad4e5c.cbd3b2"],["898c9f42.0129d"]]}]

```

---

<div class="post-metadata">

**Author:** ![rgerrans](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@rgerrans](https://discourse.nodered.org/u/rgerrans)\
**Post date:** [12 October 2020 16:50 UTC](https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052/3 "2020-10-12T16:50:07Z")

</div>

I wasn't able to deploy your flow since I don't have the time-range-switch node. But how I approach this is with a flow or global variable that I set a status of with my bypass switch and then run a switch node to check the status of your variable prior to executing the actions on the dehumidifier.

---

<div class="post-metadata">

**Author:** ![lucian](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@lucian](https://discourse.nodered.org/u/lucian)\
**Post date:** [12 October 2020 17:17 UTC](https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052/4 "2020-10-12T17:17:28Z")

</div>

Thanks for the reply.. i figured out that if i add a range to the sensor \<\> percentage you can disable if it's below a certain range and enable if get above... so i just keep the flow as it is and works perfect... i just mess with my ideas.... you don't need to start you dehumidifier if you don't have humidity in you room right? 🤣🤣 so why do you need a manual switch? Anyway... i delete the time range (outside) conection from the switch off and that gets the job done \< 65% daytime automatically turns on and off as soon it's get 55%, outside of the time range you can manually switch on and get automatically off when below 55 that's it thanks again cheers!

---

<div class="post-metadata">

**Author:** ![rgerrans](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@rgerrans](https://discourse.nodered.org/u/rgerrans)\
**Post date:** [12 October 2020 18:29 UTC](https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052/5 "2020-10-12T18:29:44Z")

</div>

I do a similar approach with the bathroom fan in my kid's bathroom (since they never turn it on when taking a shower). I just use a Switch node to go between High and Low humidity so the logic is in NodeRed and I can easily tweak if I need to.

---

<div class="post-metadata">

**Author:** ![lucian](https://avatars.discourse-cdn.com/v4/letter/l/eb9ed0/32.png) [@lucian](https://discourse.nodered.org/u/lucian)\
**Post date:** [12 October 2020 18:45 UTC](https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052/6 "2020-10-12T18:45:40Z")

</div>

I use an esp 8266 / dht22 / tasmota to measure the temp and humidity and a smart plug to power on the dehumidifier... how do you control your fan? Sonoff?

---

<div class="post-metadata">

**Author:** ![rgerrans](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@rgerrans](https://discourse.nodered.org/u/rgerrans)\
**Post date:** [13 October 2020 02:41 UTC](https://discourse.nodered.org/t/noob-question-manual-bypass-sensor/34052/7 "2020-10-13T02:41:22Z")

</div>

ZWave Switch and multisensor
