I'm curious about how people manage sending notifications when they have multiple HE hubs.
I'm thinking the "simple" logical answer is to pick one HE hub to manage notifications, and that is probably where my thinking is at, but from time to time I may log into different hubs to adjust settings or device settings, etc. I would be interested to hear if there is a way to handle this in an elegant way, where you can be logged into any hub.
I am expecting you can share each mobile device via Hub Mesh with each HE hub, sending out notifications to each "copy" of a mobile device from each hub, but (if that is true) I expect that would require updating each notification rule if a new hub is introduced.
Happy if there is a thread I have been too lazy to find ....
This is my setup. I use a Notification Tile on the dashboard of the "main" hub and I share it through hub mesh to other hubs so notifications from all hubs are being displayed on my main dashboard.
I'll take this opportunity to thank @ thebearmay for yet another great development of his that I am using with great pleasure.
That's a good point, I was focused on notifications arriving on my phone or tablet, but having them appear in different dashboards is also another consideration. Thanks @amithalp.
I've been thinking on this topic since I added a second hub at Christmas... I started by sharing the mobile app device via hub mesh - which works 99% of the time for my use cases. I recently decided to add Pushover to my setup - each hub then calls the Pushover server which sends the notification to my phone - doesn't matter which hub is selected in the Hubitat app.
In the end, I figured that a mobile app notification has to go through a cloud server, then to my phone - what does it matter if that cloud is Hubitat or Pushover?
What I’ve done is add my mobile to each new hub and set it as a notification device - this gives the mobile a direct push from each hub. In addition I have a Notification Tile on my main hub and share it with Hub Mesh to each hub and set it as an additional notification device. I played around with a Notification Switch for a bit (switch turns based on the notification containing a phrase) and a device driver that pushes notifications to NodeRed for some edge cases for a bit too.
But does this setup allow you to have notifications from hub x appear in the mobile device and then notifications from hub y also appear on the mobile device, even if the mobile device is logged into hub x in the HE mobile app?
Not trying to be pushy (pardon the pun), just wanting to understand what is possible....
I seem to get pushes from all hubs regardless of which one I last logged into from the mobile app. I’m running Hub Monitor on my development hub which sends me pushes when one of my limit settings is reached/exceeded on either hub or when a new update is available, and have HPM on all hubs notifiying of updates; the main hub handles most of the rest of the notifications (intrusion alerts, etc.)
Hmmm.. If I have an RM rule on hub X to send a notification to my mobile, I only receive the notification if I am logged into hub X on my mobile, and if I am logged into hub Y a similar experience, I get notifications from hub Y, but not any notifications from hub X. Perhaps I need to do some more testing....
And I should probably clarify that by receiving notifications that I have configured them to send to devices that represent the mobile device on that hub... If that makes sense...
Would ultimately be interested in HE's take, but happy to give you guys a few days grace while I play around with my setup and report back. That said, any suggestions are also welcome, but no pressure....
I'm on Android as well - same experience, I
If the main app device is selected, I only get notifications from hub A via the Hubitat app when hub A is selected.
In my (limited) experience, the shared device is not selectable except on its home hub
My personal inclination is towards Tasker and use of personal VPN I have setup using Wireguard, but that would rely on me connecting to the VPN consistently.... and my approach working...
If I could make any sort of request, it would be some way of managing this more easily, if I can't get it to work Getting a little ahead of myself here, but feels like it has not been included as an option....? Was going to say the registration of a mobile device should be shared across Hubs, but can appreciate the complexities that may introduce. Equally, identifying one device as being the same as an existing device can also be problematic based on the method used to connect (different MAC address). All those concessions made, happy to put the challenge to Hubitat staff to solve this problem....
The only difference I'm seeing is if I look at the Notification tab in the mobile app - then I'm only seeing the notifications from the last logged in hub, but still receive the push popups from both.
I still see notifications in the notifications tab when logged into the appropriate hub, even if they arrived some time ago when not logged onto the same hub, but I don't see "real-time" notifications from hubs as notifications on the android phone when logged into a different HE hub.
I set this up earlier today and was able to see the mobile devices from other hubs in the selection screen when logging into a hub on the mobile app.
For now I have left them duplicated and select the device "local" to the hub, but I may rationalise these down at some point.
I also made use of @bertabcd1234 's notification proxy app. Not strictly required to deliver what I was after in this thread, but a nice addition nonetheless. This allows for mobile devices to be grouped together and referenced using one virtual device in apps where notifications are being sent. Nice work @bertabcd1234!!