NorthernMan54 / node-red-contrib-homebridge-automation

Homebridge and Node-RED Integration
Apache License 2.0
107 stars 18 forks source link

Led strip with the same name #66

Closed edmarts closed 3 years ago

edmarts commented 3 years ago

Hello. I have a problem selecting the LED strips on node-red. All were imported with the same name, ignoring the name given in the homekit, so it is not possible to create automations with them as it only assumes the first in the list as shown in the image.

led

I select a different one but it always goes back to the first one. (I use magic home app/devices)

NorthernMan54 commented 3 years ago

What plugin are you using for the strip?

For changing the name in the home app, HomeKit does not pass it back homebridge, so I can’t use it for this, the name would need to be adjusted in the plugin.

edmarts commented 3 years ago

I use homebridge-magichome-dynamic-platform v1.5.0 on Homebridge

NorthernMan54 commented 3 years ago

Just looked at the code and he is setting the name from HomeKit back to where node-red should set it. It may take a few restarts for it to flow thru, but it should.

edmarts commented 3 years ago

I've been using it for more than 30 days ... and so far they have the same names ... I've tried changing the name on the homekit app, on the homebridge, but it always stays with the same name on node-red :(

NorthernMan54 commented 3 years ago

Okay

I have one of those in my parts pile, let me dig it out and see what the challenge is.

On Oct 23, 2020, at 12:42 PM, Edmar notifications@github.com wrote:

 I've been using it for more than 30 days ... and so far they have the same names ... I've tried changing the name on the homekit app, on the homebridge, but it always stays with the same name on node-red :(

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

NorthernMan54 commented 3 years ago

Okay, if you update to v0.0.72 it will now use the name from the HomeKit app instead of the default name. Tks to @Zacknetic for adding this feature to his plugin

edmarts commented 3 years ago

Thanks!!!

NorthernMan54 commented 3 years ago

Fixed ?

edmarts commented 3 years ago

Yes!! Thanks!!! :))

edmarts commented 3 years ago

Hi, the issue come back! :(

All devices with the same name... error

edmarts commented 3 years ago

And in a magic trick everything went back to normal.... lol (I don't really know what happens but come back ok!!)