Logic Machine Forum
Dali Short adress change and delete - 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 Short adress change and delete (/showthread.php?tid=5470)



Dali Short adress change and delete - Kuru - 18.06.2024

Hello

How can I delete individual Dali short addresses because the lamp has to be dismantled and reinstalled in an existing system.

I would also like to know how to change the individual short addresses.

I used the built-in Dali from the Logic Machine.

Thank you very much.


RE: Dali Short adress change and delete - admin - 18.06.2024

Run "Set addresses for new devices only" scan mode. This will assign short addresses to ballasts that don't already have one.
"Full scan, keep device mapping" scan mode will remove any missing ballasts from the list.

There's no built-in option for changing short addresses but it can be done via a script:
Code:
old_address = 12
new_address = 63

require('user.dali')

dalicmd('internal', 'setdtr', { addrtype = 'short', address = old_address , value = new_address * 2 + 1 })
dalicmd('internal', 'storeshortaddress', { addrtype = 'short', address = old_address })

You will need to run scan again (without addressing) after that and assign mapping for the new short address.