Send messages to phone while Do Not Disturb

He everyone!

I’m looking into a way to send messages to my phone (iphone) even if it’s set to “Do not disturb” or when the sound is switched off. I’d like to use this for emergencies (flood, fire etc).

I found a very nice library to send messages using “Find my iPhone” which does exactly this (https://github.com/Neal/FindMyiPhone). The only downside is that it is a php script and since i’m running hassio on a raspberry pi, this script runs on a different server and I’d rather run the script on the raspberry itself.

Has anyone found a elegant solution for this?

Thanks!
Wouter

Have a similar problem - did you find a solution in the meantime? I cannot get my php scripts to work using the “shell_command” function…

I’m using zanzito on my android phone. I can ask HA to publish a message to a topic in MQTT so that the zanzito in my phone can sound the alarm even my phone is in silent mode.