EEVblog Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: Jester on August 12, 2023, 11:14:41 am

Title: Arduino send SMS via local Wifi in Canada
Post by: Jester on August 12, 2023, 11:14:41 am
Goal: send sms message to iPhone when contact closes

I imagine there are numerous ways to do this, with some methods going obsolete as I type.

Arduino seems like a viable approach but if there is a better option I'm flexible.

A few years back I setup an Arduino to send an email using gmail and it worked for a while until Gmail considered the emails unsecured and started blocking them.


Constraints
1) At send end I do not have access to a GSM module or phone just wifi.
2) I don't have a SMS provider but don't mind subscribing as long as I'm simply paying a per message fee not a monthly fee, messages will be very low volume say 10-20 per month. Seems like most providers are looking for high volume bulk message type clients, I would be at the other end of the spectrum so if you can recommend a suitable provider that would be great.
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: coromonadalix on August 12, 2023, 11:20:49 am
you have iot  service provider in canada

and for communications  try to search for gsm modems boards who can accept AT commands

arduino gsm modem projects,  you have quite a few to choose on, a simple search would have provided you solutions
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: Jester on August 12, 2023, 11:27:17 am
you have iot  service provider in canada

and for communications  try to search for gsm modems boards who can accept AT commands

arduino gsm modem projects,  you have quite a few to choose on, a simple search would have provided you solutions

Do the GSM modem modules you refer to not require a SIM card and monthly service fee?

Constraints
1) At send end I do not have access to a GSM module or phone just wifi.
2) I don't have a SMS provider but don't mind subscribing as long as I'm simply paying a per message fee not a monthly fee, messages will be very low volume say 10-20 per month
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: pqass on August 12, 2023, 12:20:12 pm
If you're sending the sms to your own phone then maybe these email-to-sms gateways will work for you.
https://www.theblog.ca/free-sms-canada (https://www.theblog.ca/free-sms-canada)
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: Jester on August 12, 2023, 04:23:25 pm
If you're sending the sms to your own phone then maybe these email-to-sms gateways will work for you.
https://www.theblog.ca/free-sms-canada (https://www.theblog.ca/free-sms-canada)

Thanks for that, I'm half way there, was able to send an email that got converted to SMS and sent to my phone.

Just need to implement the email part in an Arduino and hopefully it will work.

Off to write some code.....
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: radiolistener on August 12, 2023, 11:29:16 pm
you can run your own mail server on raspberry pi for example, so your arduino can connect to it through wifi and send email localy and then you can connect with your iphone to your mail server through internet and get that email. In such order you can fully control your mail server and can be sure that third party companies such as google will not block your email :)
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: chickenHeadKnob on August 13, 2023, 01:07:10 am
If you're sending the sms to your own phone then maybe these email-to-sms gateways will work for you.
https://www.theblog.ca/free-sms-canada (https://www.theblog.ca/free-sms-canada)
A few years ago I looked at doing this but abandoned the project. I was using the bell mobility SMS-Email gateway which worked fine, but shortly there-after I started getting a shit-ton of phishing scam directed to the test email accounts. Phishing for login credentials on various Canadian banks. Lasted about a year then they gave up. Proceed with cautionary spam filters.
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: Shonky on August 13, 2023, 05:33:02 am
Must it be SMS?

Could you just use a notification service like Pushbullet instead? If you want to host yourself you can used Gotify.

It can be a fairly simple HTTPS call. If you have a network capable Arduino that can do SMTP you should have most of the requirements in place already.
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: liaifat85 on August 13, 2023, 12:49:34 pm
You can integrate an ESP8266 with Whatssapp and send/receive sms.
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: radiolistener on August 13, 2023, 07:22:27 pm
SMS can be blocked by your mobile provider. So, it's better to run your own mail server and use it for email exchange...
Title: Re: Arduino send SMS via local Wifi in Canada
Post by: Scrts on August 14, 2023, 02:33:15 am
I've used hologram service. They have free tier for up to 1MB of data I think and then you can do pre-paid service for more data or SMS. They charge $0.19/sms outbound and free inbound.
With that, hook up your arduino to a GSM module like SIM7000/SIM7070G/SIM7080G or similar and use UART with AT commands to send a text.
The mentioned modules above also allow you to send an email from the module itself, look up AT+SMTPSEND.

Another options are:
Use Whatsapp API as mentioned before.
Use Telegram API to send a text to Telegram.