Openhab cloud, push notifications not working

It’s working just fine for me on two Android devices. Are you all using iPhones?

I’do

I use an iPhone too.

Same problem here. iPhone 13 Pro, iOS17. Notifications worked until a few weeks ago, now nothing. I see all notifications in myopenhab and test-messages get sent to the device correctly.
Can it be an issue with the new iOS?

Do any of you have Android devices to try? I don’t have an iPhone or iPad to test.

I suggest consolidating discussion on the thread started by @raaahbin, so that we don’t have two parallel conversations.

Sounds like an issue with your device.
I can confirm receiving notifications on my iPhone 13 mini at iOS 17.0.3

Yes, maybe. But what? Everything works fine with the phone and notifications for the openHAB app are allowed. The app is up to date. I can see all notifications in myopenhab.org, but don’t get them pushed to the mobile.

Did you allow the app to send you messages ?

Yes, looks exactly like yours.

App Version is 2.4.56 on iOS 17.0.3

Mine is 2.4.60 - Testflight

My wife and I, both iPhone user, have the same problem. Me iOS 17 and my wife iOS16 and both app version 2.4.56. Everything is checked on in the settings. Also I deleted the app reinstalled it but no luck.

The problem is, that the notifications do not get pushed, when they got triggered by rules.
I can get a push-notification, when I do a test-notification (under devices) on myopenhab.org. In that case, I get a push-notification on my iPhone.

The notifications triggered in rules appear on myopenhab.org under notifications, and also in the app on my iPhone under notifications. But I do not get a push-notification for them any more since a couple of days.

I dont think, that it has something to do with configuration on my phone, because the test notifications are correctly displayed.

Also tried to relink (new uuid and secret) my local openhab with myopenhab.org and relink the phone with myopenhab.org.
Nothing changed. I get the push, when I do a test, but it does not get sent, when you trigger sendBroadcastNotification from within a rule.

So i can not reproduce this unfortunately, and its odd as your phone is obviously getting notifications. Are you using SendNotification or SendBroadcastNotification ? The only thing off the top of my head is the notification is somehow not tied to the user right? Seems unlikely since you see the notification history.

I’ve had this issue in the past and solution back then was to either(don’t remember which one worked in the end):

  • uninstall the app
  • remove all devices from myopenhab(same place where you send test notifications)
  • install app and login the app
  • send notification from openhab instance.
    or:
  • use invalid credentials in the app
  • remove all devices from myopenhab
  • use valid credentials(over mobile connection, ie not at home).
  • send notification from openhab instance.
    I went the same route first from updating cloud credentials on the instance and then trying to make it work, but it didn’t either.
    In my case the notifications did appear in the notification-list, but just didn’t pop up even though the settings on the device where correct for showing these.

Ok, so i have no idea why this is happening, there’s not any errors in the logs, and its kinda baffling since we know we receive notification requests and record them in the DB, but we also know notifications push to IOS when using the web interface. The one thing i did notice is all of the cases i have tracked down of people not getting notifications looks like they are attached to one specific node process, we use an IP based hash load balancing algorithm, so socket connections get the same server unless its not available. When using the web interface, you are load balanced differently, and to a different node process then what sockets are connected to, which also might explain why the web interface works. This would also explain why its happening to a percentage of users, and not everyone.

I went ahead and restarted this process, i’m hoping that resolves it.

2 Likes

As also replied in the other ticket ( Notifications through myopenhab no longer appearing on iPhone ) it looks like the restart did help.

Thank you!

I’ve just started experiencing the exact issues described by everyone in this thread. It stopped working just a few hours ago.

Steps I’ve taken:

  1. Checked that notifications are being sent by opening the “Notifications” area in the mobile app (and on myopenhab.org). They are.
  2. Checked that I can send a notification via the myopenhab web console to my device. I can.
  3. Deleted the app on my phone and reinstalled (thus re-registering for push notifications). This did not help.

I suspect that service has got stuck again! :grimacing:
Can anyone confirm and/or assist me? (I’m quite reliant on these push notifications)

(P.S. I was NOT one of those affected by this issue last week, so I assume a new subset of users has been affected :cry:)

I can confirm the same issue you’ve reported, and I’ve taken the same three steps you’ve listed.