Logic Machine Forum
DALI 2.0 motion detector - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: DALI 2.0 motion detector (/showthread.php?tid=3933)



DALI 2.0 motion detector - tom77 - 14.03.2022

Hi,
I have a project where Dali 2.0 motion detectors are installed (B.E.G PICO-BMS DALI-2), is there a possibility to receive the 24bit telegrams sent by the motion detectors with the LM ?
Regards
Thomas


RE: DALI 2.0 motion detector - admin - 15.03.2022

LM can receive such telegrams but the parsing has to be done using scripts at the moment. We have plans to implement DALI 2.0 later.
You should also take into account that DALI bus is really slow and it can be easily overloaded if you attach many sensors to a single line.


RE: DALI 2.0 motion detector - tom77 - 15.03.2022

the speed will not be the problem in my case we have few luminaire groups on the dalibus and only a few of these sensors, how can i listen to the bus ? i cannot find the appropriate command, https://openrb.com/docs/dali.htm
thank you

Thomas


RE: DALI 2.0 motion detector - admin - 15.03.2022

At this moment receiving telegrams is only supported via an external CANx-DALI interface. Internal DALI interface on Reactor devices and external RS-485 gateways do not support this.


RE: DALI 2.0 motion detector - tom77 - 15.03.2022

great I have a canX Dali Gateway, I had overlooked the post https://forum.logicmachine.net/showthread.php?tid=3746&highlight=dali+2 how do I integrate this script?


RE: DALI 2.0 motion detector - admin - 16.03.2022

Resident script with sleep time set to 0. It will log all bus messages in hex format.
Code:
if not canxdali then
  canxdali = require('applibs.canxdali')
  canxdali.getlistener(1) -- 1 second timeout
  
  canxdali.sethandler('busdata', function(msg)
    local data = msg.data
    loghex(data)
  end)
end

canxdali.step()



RE: DALI 2.0 motion detector - tom77 - 16.03.2022

Perfect, that's enough for me,
thank you very much


RE: DALI 2.0 motion detector - admin - 29.03.2022

Updated CANx-DALI app has been published. It has experimental DALI2 frame parsing which can be used in scripts. Docs: https://openrb.com/docs/canxdali-dali2.htm