When I was making my IoT washing machine sensor, I used Blynk.io to push notifications to my phone but of course that service became commercialised and is no longer free. I could not find any nice easy to use alternative except for Telegram which is what I use now. This service looks exactly like what I would need and I appreciate the promise to keep it open source.
Ntfy.sh – Send push notifications to your phone via PUT/POST
41–50 of 306 posts
Re: Ntfy.sh – Send push notifications to your phone via PUT/POST
#42Hey there. In Android, is there a requirement or any kind of dependency on Google Play Services? Also, do notifications work when the Ntfy app is in the background? Do I need to disable battery optimizations for it? Thanks!
Given that the ntfy Android app is available through F-Droid, I strongly doubt that Google Play Services is used at all.
- avoid Google servers - preserve battery - show timely notifications
Re: Ntfy.sh – Send push notifications to your phone via PUT/POST
#43Earlier quoted context omitted.
https://pushover.net/ Has existed for several years. It works great for me.
Additionally they support "Critical Alerts" on iOS for when you really need to get a notification regardless of whether or not you've muted your device. Probably something similar is possible on Android as well?
Re: Ntfy.sh – Send push notifications to your phone via PUT/POST
#44 > Will you know what topics exist, can you spy on me?
> If you don't trust me or your messages are sensitive, run your own server.
This is the way. No pinky promises in whitepaper format[2] that leave out the most important bits, no meticulously constructed but entirely meaningless marketing statements[3][4], but unassuming and deferential logic with a mitigation path.1: https://ntfy.sh/docs/faq/#will-you-know-what-topics-exist-ca...
2: (warning: redirects with identifiers, how ironic) https://www.whatsapp.com/security/WhatsApp-Security-Whitepap...
Re: Ntfy.sh – Send push notifications to your phone via PUT/POST
#45> You should download Android Studio (or IntelliJ IDEA with the relevant Android plugins). Everything else will just be a pain for you. Do yourself a favor.
I'm not into mobile programming, and I wonder what is behind this statement.
Re: Ntfy.sh – Send push notifications to your phone via PUT/POST
#46So the developer just pays for the server and the Apple Developer Program out of his/her own pocket for the public good?
Re: Ntfy.sh – Send push notifications to your phone via PUT/POST
#47I just go to the website with my browser click generate. Then in my script I do `curl $pushurl?title=jobdone`. When it gets triggered a notification popups on my phone that says "jobdone".
It uses the native browser web push API so I don't need to install anything extra.
Re: Ntfy.sh – Send push notifications to your phone via PUT/POST
#48Combine this with Apprise and you have yourself a nice push to anything service. https://github.com/caronc/apprise
Re: Ntfy.sh – Send push notifications to your phone via PUT/POST
#49Hey there. In Android, is there a requirement or any kind of dependency on Google Play Services? Also, do notifications work when the Ntfy app is in the background? Do I need to disable battery optimizations for it? Thanks!
The Google Play services question is answered here: https://ntfy.sh/docs/faq/#why-is-firebase-used And yes, you need to disable battery optimization if you don't want to use Firebase. On my phone it uses 1% battery in a full day (17h).
Re: Ntfy.sh – Send push notifications to your phone via PUT/POST
#50Earlier quoted context omitted.
https://pushover.net/ Has existed for several years. It works great for me.
Thanks, I may have dismissed Pushover simply because it isn't free but a $5 one time purchase is actually not too bad.