Changing Phones; App Doesn't Allow Device Selection

I have been thru the existing community answers and nothing has worked for me.

I have two new phones. I uninstalled the Hubitat app on both and then reinstalled the app on both phones and logged in. On one phone I received the request to select a Hub and then select an existing phone or create a new one ... so I created a new phone "Pixel 10" and I see it as a device on the hub.

On the second phone the app logs in, I select a hub but then the app proceeds to go all the way into the app with no request to add a new device.

Additionally, I logged out, cleared storage and logged back in but the app still proceeds to go all the way into the app with no request to add a new device.

In retrospect, my guess is that the user of the phone selected the old phone name "Pixel 6" when logging in last December ... So I presume that it is using that name.

I would like to get ideas on how to force the app to ask for a new phone please?

I don't have an answer as to how to do that... But, I would like to know why you wouldn't just reuse the old phone devices on the Hubitat Hub? This makes everything so much simpler when changing to new phones, as none of the Hubitat Apps on your hub need to be touched to swap the new phone devices in for the old ones. Everything will just work like it is supposed to. That is the whole purpose of the Hubitat Mobile App asking the question to reuse a phone device that already exists on the hub. If the name of the phone device is what you want to change, simply open the device details page for that device on your hub and change the LABEL field to whatever you'd like. I personally like naming those devices something like "Dan Phone", so that it is obvious whose phone it is. YMMV, of course!

2 Likes

You can also change the device name. I set the name as {person's name} Phone and the Label to the {Person's Name} + {Device Model}. As long as you are not messing with the device ID, it doesn't mess anything up and maintains continuity in apps. Also makes it easier if you have to pick the device again due to a logout/log back in situation.

ogiewon, :grinning: Yes I realize that now. But too late ... I already executed the changed names (but I have big problems with that). I concur with your assessment though.

Tray,

Agreed. Thanks. That seems like a good potential solution.

My problem has compounded since I wrote the initial question. It turns out that 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 of either phone to something else. I think that I need to get this fixed first. I need to be able to create a device in the app.

Situation:

  • Pixel Pro 10 (two phones)
  • New app installed and "operational" (with problems)
  • Log out of 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 would like to create a new device.

Assuming you have phone devices in hubitat that are currently tied to automations, I would first change the names and labels of the devices in hubitat (preferably on the web interface on a computer) to "his" and "hers" or the appropriate names.

Device Filter for Mobile App. For reference, the small text is the device NAME, the larger text is the device LABEL. I do not recall if the app presents the names or the labels. So, I would change both.

Then you may need to log out of the app on both devices. I would also force close the apps on your phones, and then clear cache and device data BEFORE you try relogging in the app. Since the names are changed, you can log in and should be able to pick the appropriate names when prompted to select devices. The easy way to find the devices is on the device tab and filter for "Mobile App Device"

Afterwards, (again, preferably on the web interface on a computer) verify that the remaining phone devices are not connected to any automations and delete them. If they are still connected to any automations, fix that, and then delete the extra ones.

Tray,

Close ... but no cigar. I have detailed what I have done below ... but "Her" phone still automagically connects to "His" device. There was a device connection question on "His" phone, but not on "Hers". Somehow the phones think that they are the same?

  • On both devices
    • Log out of the app (Home (bottom)/Person (top)/Log out)
    • Close the app
  • In Hubitat web interface
    • Name/label changed from “Pixel Pro 10” to BAD/BAD
    • Delete BAD mobile device (this is not assigned to any automations)
    • Delete old Pixel 6 mobile device (this is not assigned to any automations)
  • Renamed each phone name/label connected (to respective automations) to His/His and Hers/Hers
  • BEFORE relogging into the app, on both phones:
    • Force stop Hubitat
    • Clear cache
    • Clear storage
    • Uninstall app
    • Reinstall app
  • Log in
    • His
      • Select Hub
      • Connect to “His”
      • Location etc,. etc.
      • Connected to “His” (GOOD)
    • Hers
      • Select Hub
      • Location etc., etc.
      • Connected to “His” (BAD)

Does "Hers" have its own login information? I had weird issues when I was using the same user/account to log into multiple devices.

(See Android App Logging out on devices - Possible fix or workaround)

Yes.

Let's stop this discussion here and move to Can't Create New Phone when Installing App; Always reverts to existing phone? - #6 by Aussie

I was creating the other post as a "bug" report for use if this problem was not resolved ... that did not work out well ... I probably was not following the community protocol.