ioBroker.deconz icon indicating copy to clipboard operation
ioBroker.deconz copied to clipboard

Transfer object tree structure "by hardware-id" from 2.0.6 branch into master?

Open C4mp3r-Grey opened this issue 1 year ago • 0 comments

Hello @Jey-Cee and all other devs,

Some months ago I had to move to the 2.0.6 branch to enable my FYRTUR blends. However, as the branch is reported dead, I consider to move back to the master branch.

Besides the minor advantage, that FYRTUR blinds work in 2.0.6/7, I even more appreciate the MAC-based naming scheme.

Since my VIS and Scripts refer to those static IDs (i.e. "deconz.0.lights.1234567890ABCDEF" instead of "deconz.0.Lights.12"), it is not that easy to move back.

Would it be complex to reactivate that 2.0.6 naming scheme in the master branch, maybe as a settings option?

   if ((await logging(res, body, "get all lights")) && body !== "{}") {
      for (let i = 0; i <= count; i++) {
        let keyName = Object.keys(list)[i];
        let lightID = Object.keys(list)[i];
        //let mac = list[keyName]['uniqueid'];
        //mac = mac.match(/..:..:..:..:..:..:..:../g).toString();
        //let lightID = mac.replace(/:/g, '');`

C4mp3r-Grey avatar Feb 06 '24 16:02 C4mp3r-Grey