In this overview, we’ll show you 7 different ways to send out notices with the ESP32. We’ll cover sending out SMS, e-mails, WhatsApp messages, and also Telegram messages. We’ll reveal you various choices for each notice type.
Table of Contents
In this tutorial, we’ll cover the following notification methods:
- :
- 1 – ESP32: Send emails using an SMTP server
- 2 – ESP32: Send emails with IFTTT
- 3 – ESP32: Send emails using a PHP server
- :
- 4 – ESP32: Send Telegram messages (using Telegram API)
- :
- 5 – ESP32: Send WhatsApp messages (using callmebot API)
- :
- 6 – ESP32: Send SMS using a modem (SIM800L and SIM7000G)
- 7 – ESP32: Send SMS using Twilio API
Send Emails with the ESP32
There are different approaches to send emails with the ESP32.
Our preferred method is making use of an SMTP server. SMTP implies Simple Mail Transfer Protocol and also it is an internet standard for email transmission. To send e-mails using an ESP32, you can connect it to an SMTP Server.
Check the following tutorial to discover exactly how to send out e-mails with the ESP32 using an SMTP server:
We also have a similar tutorial making use of MicroPython firmware:
Another alternative approach is using IFTTT (If this then that). You can produce an applet on IFTTT that will send you an email when you make a request to the webhooks solution. If you want to trying out this approach, examine the adhering to tutorial:
You can create a PHP web server that will certainly send you emails upon an ESP32 request. You can utilize a cloud server or a local web server on a Raspberry Pi, for instance. Examine the tutorial listed below:
Send Messages to Telegram with the ESP32
Messenger is a cloud-based instant messaging and voice-over IP solution. You can quickly install it on your smart device (Android as well as apple iphone) or computer system (COMPUTER, Mac, and also Linux). It is totally free as well as with no advertisements. Telegram enables you to produce crawlers that you can connect with.
“Bots are third-party applications that run inside Telegram. Customers can engage with bots by sending them messages, commands, and inline demands. You regulate your bots making use of HTTPS requests to Telegram Bot API”.
So, you simply require to make some HTTP demands with the ESP32 to be able to send out messages to your Telegram account. The ESP32 can likewise pay attention to messages that you send to your bot. You can likewise control your boards by sending messages using Telegram.
We have several tutorials demonstrating how to use the Telegram API for various purposes:
Send Messages to WhatsApp with the ESP32
“WhatsApp Messenger, or just WhatsApp, is a worldwide offered American freeware, cross-platform centralized split second messaging and also voice-over-IP service owned by Meta Platforms.” It allows you to send out messages utilizing your phone’s internet connection, so you can stay clear of SMS fees.
There are different means to send messages to WhatsApp using the ESP32. We’ve try out the and it functioned quite well. You can check our tutorial that clarifies how to send messages to WhatsApp with the ESP32:
We likewise have an example utilizing MicroPython firmware:
Send an SMS with the ESP32
To send out SMS with the ESP32, you can attach it to a modem as well as use a SIM card or use a third-party solution.
There are several modules for the ESP32 that permit you to attach a SIM card. There are also ESP32 advancement boards that come with an integrated modem like the SIM800L or SIM7000G. To send SMS with these modules, you require a SIM card with an SMS plan or credit history.
We have tutorials demonstrating how to send out SMS with the ESP32 SIM800L and also ESP32 SIM7000G. Check them listed below:
Another option is to use a third-party service that will certainly send out the SMS for you. You simply require to make HTTP demands to their API to use their services. We have a tutorial revealing how to send out SMS with the ESP32 using Twilio services (these are not free, yet they supply you with some credit score to make sure that you can explore the service).
Wrapping Up
In this write-up, we’ve revealed you different ways to send notifications with the ESP32. We’ve covered sending e-mails, messages to Telegram, messages to WhatsApp, as well as SMS.
Sending notifications with the ESP32 is a really helpful function. For instance, to send an alert when motion is discovered, when a sensor is above or listed below a particular limit value, or to send you messages periodically with sensing unit values or GPIO states.
We wish you’ve found this collection valuable.
Learn even more about the ESP32 with our resources:
Thanks for analysis.