Need help with a Motion Senson SmartApp

I need assistance with a Motion Sensor app.

I need a SmartApp that will sense motion, turn on a light, and turn that light off within a user specified number of seconds regardless of continued motion. Then reset and wait for motion again.

Any help would be greatly appreciated.

CoRE can easily do this… if you need help

IF (motion_sensor changes to active) {
    using light
       turn on
       wait 30 seconds
       turn off
}
1 Like

thanks a bunch, running short on time. I will look into CoRE, a little intimidating to learn something new right now but it looks promising.

1 Like