Announcement

Collapse
No announcement yet.

Multi-Sensor Functionality

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multi-Sensor Functionality

    pseudocode I'm hoping to use the multi-sensor to handle turning on a virtual switch whenever motion is detected on any of the motion sensors in one of my larger rooms, and then have it turn off that same virtual switch when there is no motion across all the motion sensors. Right now, it only turns on the virtual switch, but never turns it off on no motion, could this functionality be added as another option/checkbox on the multi-sensor like you did with the multi-switch?

    Even better would be if the multi-sensor could actually be set as a "motion sensor/switch" itself without having to create yet another virtual switch to link to it.

    #2
    It should do exactly as you say - the switch(es) should be turned on if any trigger device is active and all conditions are true, and they should be turned off at other times.

    Could you send me a screenshot of your MultiSensor configuration, and turn on debugging to get some more detailed log output when your sensors change?

    Comment


      #3
      Here's an example from my log - my entrance lights are triggered off my front door sensor (1824) and two motion sensors (912, 1104) (plus a light sensor condition), so if I walk outside the front door sensor triggers the lights on and they stay on until all three sensors are back to being off:

      5/19/2023 21:51:44 Controls Plus Debug Sensor (1824) active -> True​
      5/19/2023 21:51:44 Controls Plus Debug MultiSensor Entrance Lights (1690) state changed to on
      5/19/2023 21:51:44 Controls Plus Debug MultiSensor Entrance Lights (1690) controlling switches to ON
      5/19/2023 21:51:48 Controls Plus Debug Sensor (912) active -> True
      5/19/2023 21:51:53 Controls Plus Debug Sensor (1104) active -> True
      5/19/2023 21:54:06 Controls Plus Debug Sensor (1824) active -> False
      5/19/2023 21:54:53 Controls Plus Debug Sensor (912) active -> False
      5/19/2023 21:55:00 Controls Plus Debug Sensor (1104) active -> False
      5/19/2023 21:55:00 Controls Plus Debug MultiSensor Entrance Lights (1690) state changed to off
      5/19/2023 21:55:00 Controls Plus Debug MultiSensor Entrance Lights (1690) controlling switches to OFF​
      ​​

      Comment


        #4
        Click image for larger version

Name:	image.png
Views:	66
Size:	108.0 KB
ID:	1615569

        ​Do I have my settings setup correctly? Should I be changing the "target" values?

        Comment


          #5
          It looks like once my motion sensors trigger the multisensor to turn to on, it successfully changes the switch to on, but then it never does anything else, despite my motion sensors switch back to no motion and to motion several times after this point (I'm typing this 2 hours after that timestamp).

          Click image for larger version

Name:	image.png
Views:	69
Size:	26.4 KB
ID:	1615602

          Comment


            #6
            I think the motion sensor target values are wrong - zero isn't likely to be the "motion sensed" value.

            Do you get any hints in the Known Values dropdown - it should show you the values the sensor recognises as statuses, and you can select the right value from there - mine look like this so I've selected the trigger to be equal to 8 which is the "Motion Detected" value.
            Click image for larger version

Name:	image.png
Views:	74
Size:	42.7 KB
ID:	1615646
            and I can confirm that by looking in the motion sensor itself:
            Click image for larger version

Name:	image.png
Views:	61
Size:	54.8 KB
ID:	1615647

            Comment


              #7
              That was it, thanks! I wasn't aware I had to change that.

              Comment

              Working...
              X