Page 1 of 1

Smooth Dimming Problem

Posted: 25 Nov 2016 14:12
by tkay
Hey Guys!

I'm new to the Z-Wave world and got a razberry zWave Server.
I got the basics but now i'm in front of a difficult riddle which i'm not able to solve myself

I got 2 Fibaro Motion Sensors and 1 Fibaro DimmerFGD-212.
My special thing would be that the dimmer should only set to 20% after 22:00/10p.m. (let's call it night-mode) and softly reduces back to 0% after 30seconds. During the day it should set to 100% and softly dims to 0% after 30seconds.

Could anybody assist me here or has anybody a good manual for such special things?

Thank you very much,
Regards tKay

Re: Smooth Dimming Problem

Posted: 26 Nov 2016 14:46
by Provo
The easiest way to do this is probably using the app Light Motion Trigger. I haven't used it myself, so I can't help you setting it up for a delayed turn-off. But it seems like you should set Dimmer mode to Code, and enter something like the following in the code field to get a time dependent value:

Code: Select all

(function(){var date = new Date(); return date.getHours() >= 22 || date.getHours() < 6 ? 20 : 100;})()
There is also a config parameter on the dimmer for timed auto-off (config param 10), so you could use Light Motion Trigger to just turn it on to a specific value.. You can also control the time the dimmer uses to turn on/off through config params 5 and 6, but I don't think you can do asymmetric turn on and turn off times.

If the different light levels weren't important, you could do this with direct associations instead. You could then get the motion detector to turn the lights on to a certain level directly, without going via the gateway. Then you'd eliminate the risk of any delays.

Re: Smooth Dimming Problem

Posted: 28 Nov 2016 12:59
by tkay
Okay thank you very much for your input, i gotta try that the next days.

But different levels are important to me - because of the light in the corridor shines directly to my face when lying in bed... :)

Thanks!

Re: Smooth Dimming Problem

Posted: 28 Nov 2016 13:36
by Provo
A workaround for the level issue might be to have a timed job that at 22 hours sets the level to 20 and immediately turn it back off again. It would then remember that setting when you turn the lights back on. And you could do the same thing in the morning, setting it to 100 and immediately turn it off.

But if you don't experience any noticable or annoying delay using Light Motion Trigger, that seems like the most straight forward solution. :)

Re: Smooth Dimming Problem

Posted: 01 Dec 2016 20:37
by tkay
Hey Guys!

LightMotionTrigger was a very good solution for me - i can't really feel any noticeable delays.

But i got one last question:
Does anybody know how i could do a smooth off-dimming?
It would be great if the light goes down withing 30seconds or so. But should be immediately be switched on. (Fibaro cot a config how long it should take to go from min-max or max-min)

Thanks, greets
Tkay