Live data from Hacker News

Simple Raspberry Pi Powered SMS Gateway

blog.haschek.at

61–70 of 85 posts

Re: Simple Raspberry Pi Powered SMS Gateway

#64

Earlier quoted context omitted.

A good free way to achieve this is to use Signal. This project https://github.com/AsamK/signal-cli enables you to send Signal messages from the command line, including from Raspberry Pis. It obviously needs an internet connection to work, but has the added bonus of being more secure than SMS.

Neat tech, but probably not super appropriate for this person's particular application, which involved detecting network outages.

I'm guessing if that USB Modem can send SMS, it can almost certainly also get a TCP connection. (It is probably easier to find a sensibly priced SIM/plan that lets you sand a handful of SMS messages a year compared to one with a ultra low data usage internet connection though.)

Re: Simple Raspberry Pi Powered SMS Gateway

#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 10x or 100x overhead for the TCP/SSL/transport/application layers, but you'd probably still get al least 10 140byte payloads a day for a decade with one of those.

(Full disclosure, I have no affiliation with Bluers.io, but I did impulse buy one of those when they first appeared on my radar, which is sitting in the huge pile in my Box Of Unstarted Projects And Broken Dreams.)

Re: Simple Raspberry Pi Powered SMS Gateway

#66
post #26

Earlier quoted context omitted.

It surprises me how many people are willing to let Google know their home address.

You don't need Google Fi for Google to know your home address. An Android phone will do that. Or Chrome. Or really just broadcasting wifi. Really the problem is you have a home address and someone will sell it to Google.

I like what you did there. Google is a given, a person having a home address is the problem, the collection method is a variable solution.

Re: Simple Raspberry Pi Powered SMS Gateway

#67
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...

Post reply on HN