Live data from Hacker News

Ntfy.sh – Send push notifications to your phone via PUT/POST

ntfy.sh

21–30 of 306 posts

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#21
post #15

Hey 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!

No, you can download the app from F-droid.

There's no dependency on Google services, although the app can use them if available.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#22
post #17

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.

https://pushover.net/ Has existed for several years. It works great for me.

Yep. Same for me. Reliable, not subscription based and very easy to integrate. Nothing fancy in a positive manner.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#23
post #17

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.

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.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#24
post #15

Hey 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.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#25
post #3

Very nice. I use a telegram bot for doing this as telegram API also makes it a simple GET request to send such notifications to yourself (once you have created a bot). Also it's surprisingly hard to kill telegram for some reason so it's kinda robust. My stupid mi phone is quite aggresive in killing most background apps except whatsapp and telegram.

I find telegram messages only get insta-delivered about half the time. The other half, they're delayed till I next re-open the app. Doesn't seem to happen with any other app.

I suspect it's because I'm subscribed to too many high traffic group chats, and even though they're muted, the telegram servers still send large numbers of push notifications for them, which eventually start hitting some rate limit and everything gets dropped - even for unmuted conversations.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#27
post #17

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.

https://pushover.net/ Has existed for several years. It works great for me.

+1 for pushover

I’ve been using for quite a fee years. The app is not free but once you pay the one-time fee for the app, they have a generous free tier for personal use, and it has worked quite flawlessly for me so far.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#28
post #3

Very nice. I use a telegram bot for doing this as telegram API also makes it a simple GET request to send such notifications to yourself (once you have created a bot). Also it's surprisingly hard to kill telegram for some reason so it's kinda robust. My stupid mi phone is quite aggresive in killing most background apps except whatsapp and telegram.

> Also it's surprisingly hard to kill telegram for some reason so it's kinda robust. My stupid mi phone is quite aggresive in killing most background apps except whatsapp and telegram.

Part of the reason for this is hardcoded whitelisting.

Re: Ntfy.sh – Send push notifications to your phone via PUT/POST

#30
post #15

Hey 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).

Post reply on HN