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 whether you accept or reject these cookies being set.

canX dali commands
(26.03.2020, 15:26)admin Wrote: sendqueries expects cmds table instead of a single cmd. This is fixed in CANx-DALI app version 20200326. Now the return value will depend on supplied arguments. Single cmd request will return query value on success. When cmds table is passed a table of values will be returned even when cmds table has only one command.

This will work in previous app version:
data = canxdali.sendqueries({
  lineid = 0,
  nodeid = 2,
  cmds = {
    { cmd = "queryactual", address = "s20" }

Tried it. Working!!!  Smile

Thank you very much!!!

Messages In This Thread
canX dali commands - by Daniel. - 13.12.2019, 14:08
RE: canX dali commands - by Oleg - 26.03.2020, 12:53
RE: canX dali commands - by Daniel. - 26.03.2020, 13:40
RE: canX dali commands - by admin - 26.03.2020, 15:26
RE: canX dali commands - by Oleg - 26.03.2020, 15:46

Forum Jump: