Always use the same number of digits for all device IDs

It looks strange that the deconz device order in iobroker shows like 1,11,2,22,3,…
Better would be 001,002,003,011,022,… (or maybe 4 digit, depends on your experience how much devices the avg user owns). its also easier to find a device, you don’t pretend 11 between 1 and 2…

Example: Adding a motion/temperatur sensor with motion sensor at 99 creates the temp.sensor portion at 100 ant this is located between 1 and 11 in the above sample and you search forever. this happend to me.

(this is also related to topic Keep Device ID after reconnecting a device pending on MAC)

The short IDs can’t be changed as it might break clients. I’m not sure how iobroker handles devices but a better way imho would be to use the uniqueid of a device since these are always persistent even if a device is removed and paired again.

(personally I don’t use the short IDs since years).

If the padded IDs are helpful for nicer display in iobroker it’s safer to add a small change in iobroker which simply left pads the numbers with zeros when showing them to the user.