Checking Multiple Sensors



  • Hi everyone, sorry if this is a silly question but I'm new here.
    I've been playing with MySensors and MyController and I think its a great project.

    I'm struggling with the following problem and hoping for some advice.

    I have a light triggered by tripped motion sensors (2 at the moment). What I'd like is for the light to stay on until all sensors are un-tripped. At the moment the light goes off if either sensor un-trips, regardless of the state of the other.

    Any advice would be appreciated.

    Chris



  • I achieved something similar using a pair of scripts and using AND / OR conditions on the motion sensors variables.

    In this moment I cannot retrieve the script to show you an example, let me know if you need it and I'll try to get it to you in the next days.


 

Suggested Topics

9
Online

363
Users

348
Topics

2.1k
Posts