This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

DALI DT8 Dimmer
#4
Hi everyone!
i've made tests with Easydim DALI-MIX-DT8 dimmer and its work
you will need to install new dali package (Admin will provide soon)

to set color temp use following script
Code:
require('user.dali')
colortemp = 7000 -- in kelvin
address = 47
mirek = math.floor(1000000 / colortemp)
dtr0 = bit.band(mirek, 0xFF)
dtr1 = bit.band(bit.rshift(mirek, 8), 0xFF)


dalicmd(1, 'setdtr1', { value = dtr1 })
dalicmd(1, 'setdtr0', { value = dtr0 })
dalicmd(1, 'enabledevicetype', { value = 8 })
dalicmd(1, 'setcolortemp', { addrtype = 'short', address = address  })
dalicmd(1, 'enabledevicetype', { value = 8 })
dalicmd(1, 'activate', { addrtype = 'short', address = address })
to make light warmer use this
Code:
require('user.dali')
dalicmd(1, 'enabledevicetype', { value = 8 })
dalicmd(1, 'colortempwarmer', { addrtype = 'short', address = 47  })
cooler
Code:
require('user.dali')
dalicmd(1, 'enabledevicetype', { value = 8 })
dalicmd(1, 'colortempcooler', { addrtype = 'short', address = 47  })
Reply


Messages In This Thread
DALI DT8 Dimmer - by managementboy - 06.11.2018, 15:55
RE: DALI DT8 Dimmer - by admin - 08.11.2018, 08:07
RE: DALI DT8 Dimmer - by managementboy - 17.11.2018, 13:39
RE: DALI DT8 Dimmer - by AEK - 28.11.2018, 09:19
RE: DALI DT8 Dimmer - by Daniel - 28.11.2018, 10:12
RE: DALI DT8 Dimmer - by AEK - 28.11.2018, 10:28
RE: DALI DT8 Dimmer - by Snoolik - 19.12.2018, 12:16
RE: DALI DT8 Dimmer - by Snoolik - 26.12.2018, 12:22
RE: DALI DT8 Dimmer - by khalil - 06.07.2021, 09:58
RE: DALI DT8 Dimmer - by Snoolik - 08.05.2019, 09:48
RE: DALI DT8 Dimmer - by admin - 06.07.2021, 10:58
RE: DALI DT8 Dimmer - by khalil - 06.07.2021, 11:25
RE: DALI DT8 Dimmer - by admin - 06.07.2021, 11:35
RE: DALI DT8 Dimmer - by khalil - 07.07.2021, 14:37
RE: DALI DT8 Dimmer - by admin - 07.07.2021, 14:39
RE: DALI DT8 Dimmer - by khalil - 08.07.2021, 10:52
RE: DALI DT8 Dimmer - by admin - 08.07.2021, 10:57
RE: DALI DT8 Dimmer - by khalil - 08.07.2021, 11:23

Forum Jump: