Oh, and for #2 I’m not sure what you mean. You can custom ID each child device, with names of your choice, but this can only be done while they are being created using luup.chdev.append(…), but not sure if that’s what you’re after.
I have input buttons for a Denon receiver which can have custom names. I want to be able to get the custom names from the receiver and use that on the buttons.
e.g. TV/CBL input has a custom name in the receiver of PVR I would like to display that on the UI button.
Button labels are statically defined in you JSON, so you cannot change them at runtime. The internal label is settable during device creation, but this is only useful to ‘lookup’ devices by name (under a given parent device) instead of using deviceId’s.
Best Home Automation shopping experience. Shop at Ezlo!