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.

Delay for DALI !
#8
I try! but...Sad
Everyone let me ask! Why is my value not returning as current value? 11/1/3 other than 11/1/103 (status). 11/1/4 other than 11/1/104 (status). 30% and 51%, but it's 4% and 4%. Please help me!
-------------
require('user.dali')

res, err = dalicmd('internal', 'querystatus', { addrtype = 'short', address = 0 })
if res then
  grp.checkupdate('11/1/103', res:byte())
end

res, err = dalicmd('internal', 'querystatus', { addrtype = 'short', address = 1 })
if res then
  grp.checkupdate('11/1/104', res:byte())
end

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Delay for DALI ! - by phongvucba - 01.06.2020, 06:31
RE: Delay for DALI ! - by admin - 01.06.2020, 06:52
RE: Delay for DALI ! - by phongvucba - 02.06.2020, 03:55
RE: Delay for DALI ! - by admin - 02.06.2020, 07:44
RE: Delay for DALI ! - by phongvucba - 02.06.2020, 08:06
RE: Delay for DALI ! - by admin - 02.06.2020, 11:28
RE: Delay for DALI ! - by phongvucba - 02.06.2020, 16:08
RE: Delay for DALI ! - by phongvucba - 03.06.2020, 03:32
RE: Delay for DALI ! - by admin - 03.06.2020, 06:11
RE: Delay for DALI ! - by davidchispas - 04.01.2021, 09:59
RE: Delay for DALI ! - by phongvucba - 14.11.2020, 07:17
RE: Delay for DALI ! - by admin - 14.11.2020, 08:05
RE: Delay for DALI ! - by phongvucba - 14.11.2020, 09:15
RE: Delay for DALI ! - by Daniel - 16.11.2020, 08:40
RE: Delay for DALI ! - by phongvucba - 01.12.2020, 11:27
RE: Delay for DALI ! - by davidchispas - 24.11.2020, 10:46
RE: Delay for DALI ! - by admin - 24.11.2020, 10:48
RE: Delay for DALI ! - by admin - 24.11.2020, 10:58
RE: Delay for DALI ! - by davidchispas - 24.11.2020, 11:12
RE: Delay for DALI ! - by Daniel - 01.12.2020, 11:30
RE: Delay for DALI ! - by admin - 04.01.2021, 10:58
RE: Delay for DALI ! - by davidchispas - 05.01.2021, 09:34
RE: Delay for DALI ! - by admin - 05.01.2021, 09:36
RE: Delay for DALI ! - by davidchispas - 13.01.2021, 10:47
RE: Delay for DALI ! - by Daniel - 13.01.2021, 11:00

Forum Jump: