Question about PIR and Light

Currently it’s not possible, but if you want to explore Node-RED you can get it working with a combination on Node-RED and Cayenne. Here is a very tutorial on setting everything up Using Node-RED as a Local Fallback Server Basically coming off the Cayenne Input MQTT node you can put a delay node for x seconds and then after that a change node to change the payload to 1 or 0 then after that a Raspberry Pi GPIO out node to actually turn your light off.