I currently do a lot of my monitoring via MQTT for my solar system etc. I currently use MQTT Alert and set up my alerts to ring my phone at top volume until silenced. But I have missed more than one alert because I don’t think the background agent is always active and it doesn’t necessarily start when I reboot the phone. While the application does “monitor” the MQTT connection, it only makes a short sound if it drops, with no followup until you notice that there was a notification and go back into it to figure out why the connection is down.
Does anyone have foolproof way of getting things like security alerts that will always trigger on the phone, without having to check the phone 10 times a day to be sure the application is on and the connection is active?
If you turn off the battery optimization setting, does it get better?
I was missing a bunch of alerts for Signal because I downloaded it outside the GPlay store (which handles waking up processes better), and I got much more reliable notifications after disabling that setting. It uses a lot more battery though, but maybe that’s worth it for you.
https://dontkillmyapp.com/
Mine is a Pixel running GrapheneOS, and it doesn’t seem to be on your list. My issue is that I’m not using Google Play Services, so I don’t get the benefits that it provides, one of which is managing notifications. So Signal has to manage notifications itself, which means it basically needs to always be running instead of the more typical Android model of being woken up when there’s a notification.
Or maybe it’s what you linked. Either way, I’d check that and see if it’s an easy fix.
For signal, you can look into a fork called Molly. I have Molly setup, along with molly-sockets, which allows for notifications via unified push
I use molly’s unifiedpush edition, with ntfy, and that works for me. ntfy never crashed on me yet.
also, it’s not signal that handles waking up, but firebase when you get it from the google store, none I think if you install the apk, and unifiedpush if you get molly unifiedpush edition