Bypass do not disturb setting in iOS to play sound

Post Reply
Niels1978
Posts: 3
Joined: 20 Nov 2020, 15:53

Bypass do not disturb setting in iOS to play sound

Post by Niels1978 »

Can you please alter the code to have a sound playing from the app even when I put my iPhone in do not disturb mode?

I love my sleep and I put my iPhone in do not disturb mode ( the moon 🌙 icon. But I really would want to have an alert with sound if a person is detected with my netatmo doorbell.

It is possible to code. Here is the page to alter the code of the security app.
https://developer.apple.com/documentati ... ertsetting

When UNNotificationSetting.enabled, this property authorizes the app to play critical sounds that ignore Do Not Disturb and the device’s mute switch.
For local notifications, the system attempts to play a critical sound when the sound property of the UNNotificationContent object contains an object returned by the defaultCritical property, the criticalSoundNamed(_:) method, or a related method.
For remote notifications, the system attempts to play a critical sound when the notification’s payload contains a sound directory that contains the critical key.
Critical alerts require a special entitlement issued by Apple.

It is a simple change and I really hope you can built this in the app, maybe with an option to enable or disable the bypass in the security app options

Thanks
Abildgren
Posts: 11
Joined: 03 Nov 2020, 17:04

Re: Bypass do not disturb setting in iOS to play sound

Post by Abildgren »

+1
GEORGzer
Posts: 2663
Joined: 14 Jan 2014, 18:14

Re: Bypass do not disturb setting in iOS to play sound

Post by GEORGzer »

Critical Alerts are already implemented for the Smoke Alarms.

As it says in the document „Critical alerts require a special entitlement issued by Apple.“
I doubt that they rate a doorbell as such.
Home: Weather Station (V3 + Rain & Wind Gauge, 3 additional Indoor Modules, Shield), Valves Starter Pack + 7 Valves, Video Doorbell
Office: Thermostat (V2), Healthy Home Coach, Smoke Alarm, 2 2in1 Sensors

Not a Netatmo employee
Niels1978
Posts: 3
Joined: 20 Nov 2020, 15:53

Re: Bypass do not disturb setting in iOS to play sound

Post by Niels1978 »

I found a competitor last week that has this for a doorbell motion sensor, but if forgot the name 🙄
jmjlai
Posts: 30
Joined: 11 Jan 2021, 11:43

Re: Bypass do not disturb setting in iOS to play sound

Post by jmjlai »

+1
AllChefSki
Posts: 4
Joined: 01 Dec 2020, 17:15

Re: Bypass do not disturb setting in iOS to play sound

Post by AllChefSki »

+1
digitalelise
Posts: 10
Joined: 18 Jun 2021, 03:32

Re: Bypass do not disturb setting in iOS to play sound

Post by digitalelise »

The ring app for ring doorbell overrides do not disturb on iOS.

This is critical, we just had a break in last night and because our Netatmo doorbell didn’t alert with a sound on iOS we didn’t see that someone was entering the house until a few minutes after they were inside and heard them in the kitchen.
Post Reply

Return to “Feature request”