node-red-contrib-homebridge-automation icon indicating copy to clipboard operation
node-red-contrib-homebridge-automation copied to clipboard

Same name cannot be selected

Open Eucliwood090 opened this issue 1 year ago • 1 comments

Current Situation

image I have a slightly different problem in node red I have my rolling shutters (control windows covering) which have the same name, (they do have different names however) if I click on the 2nd or 3rd in the list it only selects the first each time

Logs

.

Configuration

.

Environment

  • OS: 22.04
  • Software:
  • Node:
  • npm:

Process Supervisor

hb-service

Additional Context

No response

Eucliwood090 avatar Oct 12 '24 18:10 Eucliwood090

I found I changed "name" to "Serial Number"

devices.characteristics.forEach(function (element) { // var service = new Characteristic(element, this); if (element.type.substring(0, 8) === '00000023' && element.description === "Serial Number") { this.name = element.value; } else if (element.type.substring(0, 8) === '000000E3' && element.description === "Configured Name") { this.configuredName = element.value; } else { // this.characteristics.push(service); } }.bind(this)); devices.characteristics.forEach(function (element) { var service = new Characteristic(element, this); if (element.type.substring(0, 8) === '00000023' && element.description === "Serial Number") { this.name = element.value; } else if (element.type.substring(0, 8) === '000000E3' && element.description === "Configured Name") { this.configuredName = element.value; } else { this.characteristics.push(service); } }.bind(this)); if (this.configuredName) { this.name = this.configuredName; } // Uncomment to display services not defined // if (!this.service) { // console.log('Missing', devices); // } }

image

Eucliwood090 avatar Oct 12 '24 19:10 Eucliwood090

This should now be resolved in the latest release

NorthernMan54 avatar Oct 13 '25 14:10 NorthernMan54