Sponsored Content
Full Discussion: Send SMS to mobile
Top Forums UNIX for Advanced & Expert Users Send SMS to mobile Post 303044476 by Neo on Monday 24th of February 2020 01:48:28 AM
Old 02-24-2020
Update:

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.

Code:
Device / Server  <--> MQTT <--> Node-RED <--> Telegram <--> Device / Server / Mobile Phone

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).
This User Gave Thanks to Neo For This Post:
 

6 More Discussions You Might Find Interesting

1. Programming

can anyone send sms application

actually i need this sms application ,to gain some knowledge in linux platform. (1 Reply)
Discussion started by: parvathy
1 Replies

2. IP Networking

Send SMS from PC to mobile phones

Hi All, Can any expert provide me a guide on how i can send SMS from pc to mobile phone using VBA or some other language ? I am a newbie in networking. (1 Reply)
Discussion started by: Raynon
1 Replies

3. UNIX for Advanced & Expert Users

Script which will run every 10minutes and Send SMS to mobile

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)
Discussion started by: thepurple
8 Replies

4. Shell Programming and Scripting

Bash script to send SMS

Hey guys I was wondering how to go about creating a bash script to send SMS..any ideas are appreciated.. (2 Replies)
Discussion started by: blackzeus
2 Replies

5. UNIX for Dummies Questions & Answers

Need to set up UNIX script to send sms on mobile

Hi All, 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)
Discussion started by: NikhilM
3 Replies

6. AIX

send SMS via curl

I need from aix to send an SMS, you know if the command curl serves me (3 Replies)
Discussion started by: tricampeon81
3 Replies
sendsms(1)							      gnokii								sendsms(1)

NAME
sendsms - command line tool to send SMSes using gnokii SYNOPSIS
sendsms [OPTIONS] DESCRIPTION
sendsms allows you to send a SMS using gnokii not knowing the syntax of gnokii command. It is written using dialog and allows to send a text SMS choosing recipients from the phone address book or entering it manually. OPTIONS Available options: [--debug|-D] May bother with more debugging messages. For debugging purpose. --simul[ate], -S Simulation mode. Doesn't really send SMS by phone. Only simulates. For debugging purpose. --forceSMread, -s Forces sendsms to read phonebook from SIM card, and to parse the generated file in order to update the numbers' list (useful only if required to pickup number from the phone's memory). See NOTE. --forceMEread, -m Forces sendsms to read phonebook from phone memory, and to parse the generated file in order to update the numbers' list (useful only if required to pickup number from the phone's memory). See NOTE. --skipgnokiicheck, -K Skip the test of the presence of binary 'gnokii'. (It must be somewhere in your $PATH). It allows you to try this script program, even if you don't have 'gnokii' already. ;) --smsset, --setsms Allows you to preset a SMS message from STDIN. (pipe or input redirection). This message will be proposed on the 'SMS message' field during the program input cycle. --help, -h, /h display this help and exit --version, -V output version information and exit" NOTE: If you require to pickup number from phone's memory (or from SIM card), for the first time, it anyway reads phonebook from your mobile phone. (It may take a while... please, be patient ;-) BUGS
None reported. AUTHOR
Sendsms was written by Gabriele Zappi - Rimini <gzappi@inwind.it>. This manual page was written by Pawel Kot. COPYING
This program is distributed under the GNU Public License. SEE ALSO
gnokii Pawel Kot August 29, 2003 sendsms(1)
All times are GMT -4. The time now is 03:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy