Logic Machine Forum
How can I make a poll (or read) canx-dali devices? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: CANx (https://forum.logicmachine.net/forumdisplay.php?fid=23)
+--- Thread: How can I make a poll (or read) canx-dali devices? (/showthread.php?tid=2545)



How can I make a poll (or read) canx-dali devices? - Oleg - 26.03.2020

Hi there Smile ,

How can I make a poll (or read) canx-dali devices?


I use LM5 Lite with CANx-DALI gateway to control DALI network. 

I've configured my CANx-DALI gateway in "CANx" app, and mapped dali-slaves with group addresses in "CANx DALI" app (as described in "CANx DALI gateway manual" ).
Now mapped group addresses are available in Logic Machine object list.
And I can set new values for my objects (and it really works) but i can't see their real states  Undecided  (for example, if I control the light by physical device the value of the corresponding object in object list does not update).

Does anyone know how can I make a poll (or read) canx-dali objects?


RE: How can I make a poll (or read) canx-dali devices? - Daniel - 26.03.2020

Hi
You have to select an individual ballast from a group and use it for status of the group.  I'm just uploading new video to YT which will explain everything.
BR

And here it is



RE: How can I make a poll (or read) canx-dali devices? - Oleg - 26.03.2020

(26.03.2020, 09:52)Daniel. Wrote: Hi
You have to select an individual ballast from a group and use it for status of the group.  I'm just uploading new video to YT which will explain everything.
BR

And here it is

Thank you very much!

I noticed that my CANx and CANx-DALI apps look slightly different. They needed to be updated.
But after update, when i start Line scan --> it don't find my gateway Sad
Maybe I need to update the gateway firmware?
What shall I do to detect the gateway?


RE: How can I make a poll (or read) canx-dali devices? - Daniel - 26.03.2020

Make sure you also update CANx app.  A reboot won't hurt Wink
The firmware to DALI gateway was also recently updated.


RE: How can I make a poll (or read) canx-dali devices? - admin - 26.03.2020

You might need to upgrade gateway firmware as well


RE: How can I make a poll (or read) canx-dali devices? - Oleg - 26.03.2020

(26.03.2020, 11:18)admin Wrote: You might need to upgrade gateway firmware as well
Thank you!

Where can I find the firmware I need?
Is it https://dl.openrb.com/canx/ ?
What dfu file i need?


RE: How can I make a poll (or read) canx-dali devices? - Daniel - 26.03.2020

Do you have CANx-DALI or CANx/Lora-DALI?


RE: How can I make a poll (or read) canx-dali devices? - Oleg - 26.03.2020

(26.03.2020, 11:25)Daniel. Wrote: Do you have CANx-DALI or CANx/Lora-DALI?
CANx DAli gateway (not LORA)

PS. When I try to detect the gateway via device scan I get an error: Failed to communicate with the device. Make sure that it is powered on and CAN bus is connected


RE: How can I make a poll (or read) canx-dali devices? - Daniel - 26.03.2020

https://dl.openrb.com/canx/dali_20190903.dfu


RE: How can I make a poll (or read) canx-dali devices? - Oleg - 26.03.2020

(26.03.2020, 11:54)Daniel. Wrote: https://dl.openrb.com/canx/dali_20190903.dfu

Thank you very much!!!


I've updated gateway firmware, configured dali network. Works fine!  Smile