Hello
i ve a problem with my node. the motions sensor should switch on my light and after
30 min, if no motion is detected, my light should go off.
lights on works, but my light dont go off. dont know why.
[{“id”:“f837b5f.5377148”,“type”:“tab”,“label”:“Motion”,“disabled”:false,“info”:“”},{“id”:“b2972323.b788c”,“type”:“stoptimer”,“z”:“f837b5f.5377148”,“duration”:“30”,“units”:“Minute”,“payloadtype”:“num”,“payloadval”:“0”,“name”:“30min”,“x”:710,“y”:360,“wires”:[[“1661b7ae.4c2538”],]},{“id”:“c85866ea.d067f8”,“type”:“switch”,“z”:“f837b5f.5377148”,“name”:“”,“property”:“payload”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“on”,“vt”:“str”},{“t”:“eq”,“v”:“off”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:2,“x”:410,“y”:240,“wires”:[[“4a3f3d58.f3e4a4”],[“b2972323.b788c”]]},{“id”:“30917c95.8b7694”,“type”:“server-state-changed”,“z”:“f837b5f.5377148”,“name”:“Motion”,“server”:“d635031d.ddc2a”,“version”:1,“exposeToHomeAssistant”:false,“haConfig”:[{“property”:“name”,“value”:“”},{“property”:“icon”,“value”:“”}],“entityidfilter”:“binary_sensor.partyraum_theke_bewegungsmelder_occupancy”,“entityidfiltertype”:“exact”,“outputinitially”:false,“state_type”:“str”,“haltifstate”:“on”,“halt_if_type”:“str”,“halt_if_compare”:“is”,“outputs”:2,“output_only_on_state_change”:false,“for”:0,“forType”:“num”,“forUnits”:“minutes”,“ignorePrevStateNull”:false,“ignorePrevStateUnknown”:false,“ignorePrevStateUnavailable”:false,“ignoreCurrentStateUnknown”:false,“ignoreCurrentStateUnavailable”:false,“x”:170,“y”:240,“wires”:[[“c85866ea.d067f8”,“aba2dcb5.79d24”],]},{“id”:“f041e811.20da18”,“type”:“api-call-service”,“z”:“f837b5f.5377148”,“name”:“Light on”,“server”:“d635031d.ddc2a”,“version”:1,“debugenabled”:false,“service_domain”:“switch”,“service”:“turn_on”,“entityId”:“switch.partyraum_theke”,“data”:“”,“dataType”:“jsonata”,“mergecontext”:“”,“output_location”:“”,“output_location_type”:“none”,“mustacheAltTags”:false,“x”:920,“y”:200,“wires”:[]},{“id”:“1661b7ae.4c2538”,“type”:“api-call-service”,“z”:“f837b5f.5377148”,“name”:“Light off”,“server”:“d635031d.ddc2a”,“version”:1,“debugenabled”:false,“service_domain”:“switch”,“service”:“turn_off”,“entityId”:“switch.partyraum_theke”,“data”:“”,“dataType”:“jsonata”,“mergecontext”:“”,“output_location”:“”,“output_location_type”:“none”,“mustacheAltTags”:false,“x”:960,“y”:360,“wires”:[]},{“id”:“4a3f3d58.f3e4a4”,“type”:“api-current-state”,“z”:“f837b5f.5377148”,“name”:“Light on?”,“server”:“d635031d.ddc2a”,“version”:1,“outputs”:2,“halt_if”:“on”,“halt_if_type”:“str”,“halt_if_compare”:“is”,“override_topic”:false,“entity_id”:“switch.partyraum_theke”,“state_type”:“str”,“state_location”:“payload”,“override_payload”:“msg”,“entity_location”:“data”,“override_data”:“msg”,“blockInputOverrides”:false,“x”:660,“y”:200,“wires”:[,[“f041e811.20da18”]]},{“id”:“bb0f23ce.e7fee”,“type”:“switch”,“z”:“f837b5f.5377148”,“name”:“stop timer”,“property”:“payload”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“stop”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:1,“x”:400,“y”:420,“wires”:[[“b2972323.b788c”]]},{“id”:“aba2dcb5.79d24”,“type”:“stoptimer”,“z”:“f837b5f.5377148”,“duration”:“10”,“units”:“Second”,“payloadtype”:“num”,“payloadval”:“0”,“name”:“10s”,“x”:250,“y”:420,“wires”:[[“bb0f23ce.e7fee”],]},{“id”:“d635031d.ddc2a”,“type”:“server”,“name”:“Home Assistant”,“addon”:true}]