-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Name does not update in homebridge #76
Comments
Updating the display name in HomeKit automatically doesn't appear to be possible (gave it a few attempts in the code, but without any luck). Personally I also don't want/need this, as my friendly names in Zigbee2MQTT also have some stuff in there to identify the type of device and location, but I don't need that in the name for HomeKit. You can ofcourse still rename it in the Home app itself. |
When I used deCONZ in Jeedom with their homebridge plugin, it updated the name straight away |
Can you maybe add a link to that plugin here? |
The problem with Jeedom is that most of the plugins are paid plugins so they are on some private repo or something, but I think this is the plug-in :-) https://github.com/NebzHB/homebridge-jeedom Maybe it could be as option (turned off by default) Just added all the devices in the house, just to realise that I had no idea which device was in which room :-) It's a real pain in the a** to rename 100+ devices :-) |
As you can tell in your screenshot of Homebridge Config UI X, the name for the accessory is actually what you expect (a bit further down in the table). Currently the service uses the friendly name up on creation (plus some additional info in some specific cases). @smulle48 Just wondering, if you restart Homebridge, do you still see the incorrect names? |
The screenshots are with homebridge running, after I have renamed it in z2m. In the home app, it's also using the ieee as name :-( Yes, my first thought was that I could just restart homebridge, but that did not change anything. But a cache reset (they don't recommend it) fixes the names. Now that I know the "limitations" I just shut down homebridge while including, but sometimes I forget it :-) If it's just added as an extra feature you have to enable manually, is totally fine with me :-) (ie. enable to update names at reboot) |
No worries 😉 Now that I know it's not due to a bug in you nice plugin. Yes, after changing the name in z2m, name is changed, but the name in the top is what's used in the home app |
Another developer on the Homebridge Discord mentioned that someone reported a bug that their plugin always overwrites the name in Homebridge. Currently for the Accessory I actively set the name and for the services I only set it on creation. I'll try to have a go at implementing this when I have time. |
Ignore the previous comment. I don't have to look at the Configured Name. I think I've fixed it now by explicitly updating the Name characteristic of all services (based on the The Homebridge Config UI X overview updates "immediately" (after refreshing the page), but for the Home app to pick up the change it seems that I have to restart Homebridge. I'm going to do a bit more testing 😉 |
* Update Service Name if friendly_name is updated. (see #76) * Split up updateDeviceInformation into several functions to increase readability and reduce complexity.
Version 1.1.3 has just been released which should fix this issue. As mentioned, it might be needed to restart Homebridge once for the names to also update on the iDevice. Closing this issue for now, as I believe it is resolved. |
Hi
I don't know if the problem is in this plugin.
The problem is that if I have homebridge running while adding a new item in z2m, the friendly name does not update in homebridge and in the Home app.
As you can see in the screenshots, I have added a bulb in my daughters room. After inclusion, I have changed the name in z2m, but as homebridge was running while including the bulb, the IEEE address was used as the name. As you can see in homebridge, the name is indeed changed, but not used. Even if I manually change the name in homebridge, it does not change in the Home app and the only way to make it change (except to manually change it) is to reset homebridge or make sure homebridge is not running while including devices.
The text was updated successfully, but these errors were encountered: