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 groups
#2
Possible via a script but keep in mind that you will lose status values for each ballast if using DALI groups. Are you using grp.write or grp.update to change several ballast values at once?

Adding short addresses 1, 2, 3, 4 to group 7:
Code:
require('user.dali')
dalicmd('internal', 'addtogroup', { addrtype = 'short', address = 1, value = 7 })
dalicmd('internal', 'addtogroup', { addrtype = 'short', address = 2, value = 7 })
dalicmd('internal', 'addtogroup', { addrtype = 'short', address = 3, value = 7 })
dalicmd('internal', 'addtogroup', { addrtype = 'short', address = 4, value = 7 })

Setting group to a certain value:
Code:
require('user.dali')
value = event.getvalue()
value = math.floor(value * 2.54)
dalicmd('internal', 'arc', { addrtype = 'group', address = 7, value = value })
Reply


Messages In This Thread
Dali groups - by gjniewenhuijse - 11.11.2015, 15:37
RE: Dali groups - by admin - 12.11.2015, 07:38
RE: Dali groups - by khalil - 08.07.2021, 11:30
RE: Dali groups - by admin - 08.07.2021, 11:34
RE: Dali groups - by khalil - 08.07.2021, 11:36
RE: Dali groups - by admin - 09.07.2021, 06:23
RE: Dali groups - by khalil - 12.05.2022, 16:40
RE: Dali groups - by admin - 13.05.2022, 08:23

Forum Jump: