27.10.2016, 09:56
(27.10.2016, 09:21)AEK Wrote:(26.10.2016, 23:44)PassivPluss Wrote: Hi. I Just installer a New Dali driver and the only way I could fint it was to run a full New scan and i had to text/map all existing Dali again. The other options didn't work. The drivers then also changed adresses so I had to blink existing lamps again.
you should set address to new ballast with usb-Dali interface. LM can't set address to one ballast.
then you shoukd use "search only new devices"
Or something like this:
- backup your lm!
- connect only the new device to your dali line, temporary disconnect the existing dali devices
- create a 1 byte object with 05 1 byte unsigned integer
event logic for this object:
------------------------------
require('user.dali')
address = tonumber(event.datahex, 16)
log('addr', address)
address = bit.lshift(address, 1) + 1
dalicmd('int', 'setdtr', { value = address })
dalicmd('int', 'storeshortaddress', { addrtype = 'broadcast' })
------------------------------
- set the address for your new dali devices with this object (only the new dali object is connected on your dali line!!!!!!!)
- search for only new dali devices
- connect all your dali devices back to the dali line