19.02.2019, 14:47
Hello,
I currently have a DALI DT-6 lighting with warm white LED and cold white (2700 to 6500 K) do not have a DT-8 so I have two different ballasts I could create a script that achieves the following command:
- ON / OFF GENERAL
- GENERAL ON / OFF STATUS
- WHITE VARIATION
- STATE VARIATION WHITE
I currently have the following group addresses:
On / off cold dali (0/0/1)
state on / off cold dali (0/1/1)
cold dali value (0/4/1)
state dali value cold (0/3/1)
On / off hot dali (0/0/2)
state on / off hot dali (0/1/2)
hot dali value (0/3/2)
state dali value hot (0/4/2)
I create a script that takes all the following states but I think it can be optimized and I do not recover the white dimming state when I change only cold dali value (0/3/1) ...
Script:
value = grp.getvalue ('32/1/1 ') --white color
if value == 6500 then
grp.write ('0/3/1', 100)
grp.write ('0/3/2', 0)
elseif value == 6481 then
grp.write ('0/3/1', 100)
grp.write ('0/3/2', 1)
etc .... up to 2700 K ...
I put my table excel with the set of values ...
I currently have a DALI DT-6 lighting with warm white LED and cold white (2700 to 6500 K) do not have a DT-8 so I have two different ballasts I could create a script that achieves the following command:
- ON / OFF GENERAL
- GENERAL ON / OFF STATUS
- WHITE VARIATION
- STATE VARIATION WHITE
I currently have the following group addresses:
On / off cold dali (0/0/1)
state on / off cold dali (0/1/1)
cold dali value (0/4/1)
state dali value cold (0/3/1)
On / off hot dali (0/0/2)
state on / off hot dali (0/1/2)
hot dali value (0/3/2)
state dali value hot (0/4/2)
I create a script that takes all the following states but I think it can be optimized and I do not recover the white dimming state when I change only cold dali value (0/3/1) ...
Script:
value = grp.getvalue ('32/1/1 ') --white color
if value == 6500 then
grp.write ('0/3/1', 100)
grp.write ('0/3/2', 0)
elseif value == 6481 then
grp.write ('0/3/1', 100)
grp.write ('0/3/2', 1)
etc .... up to 2700 K ...
I put my table excel with the set of values ...