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…
Simple Raspberry Pi Powered SMS Gateway
31–40 of 85 posts
Re: Simple Raspberry Pi Powered SMS Gateway
#32Is there something similar but for Whatsapp?
Re: Simple Raspberry Pi Powered SMS Gateway
#33The article is interesting in general, but this line really needs more than "works like a charm": `usb_modeswitch -W -v 12d1 -p 14fe -K -P 14ac -M "55534243000000000000000000000011060000000000000000000000000000"` I mean, I believe you, but ... what on earth IS all of that?
55 53 42 43: "USBC"
00 00 00 00: CBW Tag
00 00 00 00: Transfer length
00 00 00 00: CBW direction, LUN, CBW CB length, CBW Command Block
00 00 00 11: CBW CB(cont.)
06 00 00 00: (same)
00 00 00 00: (same)
00 00 00 00: (same)
00 00 00 : (same)
---
00 00 00 00 11 06: TUR LUN0 RSVD RSVD RSV1 0001 0110
00 00 00 00 00 00: TUR LUN0 RSVD RSVD RSVD 00RS VD00
00 00 00 00 00 00: TUR LUN0 RSVD RSVD RSVD 00RS VD00
00 00: ?
Re: Simple Raspberry Pi Powered SMS Gateway
#34I was looking to get a dedicated Waveshare GSM HAT for the Pi but Twilio is so dirt cheap that I never really got into messing around with a DIY solution.
I can send unlimited SMS for free with my 5€ monthly plan, so why should I pay?
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?
Re: Simple Raspberry Pi Powered SMS Gateway
#35Is there something similar but for Whatsapp?
https://github.com/AsamK/signal-cli
That's why I wrote the article on how to do it via SMS with a Pi. I tried to send myself notifications from NodeRed
Re: Simple Raspberry Pi Powered SMS Gateway
#36I was looking to get a dedicated Waveshare GSM HAT for the Pi but Twilio is so dirt cheap that I never really got into messing around with a DIY solution.
At 6 cents/SMS, I find Twilio and similar services way too expensive. Compare that to the unlimited SMS plan that I can get for 2€/month here in France, and setting up a gateway like that becomes very attractive. In my experience it's very unstable however. Sending and receiving SMS can take anywhere from 5 to 30 seconds, and the modem can't do both at the same time. I tried configuring gammu's timeouts, loop delays…
Re: Simple Raspberry Pi Powered SMS Gateway
#37https://openwrt.org/docs/guide-user/advanced/sms-from-shell
no need to install gammu etc
Re: Simple Raspberry Pi Powered SMS Gateway
#38Earlier quoted context omitted.
https://github.com/AsamK/signal-cli
Funnily enough that was the route I was initially going to go but I got scared because I read that the project is a violation of the ToS and your number _might_ get blocked if you use these third party clients. That's why I wrote the article on how to do it via SMS with a Pi. I tried to send myself notifications from NodeRed
Could you find that source? Curious precisely what part of ToS it violates.
Re: Simple Raspberry Pi Powered SMS Gateway
#39Does anyone know of an inexpensive plan in the US to use with a setup similar to this that sends dozens of text messages/month?
I was investigating solutions for sensor SMS notifications & the best IoT type SIM plan that I came across was https://www.hologram.io/pricing/flexible-data . $1.50/line per month, $0.19/outbound SMS, data is pricey. If you need more SMS, the next cheapest I've used is RedPocket Mobile-- https://www.ebay.com/itm/2-50-Mo-Red-Pocket-Prepaid-Plan-200... - $30/yr for 200 voice/1000 texts/200mb per month on T-Mobile's net…
Re: Simple Raspberry Pi Powered SMS Gateway
#40Earlier 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?