(27.01.2022, 07:47)admin Wrote: 5.001 scale object is stored as 0..255 internally so the value is sent as is with the maximum being limited to 254.
The percentage values that you've specified is the actual dimming curve that the ballast should produce. No extra calculation is needed on the control side.
Note that some ballasts have a high physical minimum dimming value so the whole range cannot be used. For RS485 gateways a script can be used to skip the lower range. For CANx-DALI this is built into the app: https://forum.logicmachine.net/showthread.php?tid=3671
So my statement that sending 127 as value through dalicmd() will put the dimming value to 3.12% on the lamp - without any manipulation through a script - is correct? Supposing that the lamp can handle this percentage.
In order to effectively set the lamp to 50% I'd need to send 229 as value?