Page 1 of 1

set dimmer value at certain time without turning on light

Posted: Saturday 28 May 2016 0:58
by jrich523
I'd let to set the lights dim level but not turn the light on.

so for example if its between 11pm and 7am, set the dim lvl to 20% on a group of lights (i dont care if i have to do each individually)

Basically if i turn any on in the middle of the night with the switch, i want to make sure im not blinded.

I guess really i want to set a property of a z-wave device because another neat thing would be to control my GE Switches Night Light mode, which would be neat to switch based on time.

I guess since im starting out i'd like to do this all via blocky, but if i cant im sure i can figure out lua pretty quickly.

thanks

Re: set dimmer value at certain time without turning on light

Posted: Saturday 28 May 2016 5:55
by Egregius
Don't think it's possible to set the level without switching.
You could use a script that's set the value to 20% if the value is higher than that during night hours.
Downside of this is that you could never set the lights higher than that.

Re: set dimmer value at certain time without turning on light

Posted: Monday 22 May 2017 16:06
by meel4chris
Hi,

this is exactly what I try to achieve as well!
I have been trying several things (using S2 switch on dimmer, etc) but no good solutions so far..
Did you or someone find a solution for this?

regards,
Christian

Re: set dimmer value at certain time without turning on light

Posted: Monday 22 May 2017 16:14
by Egregius
Using a second switch should be easy to do this.
S1 normal behavior
S2 predefined level
Sounds easy, in pass2php that would be:

Code: Select all

if($status=='On')sl('dimmer',20); 

Re: set dimmer value at certain time without turning on light

Posted: Wednesday 14 February 2018 13:22
by kllngtme
Anyone have any luck with this? I've been trying to figure this out as well.

Re: set dimmer value at certain time without turning on light

Posted: Wednesday 14 February 2018 14:34
by elmortero
I don't think you need a second switch, just use setlevel instead of switch on, with the desired level at that time of day. In your the script that switches on put some if the s that determine the level it should be .