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
set dimmer value at certain time without turning on light
Moderators: leecollings, remb0
-
- Posts: 63
- Joined: Monday 18 January 2016 21:43
- Target OS: Windows
- Domoticz version: 3.5196
- Location: Seattle, WA
- Contact:
set dimmer value at certain time without turning on light
[ Domoticz 3.5196 | Win10 | AeoTec Z-Stick Gen5 ]
- Egregius
- Posts: 2589
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: set dimmer value at certain time without turning on light
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.
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.
-
- Posts: 41
- Joined: Monday 03 October 2016 15:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: NL
- Contact:
Re: set dimmer value at certain time without turning on light
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
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
- Egregius
- Posts: 2589
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: set dimmer value at certain time without turning on light
Using a second switch should be easy to do this.
S1 normal behavior
S2 predefined level
Sounds easy, in pass2php that would be:
S1 normal behavior
S2 predefined level
Sounds easy, in pass2php that would be:
Code: Select all
if($status=='On')sl('dimmer',20);
-
- Posts: 47
- Joined: Tuesday 14 June 2016 16:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: East Coast, USA
- Contact:
Re: set dimmer value at certain time without turning on light
Anyone have any luck with this? I've been trying to figure this out as well.
-
- Posts: 247
- Joined: Sunday 29 November 2015 20:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.9639
- Location: Spain
- Contact:
Re: set dimmer value at certain time without turning on light
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 .
Who is online
Users browsing this forum: No registered users and 1 guest