Scenes: The same device in IF section in Detach Relay mode

Hello,

It would be nice to add the same device in IF section if it is in Detach Relay mode and possibility to check if scene is enabled/disabled. Example: I have M5 switch and motion sensor in my toilet. Motion sensor turns the light on by setting ON state on M5 switch and sets it OFF if no movement detected for 2 min. I would like to add “manual override” - if the M5 switch is clicked and light is ON/OFF and motion sensor scene is activater it will stay ON/turn ON but motion sensor scene is deactivated, when it is clicked, the light is ON and motion sensor scene is deactivated, it will turn the light OFF and reactivate motion sensor scene.

Hi,

I am unable fully understand your use case and I have no opportunity to have M5 switch yet, but I am doing a lot of experiments related to motion and presence sensor in the toilet / bathroom.

Hopefully below scenes set up can help you.


Location: toilet
Smart devices:

  • 1 motion sensor (MS)
  • 1 M5 Switch 1 gang (M5)
  • Smart Lamp in the detach relay mode
  • Ewelink Cube OS / iHost / others app for setting up scenes.

Assumptions:

  • when MS detect motion: always turn on the lamp
  • when M5 switch on manually: not turn off the lamp until M5 switch off manually

Smart Scenes (SS) setup
Scene 1: SS1
If: MS Motion Detected
Then: M5 Switch On

Scene 2: SS2
If: MS Motion No Motion Detected for Duration 2 Minutes
Then: M5 Switch Off

Note: Scene 1 - 2 handle connection between MS and M5.

Scene 3: SS3
If: M5 Switch On
Then: Smart Scenes > Enable / Disable Smart Scenes > SS2 > Disable

Scene 4: SS4
If: M5 Switch Off
Then: Smart Scenes > Enable / Disable Smart Scenes > SS2 > Enable

Note: Scene 3 - 4 are for M5 switch on/off manually

Screenshot on Enable / Disable Smart Scenes on Cube OS: