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 on LM5
#8
I don't think this should work to a group. What value would you receive when lights can have different values in a group?

This works fine

Code:
require('user.dali')
res, err = dalicmd('internal', 'queryactual', { addrtype = 'short', address = 0 })
-- read ok
if res then
 value = res:byte()
end

log(value)
------------------------------
Ctrl+F5
Reply


Messages In This Thread
DALI on LM5 - by LKBA - 22.12.2016, 13:57
RE: DALI on LM5 - by LKBA - 23.12.2016, 08:19
RE: DALI on LM5 - by Morpheus09 - 29.11.2018, 15:06
RE: DALI on LM5 - by Daniel - 29.11.2018, 15:40
RE: DALI on LM5 - by Morpheus09 - 29.11.2018, 15:59
RE: DALI on LM5 - by Daniel - 29.11.2018, 16:05
RE: DALI on LM5 - by Morpheus09 - 29.11.2018, 16:11
RE: DALI on LM5 - by Daniel - 29.11.2018, 16:14
RE: DALI on LM5 - by Morpheus09 - 29.11.2018, 16:24
RE: DALI on LM5 - by Daniel - 29.11.2018, 16:30

Forum Jump: