Force notifications on a muted smartphone?

Hi,

I’d like to send HA notifications to my phone and force them to play the notification sound, even if the phone is muted.

Is that possible using the HA app?
I want to use this to notify me if eg my front door is open for too long. Even if the phone is muted, I want to notifications to be heard.

I´m not sure what phone you use, but for iOS there is an option: https://companion.home-assistant.io/docs/notifications/critical-notifications/

Sorry, forgot to mention: android

See here. not sure this is the latest android version as I do not have any android devices

“We are planning to expand notifications over the next few versions to continue to match the existing functionality available in the iOS app. That includes things like sending text back to Home Assistant and critical alerts.”

I tried sending the following critical notification to service: notify.mobile_app_mydevice:

        title: "Wake up!"
        message: "The house is on fire and the cat's stuck in the dryer!"
        data:
          ttl: 0
          priority: high

(from: https://companion.home-assistant.io/docs/notifications/critical-notifications/)

Anyways, I simply get a silent notification in the bar. But no sound is playing! Is does not make any difference than sending a normal notification. So I’m probably out of luck?

Not sure… It seems you can play sounds for notifications, but not sure on the forced ones.

Even if I chose the default sound, this still is not played if muted.

One option is to use tasker (and notify addon) to intercept the notification. Then use the tasker to play a sound. I used to do this some years back. This method is not a walk in the park altough not super tricky either.

The other app Ariela might have this, not sure.

I’m having the same issue whilst tyring to get it working today. I suspected it was a bug but I came accross this enhancement request on the github issue queue so it looks like it’s not setup to work yet.

https://github.com/home-assistant/android/issues/561

Fingers cross they pick up the enhancement

1 Like

I’m having the same issue. Running Android 11, configured the channel to a specific sound and to ignore DnD. My high priority ttl=0 notifications arrive up to an hour too late. Did you guys find a solution? Or is this Tasker/Pushbullet?

Edit: it appears pushing a notification through the Alarms channel should do the trick. Anyone know if this is possible with the HA Android Companion app?

https://developer.android.com/training/notify-user/build-notification#system-category

Seems there is movement on the issue! Hacktoberfest is bringing us good stuff again :slight_smile: