iPhone Replace

Hi!
I had to replace my iPhone by a newer one but same model.
In openhab the old iPhone was nicely integrated…
What is best way to use the new “thing” on all relevant places as the old “thing”.
changing the UID is not supported… says the frontend :wink:
Regards, Jürgen.

I don’t know what binding you are referring to so can only talk about generalities.

Your options are:

  1. reconfigure the Thing to point to the new iPhone instead of the old one

  2. delete the old Thing (do not remove links and Items) and create/discover the new Thing. At the time the Thing is first created/discovered you have the option to set the UID so change the UID so it matches the UID of the old one and your existing Items and links will work.

  3. create/rediscover the new Thing and manually recreate the the links to point to your existing Items. Before deleting the old Thing click the option to remove the links to avoid orphaned links.

  4. from the old Thing remove the Items and Links and then delete the Thing. Then recreate/rediscover the new Thing and use “add equipment to model” to recreate the links and Items.

  5. create/rediscover the new Thing, stop OH, and manually edit the JSONDB files to have the Links point to the new Thing instead of the old one.

Hello Rich,

thank you again for your valuable and comprehensive answer!!

I decided to test variant 2… so I selected “add device manually” because adding from the discovered list didnt give me the chance to set the UID.
When added with the old ID (after selecting the bridge, the constructed, final ID was exactly the same as for the deleted old one) and setting the NEW Device ID (which I find in the discovered things list) the new thing had the OLD device ID (as if internally the old Device was still anywhere in oh’s memory and was retrieved…
Can you imagine why this is so? I can’t set up the new thing with the old UID and new Device ID…
Regards,
Jürgen.

It should.

There is not enough detail about the steps you took to guess.