I have a dimmer in my bathroom and an AEON multisensor. What I would like it to do is turn the lights on to 70% between 7am to 10pm, the rest of the time I want it to turn on to 10%. I would like it to do all this and shut off after 30 seconds of non-motion.
Thanks in advance, I thought I had a post about this before, but couldn’t find it.
[quote=“nickman2025, post:1, topic:186550”]I have a dimmer in my bathroom and an AEON multisensor. What I would like it to do is turn the lights on to 70% between 7am to 10pm, the rest of the time I want it to turn on to 10%. I would like it to do all this and shut off after 30 seconds of non-motion.
Thanks in advance, I thought I had a post about this before, but couldn’t find it.[/quote]
Well hopefully someone can help you with the %'s. Don’t think it will be easy since when you turn on the lights by the switch it’s gonna wanna return to you last set it to i think depending on your dimmer switch. If you never use the switch and only use the motion you can easliy have it come on to certian %. But motions are not very reliable. You could be all the way in the dark before it comes on.
Also no motion after 30 secs is also tuff. What happens if you sitting on the john? Taking a shower? You won’t be moving enough to keep it active. Also 30 sec is a short time some sensors when trigger stay triggered for some time before retuning to untripped state. Finally I’m hoping that your multisensor is wired and not on batteries right? Motions running on batteries like to sleep to save batteries this works fine for tripping a breakin after long time of not motion when the alarm is set. This doesn’t work so well for tripping over and over and over again at a pace less then 30 sec while someone is in the restroom. The sensor will simply ignore repeated motions and slow down to conserve battery.
Have you searched on this type of use?
If you decide to go forward with this, despite the above-mentioned possible issues, then it seems like it should be fairly easy to do in PLEG. I’m still a bit of a beginner at this, though, myself. I am planning on implementing something very much like this. I’ll let you know how it goes!
There are many examples of PLEG with motion timeout … Start with one of the …
The additional information you will need is to go the the advanced tab for actions where you turned the dimmer on.
Replace the 100 in the SetLoadLevelTarget action with:
{((7:00:00; Motion; 22:00:00) ? 70 : 10)}
This assumes the motion trigger is called Motion
When the Action is fired … it evaluates the expression and is replaced with the expression value.
Using the sequence expression and the conditional operator … If the motion is between 7AM and 10PM it returns to 70 else it returns 10.
Hi Richard -
I’ve used this solution really well on my local install. Wondering though, if I want to add more than one condition (like 100% during day, 50% for sundown until modnight, and then 35% between midnight and sunup). Would I just nest the conditional? If so, that would be easy.
Yes you nest the conditionals.
This has worked awesome…until I upgraded to a Vera Plus. Now, no matter what settings I tinker with, I can’t get this to keep the light on. The best I have been able to do is at the end of the timer, get the light to turn off and right back on. Not sure what the difference is as I have both on the same UI7.
Thanks
If you also upgraded from UI5 to UI7 … delete any triggers that do not appear to be working properly and re-create them.