TUTORIALS > Examples from Libraries > GSM > SendSMS
This sketch send a SMS message from an Arduino or Genuino board equipped with a GSM shield. Using the serial monitor of the Arduino Software (IDE), you'll enter the number to connect with, and the text message to send.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Thanks Given: 2,335
Thanked 3,266 Times in 1,827 Posts
I have been doing a lot of Device / Server <--> MQTT <--> Node-RED <--> Device / Server / Mobile Phone recently.
In that work, I trying using a number of SMS gateway services; and all worked "slow" and delivered alerts between 1 and 2 minutes after the server sends the alert. Furthermore, their customer agreements (for example nexmo) say "up to 24 hours" to deliver an SMS message.
So, I switch gears and switched to sending messages using Telegram, and it works almost instantly.
The Telegram module for Node-RED works well, although it can be a bit tricky to set up the first time (getting the chatid can be confusing); but after a short learning curve, this is a great combo:
Linux server Sends MQTT messages to MQTT broker.
Node-RED listens for MQTT topic.
Node-RED processes MQTT topic when received; and then,
Node-RED sends alert or message via Telegram to mobile phone.
This works well, and is FREE (except for your standard Internet fees, so it is no additional costs for most people).
Can anyone please help in setting up Unix script for sending text messages on mobile??
Actually scenario is we want notification when there is any failures in our processes or if any service goes down we must be notified by a text message on our mobile, we already have email... (3 Replies)
Hello Genuis guys,
I am running Aix5 and Oracle 9 on it.
I have sql query which only count a particular rows.
I need to prepare a script which will run that sql query every 10 minutes and if the ouput count is greate than 20. It will send SMS to mobile numbers.
Need your kind help to... (8 Replies)