ztalbot2000 / homebridge-cmd4

CMD4 Plugin for Homebridge - Supports ~All Accessory Types & now all Characteristics too
Apache License 2.0
145 stars 14 forks source link

Change serialNumber #119

Closed arkadicolson closed 2 years ago

arkadicolson commented 2 years ago

Hi

One short question. I changed the serialNumber after initial install but it doesn't change in the home app. Is this cached somewhere? Is there a way to change this somehow without deleting the device? I'm asking this because the controller app is reporting this conflict when making backups of the config.

Thanks!

ztalbot2000 commented 2 years ago

Hi,

Homebridge would probably cache the serial number. I don't know off hand how to change it without deleting the accessory and then adding it back. I could look into it later, it's 4:23 AM at the moment.

Ttyl, John Talbot

On Wed, Dec 22, 2021 at 3:46 AM arkadicolson @.***> wrote:

Hi

One short question. I changed the serialNumber after initial install but it doesn't change in the home app. Is this cached somewhere? Is there a way to change this somehow without deleting the device? I'm asking this because the controller app is reporting this conflict when making backups of the config.

Thanks!

— Reply to this email directly, view it on GitHub https://github.com/ztalbot2000/homebridge-cmd4/issues/119, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSBCX656INATSQ5USJREWLUSGF7BANCNFSM5KSAVJAA . You are receiving this because you were assigned.Message ID: @.***>

mitch7391 commented 2 years ago

@arkadicolson I would suggest have suggested to just delete the accessory from the homebridge cache from the UI settings; which sounds like what you want to avoid. Could be worth trying to removing serialNumber from your config, save and reboot; then add it back in, save and reboot. This might sort it out and is worth a go.

ztalbot2000 commented 2 years ago

Hi,

I was right and so is Mitch. Unfortunately that is the only way; At this time. I say this is the only way now, because I have been working on Homebridge-UI. It is no way near production ready, but I did try it for the serialNumber and it allowed me to update it! So I will close this as the accepted answer for now is to remove and add it back. As well there is already an open ticket for the Homebridge-UI feature.

Take care, John Talbot

On Sun, Dec 26, 2021 at 6:22 AM Mitch Williams @.***> wrote:

@arkadicolson https://github.com/arkadicolson I would suggest have suggested to just delete the accessory from the homebridge cache from the UI settings; which sounds like what you want to avoid. Could be worth trying to removing serialNumber from your config, save and reboot; then add it back in, save and reboot. This might sort it out and is worth a go.

— Reply to this email directly, view it on GitHub https://github.com/ztalbot2000/homebridge-cmd4/issues/119#issuecomment-1001159484, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSBCXZD7WFQT6K2ZLTXWJTUS33HFANCNFSM5KSAVJAA . You are receiving this because you were assigned.Message ID: @.***>

ztalbot2000 commented 2 years ago

closed as per last comment.