Hi All,
I have had my Vera 3 for just over a year now. Every few months I sit down and try to do this and I end up reading loads of PLEG forum posts, playing around with it for 2 hours and give up with confusion and frustration. Someone please help! ![]()
I have a Fibaro 3-in-1 sensor in my living room and 3 or 4 lights attached to dimmers. I want the lights to go on after 7pm when there is motion detected. (I’d love to be able to base this on light level but the Fibaro light sensor doesn’t seem to work properly, but that’s another story)
I also have Kodi Media Center running and the lights dim when I start watching a movie, this is working nicely and even increases the brightness if I pause and dims again when I resume.
The problem is that the turning on lights scene after 7pm is always running. So even if I move around on the sofa, the scene will activate and the lights will go to full brightness.
What is the best way to solve this? I don’t want to use LUUP code hence I’ve been trying to figure PLEG out.
I don’t want to tie it to the movie watching as there may be other reasons that I dim the lights and don’t want them to come up with motion.
I know there are a few ways to do it. What is the best?
Do I disarm the motion sensor until midnight and then reset it? If so how do I do this in PLEG?
I have created an Input with a trigger MotionLivingRoom, Whenever 3 in 1 sensor is armed and detects motion.
I tried to create a condition for after 7PM but I cant work this part out. Do I add a schedule for MotionLivingRoom or do I have to write some code to say after 7PM in the conditions tab?
I created a bunch of actions to turn on the various lights and an action to set the SetARmed value of the 3 in 1 sensor to 0.
How do I get it to reset and Arm itself again.
Sorry I hope this makes sense, I’m a bit confused.
Regards
Marc