Live data from Hacker News

Simple Raspberry Pi Powered SMS Gateway

blog.haschek.at

81–85 of 85 posts

Re: Simple Raspberry Pi Powered SMS Gateway

#81

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…

Instead of paying for a separate SIM, I've been piggybacking on the "data only" SIMs that Google Fi let's you add to a normal subscription. No extra per-SIM fees, and you just pay for whatever data it uses at $10/gb. More details on my modem, monitoring setup, and IPMI backhaul strategy using Wireguard here: http://jsharkey.org/ipmi/

That sounds like a nice idea. Unfortunately I don't believe anything similar exists here in the UK.

I can pay my mobile provider an extra £7.50 per month for a "second SIM" to share the allowance from my main SIM (you're effectively paying to rent another number).

It's not a terrible expense, but for something I need to send an SMS maybe 1 per quarter is a little much. I guess if you look at it as a "service" it's not bad, but this was a home thing, nothing critical would be lost if I couldn't get my home IP until I got home. Now I use DDNS using a small piece of Go code I wrote to update the domain on my Digital Ocean account as a form of "free" DDNS, it runs on my router on connect/reboot.

Re: Simple Raspberry Pi Powered SMS Gateway

#82

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…

I use Pushover for this: https://pushover.net/

Re: Simple Raspberry Pi Powered SMS Gateway

#83

Just a heads up to anyone thinking of doing this in prod. We had a USB connected 3G dongle as SMS modem for years, every other month someone had to head over to the DC and re-seat the thing. Because it just stopped working. I don't think they're designed to be connected 24/7. We eventually switched to an Ethernet connected SMS modem. Much more reliable, and it was actually made for production, had a longer antenna yo…

Can you point me to some brand who sell those?

Re: Simple Raspberry Pi Powered SMS Gateway

#84
post #69

I'd love to get a setup like this with voice calls also supported. I'd like to be able to recieve my calls and texts on any device as I can with email/irc/matrix etc

If you use XMPP checkout https://jmp.chat/ .

This is pretty interesting, I'm going to give it a go setting something like this up with ejabberd and their asterisk fork, that way I can use my own sim cards.

Re: Simple Raspberry Pi Powered SMS Gateway

#85

Just a heads up to anyone thinking of doing this in prod. We had a USB connected 3G dongle as SMS modem for years, every other month someone had to head over to the DC and re-seat the thing. Because it just stopped working. I don't think they're designed to be connected 24/7. We eventually switched to an Ethernet connected SMS modem. Much more reliable, and it was actually made for production, had a longer antenna yo…

Can you point me to some brand who sell those?

Not that one, it was many years ago and I have moved on from that department since.

But it was also purchased in Sweden, from a Swedish retailer, so not sure what good this would do you.

A quick google gives me Induo [1] who make industrial 3G modems, with serial connection among others.

1. https://www.induo.com/produkt/modem/3g-modem/

Post reply on HN