Having some success ... but not complete success ...
Both my and my wife's phone are connected as the same device ("Pixel 10 Pro"). For the life of me I can't change the Mobile device ID/name of either phone to something else. I need to be able to create a device in the app. I have tried a lot of things but listed below is what I thought would be a "bullet-proof" solution ... but it does not work.
Situation:
Pixel Pro 10 (two phones); Android, up to date
New app (green background) installed and "operational" (with problems)
Hub C-8
Method used to (try to) create a new device:
Log out of Hubitat App
Clear app cache and storage
Uninstall app
Reinstall app
Select Hub
App logs in without offering to assign or create a new device
I am looking help to identify the correct method to create a new phone device.
Click on the device, and then click on the "Device Info Tab", you should be able to change both the Device name and Label for any existing device, and then click Save and Close
Also note that if you are not sure which device you are looking at and they have the same name, you can send a test message to the device by going to the "command" tab, typing text into the "device notification" box (I typed "identify me"), and clicking run. The phone that is that device should get a message if it is logged into the app.
You should not need to uninstall/reinstall if you are clearing cache and storage. You should do a force stop before you clear cahce and data thogh. You might try a reboot after that to make sure any android cache is cleared.
One other thing, I understand that you are supposed to be able to have multiple devices logged in as the same user without issue. However, this caused problems for me. So, I use different user e-mails to log in for each device.
I was not clear ... I am not having a problem naming the devices ... I am having a problem getting the phone to use the device ... because it does not give me a "select device" dialog on login. I need to be able to select (or create) a device at login. On my phone I saw both devices. On Liz I saw no selection capability. Both phones are assigned to Cellphone-Damian.
This really should have been kept with the original post.
You stated you were having trouble with changing the name/ID
If the issue is just that you are not given the option to choose the device on log in for the second phone (that is what it is sounding like), then you appear to be doing the correct steps. The only things I might add are: 1) click the "recents" and do a close all (the app may still be open in the background), and 2) a reboot of the phone after clearing cache and storage. Again, uninstalling and reinstalling should not be needed as clearing cache and storage does essentially the same thing on android phones.
However, you never answered my last question on the other post: Are you both logging in with the same username (e-mail) and password? If so, that may be part of your problem.
Also, I did find this on a search. It might break some of your automations though if your phone is connected to any automations.
I apologize for the lack of clarity. I am trying to be clear. this time I will answer your questions directly.
... the issue is just that you are not given the option to choose the device on log in for the second phone (that is what it is sounding like),
Yes. I thought that I stated this in my first post but apparently I was not clear enough ...
However, you never answered my last question on the other post: Are you both logging in with the same username (e-mail) and password? If so, that may be part of your problem.
Thanks ... I read the article ... both phones have been logged in/out many times. I there is a suggestions that the old phone is still "logged in" that would be unrecoverable for me as the phone has been reset and traded-in. If that is my problem, I will need another solution.
cannot see the end of the DNI in your screenshot
Odd ... but I recopied here using a different method
Executed:
Edited the DNI to add OLD on the web interface to the browser
There was no "Swap Device" option ... but there are not that many automations applied to this phone ... so no big deal
Logged out of the phone app
Force stop Hubitat
Clear cache
Clear storage
Log into phone app
Select hub
Phone App logs in with no request to "change device"
Phone App logs in with "Cellphone-Damian" but what I need is for it to log into "Cellphone-Elizabeth"
Sorry I did not read this whole thread I just jumped in because one of my old posts got tagged.
You need to change the DNI of "Cellphone-Damian" since the one the app is linked to, so that it wont find it, and ask you to select a device. You can then either create a new device or link to an existing one.
Its in the Hubitat settings, I just assume everyone knows about this feature by now.
Once you get it how you want it, if you have duplicate devices, delete the old ones. If you end up not making duplicates I would take the "OLD" out of the DNI.
One other thought, does Elizabeth have a separate Hubitat login, or is logging into your account? That could be why it is picking your device by default if you are sharing the account. I think it stores the DNI on the cloud per account (but should also be by devices as well, for example when I use phone vs iPad it has separate devices).
You have to create the new device before you can swap them.
If this is happening after you
(Both Phones)
Logged Out
Force Stopped
Cleared Cache
Ceared Storage Data
REBOOTED PHONES
AND you have changed the DNI on the old devices in the app to add "old", Then it sounds like time to tag. @support-agent There is no way it should be connecting as any device automatically if the old DNI does not exist (Which it does not if you changed the DNI's on both devices)
One last thing could also try is if you know how to clear cache in recovery on your phones. I do not know how to do that on PIXELS as I have a samsung.