Trouble monitoring combined switch/motion detector


#1

1) Give a description of the problem
Can’t get my piston to monitor all the elements of my device variable. Motion Sensor 1 is a switch/motion sensor combined unit. For whatever reason, I can’t get the piston to monitor that device. So later in the piston when I tell it to watch the switches of the devices, it’s only watching switch 1 and 5.
2) What is the expected behavior?
I expect it to monitor the switch of the combined motion sensor/switch.

3) What is happening/not happening?
The piston only monitors the motion sensor of the combined switch

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)
|+1ms|╔Starting piston… (v0.3.107.20180806)|
|—|---|
|+234ms|║╔Subscribing to devices…|
|+247ms|║║Subscribing to Basement Play Area Light.motion…|
|+305ms|║║Subscribing to Basement Landing Light…|
|+306ms|║║Subscribing to Basement TV Area Light…|
|+307ms|║╚Finished subscribing (82ms)|
|+346ms|║Comparison (enum) inactive stays (string) inactive = true (1ms)|
|+356ms|║Comparison (boolean) true is (boolean) true = true (2ms)|
|+377ms|║Comparison (enum) on is (string) on = true (2ms)|
|+384ms|╚Piston successfully started (383ms)|


#2

If you select only your motion sensor, what properties are available in the drop-down? I’d expect to see Contact, not Switch. If that’s true, then webCoRE won’t see any changes in Switch for the motion sensor, and won’t trigger any activities.

In that case, a simple
‘IF any switch 1 or 5 switches are on
OR
If motion sensor contact is closed’
THEN
whatever actions you want (that seem to be empty at the moment)