Hi @bdv ,
In my setup I don’t use any rule as the lights I’m switching are also zwave controlled lights. Hence I added the lights that need to be swtiched to the ‘device status’ group.
In your case you want to switch a non-zwave device, so you indeed need a rule for that.
On the sensor you would need to set parameter 6: (motion alarm cancellation) to whatever time you want your light to be on. (e.g.60 for 1 minute). Also you would need to set option 8: pir sensor mode to a for you appropriate setting. I have it set to 'pir sensor active during night only, in that case also you need to give the parameter 9 night/Day. i have that set to 200.
In your case the rule should be I think
Switch Garage_Movement “Movement: [%s]” (SENSORS) { zwave=“3:0:command=sensor_binary” }
rule "MotionTest"
when
Item Garage_Movement changed
then
sendCommand(light_Garage, Garage_Movement.state.toString)
end
For me this rule works if I want to switch non-zwave lights