FAQ: Do you know of an outdoor motion sensor?

Just to double check here, if I use an aeon dual switch:

So functionally it should be like this, correct?
Switch 1 will be flood light portion of the security light.
Switch 2 will be the motion sensor. It will show on any time it’s on (on its internal timer).

Then create rules (or Pistons in CORE) in order to make the motion sensor (switch 2) turn on/off the lights (switch 1):
Smart lighting rule A) When switch 2 turns on, turn on switch 1
Smart lighting rule B) When switch 2 turns off, turn off switch 1

Further question, how hard would it be to create a handler to use on so switch one shows as a switch, but switch 2 shows as a motion sensor? I’ve never written a handler, I couldn’t code to save my life. But is this something that could work, or is it too complex to make a switch show as a sensor?
IE:
If switch=ON, display motionstatus=ACTIVE
If switch=OFF, display motionstatus=INACTIVE

2 Likes