Toilet (WC) motion detector and push button control lighting automation

Toilet (WC) motion detector and push button control lighting automation. You choose what you want to use.

You need IR MOTION sensor (inside WC), BUTTON (outside WC) and of course LIGHT inside WC

  • make five simulated switc (via webcore) and name it WC_1, WC_2, WC_3, WC_4 and WC_5
  • make automation and name it ”WC delay relay”: IF IR MOTION DETECTED MOVEMENT THEN WC_4 IN USE and go off after 10 min
  • make automation and name it ”WC light on”: IF LIGHT IS NOT IN USE THEN WC_2 NOT IN USE, WC_3 NOT IN USE, WC_4 NOT IN USE, WC_5 IN USE
  • make automation and name it ”WC light off”: IF LIGHT IS IN USE THEN WC_5 NOT IN USE
  • make automation and name it ”WC button light off”: IF WC_2 IS IN USE, WC_3 NOT IN USE, IR MOTION NO MOTION DETECTED THEN LIGHT NOT IN USE
  • make automation and name it ”WC button pressed_1”: IF WC_5 NOT IN USE, BUTTON PRESSED THEN LIGHT IS NOT IN USE, WC_1 IN USE
  • make automation and name it ”WC button pressed_2”: IF WC_5 IN USE, BUTTON PRESSED THEN LIGHT IS IN USE, WC_2 IN USE AFTER 10 second
  • make automation and name it ”WC IR LIGHT ON”: IF WC_1 NOT IN USE, IR MOTION DETECTED MOTION THEN LIGHT IS IN USE, WC_3 IN USE
  • make automation and name it ”WC IR LIGHT OFF”: IF IR MOTION NO MOVEMENT DETECTED, WC_4 NOT IN USE THEN LIGHT NOT IN USE
  • make automation and name it ”WC IR NOT IN USE”: IF IR MOTION NO MOVEMENT DETECTED THEN WC_1 NOT IN USE

Point 2) LIGHT go off after 10 min last IR motion movement detected

Point 7) IF THE SWITCH IS PRESSED AND DOESN’T GO TO THE WC, LIGHT GO OFF AFTER 10 SECOND

YOU CAN ALSO TURN OFF AND TURN ON THE LIGHT VIA APPLICATIONS PRESSING LIGHT ICON OR USE “LEAVE HOME” _ “ARRIVE HOME”.