Live data from Hacker News

Simple Raspberry Pi Powered SMS Gateway

blog.haschek.at

71–80 of 85 posts

Re: Simple Raspberry Pi Powered SMS Gateway

#71
post #65

I made something similar a few years back with a Pi 1 and a GSM "hat". It came with a C SDK so I had to write AT commands to communicate directly with the modem and it worked great until I didn't need it anymore. Its purpose was to text me when my power or internet connection went down at home then I could respond with commands such as to shutdown the servers etc. When power/network came back it would text me the new…

The plans obviously exist at least at the wholesale level. These: https://shop.blues.io/collections/development-kits/products/... Come with pre paid 10 year internet data plans - but with a 500MB data limit (which you can top up), all for $79 including the hardware and interface board. In raw bytes, that'd be enough to send 1000 140character SMS messages a day every day for 10 years. Realistically, there's probably a…

Thanks! Now I have a Good Name[tm] for my "junk" box(es). :-)

Re: Simple Raspberry Pi Powered SMS Gateway

#72
Is there a generic app I can install on my phones that lets me push notifications to them from curl?

It would be incredibly useful if Apple (or a third party app) gave people a way to POST to some secret URL and have the form data show up as a notification.

I can think of a billion one-off projects that would benefit from this. The smoker/ribs are done, the pool is up to temperature, a post-interview email from that recruiter has finally arrived, etc.

Re: Simple Raspberry Pi Powered SMS Gateway

#73

Is there a generic app I can install on my phones that lets me push notifications to them from curl? It would be incredibly useful if Apple (or a third party app) gave people a way to POST to some secret URL and have the form data show up as a notification. I can think of a billion one-off projects that would benefit from this. The smoker/ribs are done, the pool is up to temperature, a post-interview email from that…

No.

That would take value add away from apple et all.

Install Xorg.

Re: Simple Raspberry Pi Powered SMS Gateway

#74

Is there a generic app I can install on my phones that lets me push notifications to them from curl? It would be incredibly useful if Apple (or a third party app) gave people a way to POST to some secret URL and have the form data show up as a notification. I can think of a billion one-off projects that would benefit from this. The smoker/ribs are done, the pool is up to temperature, a post-interview email from that…

If you're on Android, there's Gotify [1]. You can self-host the server and install the app on either the Play Store, F-Droid, or just by downloading the APK.

[1]: https://gotify.net/

Re: Simple Raspberry Pi Powered SMS Gateway

#75

Is there a generic app I can install on my phones that lets me push notifications to them from curl? It would be incredibly useful if Apple (or a third party app) gave people a way to POST to some secret URL and have the form data show up as a notification. I can think of a billion one-off projects that would benefit from this. The smoker/ribs are done, the pool is up to temperature, a post-interview email from that…

You can probably achieve the same effect with the telegram API and an afternoon of coding.

Re: Simple Raspberry Pi Powered SMS Gateway

#76
5 years ago, I built the same SMS gateway without using the AT command "Explicitly" [0], but by letting Kannel handle that for me. Thus, I had an endpoint generally usable. Kannel is still used by Mobile Network Operators in Africa.

[0]: https://hackernoon.com/build-an-sms-center-with-python-kanne...

Re: Simple Raspberry Pi Powered SMS Gateway

#77

This is great for situations where your Raspberry Pi doesn't have any other internet access. But if you do have and ethernet drop or Wi-Fi you can also use your carrier's email to SMS gateway! For example "[YOUR-PHONE-NUMBER]@txt.att.net" https://www.dialmycalls.com/blog/send-text-messages-email-ad...

As long as it isn't critical that your carrier's gateway is operating normally.

I have a customer that routinely emails through various carier's SMS gateways, and has reports several times a month that their messages aren't getting through and ask us to verify everything was handed off correctly. It always was handed off good, but their gateway is backlogged or broken for that half day or day.

This echos my direct experience years ago (before I made my own solution similar to this setup).

Re: Simple Raspberry Pi Powered SMS Gateway

#78

Is there a generic app I can install on my phones that lets me push notifications to them from curl? It would be incredibly useful if Apple (or a third party app) gave people a way to POST to some secret URL and have the form data show up as a notification. I can think of a billion one-off projects that would benefit from this. The smoker/ribs are done, the pool is up to temperature, a post-interview email from that…

There is Push Bullet but they removed it from apple app store last year. Too bad. It's actually fit your use case very well. https://docs.pushbullet.com/#create-push

Re: Simple Raspberry Pi Powered SMS Gateway

#79

Is there a generic app I can install on my phones that lets me push notifications to them from curl? It would be incredibly useful if Apple (or a third party app) gave people a way to POST to some secret URL and have the form data show up as a notification. I can think of a billion one-off projects that would benefit from this. The smoker/ribs are done, the pool is up to temperature, a post-interview email from that…

[replying to myself]

Notifications from macOS are possible with osascript:

https://github.com/lodestone/ims/blob/4bb2566224af53904c7267...

Or in brief:

  osascript -e 'tell application "Messages" to send "Hello World" to buddy "J Appleseed"'

Re: Simple Raspberry Pi Powered SMS Gateway

#80
post #34

Earlier quoted context omitted.

I can send unlimited SMS for free with my 5€ monthly plan, so why should I pay?

Hey DeathArrow. Very very strange I'm the author of the article and I created this post and got the first few comments then when I reloaded the page it says you posted it and I can't upvote the post like it was my own. What gives? Do you work for ycombinator or somehing? Or did you post it shortly before me and the mods combined our posts and attributed it to you?

I don't know what happened. I don't work for HN. You can ask the moderating team.

I just read your article, thought it might be of interest to HN and posted the link here.

Post reply on HN