Light Group (Dim) and change 1 dim status

Moderator: leecollings

Post Reply
BarryT
Posts: 367
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Light Group (Dim) and change 1 dim status

Post by BarryT »

Hi all,

i have a weird question/trouble.
I have a group, with 3 dimmers in it.
They are working perfect, but now i want to change the dim state of 1 dimmer to 80% instead of 35.

Example, when we are at home, watching tv the dim group is activated and they are working perfect.
Now, my wife wants to set the lightin the kitchen to a higher value, with a remote control (channel 2).

I allready tried to setup a virtual switch, with a 80% function, as well a new group with the correct settings.
But, when i use the remote with the virtual switch, the light goes to 80% and after some seconds back to its normal state (35%).
When using another group, switching both of them (group 1 is on/group 2 is off, and when group 2 is on, group 1 is off), the group is working correct but the lights stays off after switched off the remote.

What is going wrong in here?
locogek
Posts: 28
Joined: Thursday 15 October 2015 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Light Group (Dim) and change 1 dim status

Post by locogek »

The group is still active if you push the remote switch. Make a blocky when pushing the remote control turn of the script/group

Verstuurd vanaf mijn ONE A2003 met Tapatalk
BarryT
Posts: 367
Joined: Tuesday 31 March 2015 22:06
Target OS: Linux
Domoticz version: 2024.3
Location: east netherlands
Contact:

Re: Light Group (Dim) and change 1 dim status

Post by BarryT »

thanks loco...
still not finished this little error.
when i make another blocky, it is working but in the time switching from group 1 to group 2, it will cost 30 seconds or something.
in the meantime the lights are off! :P
locogek
Posts: 28
Joined: Thursday 15 October 2015 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Light Group (Dim) and change 1 dim status

Post by locogek »

I have something what's almost the same. The problem is if you use a switch to set the group and then use it in blocky the blocky script checks every minute if the switch is still on the same position. So you switch dimmer group on your wife change dimmer position and domoticz looks again if dimmer switch is still active domoticz will put the value back.

Verstuurd vanaf mijn ONE A2003 met Tapatalk
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Light Group (Dim) and change 1 dim status

Post by Egregius »

Let the script look at the current dim level and only set it to 35% when the level is lower.
Then, when you set it manually or with another script to 80% it will ignore it.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest