Thoughts on notifications and messages

Hi everyone :waving_hand:

I’m bringing up the topic of notifications that Gladys could send to users, a feature that currently doesn’t exist.

When I first asked about this, I was suggested to use Telegram, but here’s why I think that solution isn’t suitable.

Personally, among other things, I use Gladys to manage the security of my home. Cameras film the entrances with opening sensors on the windows and doors. I would like a scene to alert me on my phone, whether I’m at home or not, if someone is in the garden, if a door has opened, etc.

As it stands, the only way Gladys can notify me is by sending a « message » on Telegram or ntfy. I’ve tried both. I would like an « urgent » notification (so that it rings even in silent mode), but that doesn’t exist with these apps. I’ve rigged up an automation on my iPhone to get around this and shout « Alarm » when I receive a notification from one of the apps. In short.

The problem is that my phone can’t differentiate a Telegram/ntfy message of the type « alarm » from a message of the type « Gladys has been updated ». And that’s twice that my phone has rung in the middle of the night for this :sweat_smile:

(And on top of that, it conditions the use of Telegram or ntfy exclusively for Gladys)

  1. Would it be possible not to send update information on all configured messaging channels? Or how to manage this differently?

  2. Is a push notification system in the works (if it’s with Gladys, I’m all in)

  3. I would like, when I receive a notification, to click on it and have it open Gladys, on the messaging. Having the messaging as a landing page for notifications seems appropriate because a scene can put whatever it wants in it (images, text, …)

This is what I had with Home Assistant, and despite all my efforts, I can’t seem to find it with Gladys :confused:

« Ring even in silent mode » on iOS is called a critical alert (Critical Alert). Apple only grants this on request, and only to native apps.
An alternative would be to add an urgency level when sending messages from Gladys (normal / high / critical).
Applications like Pushover (paid) understand this and can make your phone ring.
I will write a specification to see if it’s possible and if it covers the need.
And I see that there is no external PushOver integration, I’ll take care of it this weekend :wink:

Yes, I can develop a global setting that allows you to choose the communication channel for system messages (update, backup, low batteries).
This would be a choice between:

  • all channels
  • Gladys discussion only
  • any notification type integration (Free Mobile, NTFY, Telegram, …)
    What do you think @pierre-gilles?

No, not to my knowledge. I see two options:

  • use Progressive Web Apps (PWAs) notifications available since iOS 16.4
    This requires installing Gladys on your home screen and accepting notifications
    You would have to go through Gladys Plus mandatory
    You need to look at the equivalent for Android
    It’s a big project (which will certainly not arrive before next year).
  • develop a native application but it’s very heavy and not at all the orientation of the project today (unless we make an application solely for notifications :thinking:)

You can already put this link in your message https://plus.gladysassistant.com/dashboard/chat. If you click on it, you will arrive on the discussion page.
Or any other link (to a dashboard for example), contextual to your scene.

Thanks for replying @cicoub13 :raising_hands:

Yes, good idea!

We can add that when I get back from leave, yes, good idea :slight_smile:

Indeed, I saw that PushOver allows critical notifications, thanks if you add a PushOver integration, I will take the time to try this solution :slight_smile:

Otherwise, the notifications from wpa would already be enough for me in large part, and it avoids going through a third-party solution. The dedicated app also has its advantages. I understood that it is possible to just create an app that is simply a web viewer. This can help better manage notifications, create widgets (phone), shortcuts, etc.
But indeed, I understand that this is much heavier ^^

Ok thanks for the tip of the redirect link, and redirecting to a particular Dashboard is also a good idea! I hadn’t thought of that. However, to clarify my point, what I would like is that when you open the notification, it redirects to the page of our choice / messaging.