Basic assistance with a sensor and light Scene

Hi,

I have a Fibaro multi-sensor and a TKB socket connected to a floor lamp.

I would like to use the motion sensor to turn the lamp on for 10 minutes. That’s all easy enough in the Vera Edge UI7 Scenes page. It’s also easy enough to contain that trigger to only activate between a certain time, say 21:00 to 06:00 each day.

So, at the moment, the trigger is the PIR detecting motion, between 21:00 and 06:00, and the lamp immediately turns on, then there’s a delayed action in the Scene turning the lamp off after 10 minutes. It’s all really simple.

What I would like to know is how I might use the sensor’s PIR as some kind of pseudo occupancy sensor and keep the lamp on if motion is detected and keep resetting the 10 minute timer so that the lamp only goes off after 10 minutes of no motion, hopefully that will be when that person has left the room (I’m assuming, of course, that they’ll move around while in the room).

Is that something that’s achievable via the Vera Scenes functionality as well, or must I resort to some kind of coding for this?

Use futzle’s kickass countdown timer plugin. Have PIR activate turn on the light and start/reset the timer. When the timer expires, turn the light off. (Works on UI7, despite the thread title.)

Actually… things appear to be better than I thought.

I was sat in the room on the night of creating this scene. After 21:00, the PIR detected my movement and turned the light on. I then expected it to turn off after 10 minutes, but it did not. It seemed to keep detecting my various movements and the timer was being reset to 10 minutes. When I eventually left the room, some hours later, and then I remembered to come back, about half an hour later, the light was off.

Is this expected ‘vanilla’ behaviour?