I'm using Hubitat hub at work and planned to buy one for home. Will I be able to use same app and switch between hubs on my phone (iOS)?
I do this at home but switching between two is a bit painful with 4 or 5 steps just to log in. The app also seems not to maintain login for long and i find i am frequently authenticating through the 4-5 steps. Homeassistant must have a long auth token and seems to remain logged into the app for weeks. IMO this function of Hubitat experience could be greatly improved
Yes, this should just be a few taps in the mobile app: tap you hub name on the Home tab, select "Switch to another hub," then choose your other hub.
The first time you do this (if you've never used this hub before with the app -- or if you are using it with multiple devices), you'll get asked to create (or select) your mobile app device so the hub knows to associate that device on the hub with this instance of the mobile app for things like notifications and geofence. But otherwise, it's just those three taps. And note that you can only have one hub "active" with the mobile app (on the same device) at one time.
I use both the old app and the new app to control two different hubs. Works great (assuming the old app is still available), one tap control with instant login.
And once the hub is programmed the way you like it, it's easy to set up a cloud link to each specific dashboard if you use remote admin. Save that as an icon on your phone and then access that dashboard from anywhere with just a single click. I've had as many as four hubs in different locations and this worked well for me. Just go to the dashboard setup page and you'll see a place to copy the link for that board.
This is not something I’ve experienced with the mobile app.
Are you using IOS or Android ?
iOS.
Nearly every time I open the app it wants auth, do you have auth enabled on your hubs?
Only one hub that’s currently active, but yeah it has login security authorized.
I do notice that safari on my iPhone has to login very frequently if the page is in the background for more than a few minutes. Not sure why that login doesn’t persist longer, as it does on desktop browsers.
But the mobile app rarely logs out of my hub.
Wonder why my app is so different then, it’s a pain in the ■■■
Do note that even if only one hub is active at one time, you will receive notifications from all hubs on the app (not just the active one).
Make sure that each mobile device connected to your hub uses its own dedicated mobile device driver. If multiple devices share the same driver, only the most recently used device will receive push notifications. When the hub detects multiple devices using the same driver, the app will attempt to automatically log out inactive devices.
Also, verify that battery optimization is disabled for the app on your device. Battery optimization can cause the app to log out after a period of inactivity, which may also interrupt notifications and other background functions.
How would this work with two hubs and three presence iPhone devices?
I think the point @bobbyd was making relates more to your comment about:
For some users this can be due to the situation Bobby describes:
This is more good general advice / information, and not solely related to having multiple hubs, the same would be true with a single HE hub and multiple mobile devices using the mobile app.
This depends on the location of the hubs, i.e. multiple hubs located in the same location (like me), or hubs spread over a wide geographical area, like I expect the OP is describing. For the latter it will also depend on the networking setup..
For my situation (co-located hubs), I connect to one main HE hub in the app on my phone or tablet, then use hub mesh to share that device with other hubs that may need to generate notifications, for example. So I connect to Hub A and the mobile device is meshed with Hub B, Hub B generates a notification that is sent to the meshed representation of the mobile device from Hub A and it arrives on my phone without needing to be connected to Hub B.
The same can be true for presence. Devices can all connect to a central hub and report presence, which you can then share using hub mesh on other HE hubs.
I have also used a small app Robert created to group devices together under a single "proxy" device that can be used when sending notifications, which makes it a lot easier than having to add a new mobile device to all the notifications on the hub.
The OP's situation could be a little different, so I might add another post to clarify some details.
Like most have explained here, the answer is essentially yes, you can switch between hubs in the same mobile app installed on your phone. It may be worth describing a little more about your intended setup and how you want to use the app.
- Presumably your work location and home are not on the same network?
- Will you want to receive any notifications from your work setup while at home?
- How are you intending to use the mobile app?
- Do you intend to use presence detection at all, such as Geofencing?
- Will you be using dashboards at one or both locations?
- Are you happy to manually switch to the hub you are interested in when you need to?
On that last question, it is also worth mentioning that while the app is "connected" to only one hub, that relates to the built-in features in the app such as GeoFencing, notifications and the device tiles, but you can also open a browser instance for any of your hubs under the Find Hubs section, however, I expect you need to be on the local network for the hub to use this.