# Intergrate sms alerts on my raspberry-pi

**URL:** <https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111>\
**Category:** General\
**Created:** [11 May 2018 20:40 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111 "2018-05-11T20:40:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sami](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sami/32/76_2.png) [@Sami](https://discourse.nodered.org/u/Sami)\
**Post date:** [11 May 2018 20:40 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/1 "2018-05-11T20:40:11Z")

</div>

Hi,

I want to intergrate sms alerts on my raspberry-pi using a usb dongle.

I can send and recieve using “LXTerminal”

Are there any tutorial discribing this operation with node-red.

Many thanks!  
Bye!

---

<div class="post-metadata">

**Author:** ![IoTPlay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iotplay/32/40_2.png) [@IoTPlay](https://discourse.nodered.org/u/IoTPlay)\
**Post date:** [12 May 2018 04:56 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/2 "2018-05-12T04:56:43Z")

</div>

Look at the Nexmo flow:

> **[node-red-contrib-nexmo](https://flows.nodered.org/node/node-red-contrib-nexmo)**
>
> Node Red module for the Nexmo API

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 May 2018 10:12 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/3 "2018-05-12T10:12:00Z")

</div>

You should be able to use the Serial node to send it a series of AT commands to send an SMS… typically you need to send one or two at startup to set up the stick into text mode - then you can often just send a single command with the number and text in.

As you have this working from a command line then (imho) it may well be easiest to make that into a simple script that you can call with the message as a parameter then use the exec node to call it.

---

<div class="post-metadata">

**Author:** ![Sami](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sami/32/76_2.png) [@Sami](https://discourse.nodered.org/u/Sami)\
**Post date:** [12 May 2018 10:27 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/4 "2018-05-12T10:27:56Z")

</div>

I thank you but I prefer to use a usb dongle.

---

<div class="post-metadata">

**Author:** ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Post date:** [12 May 2018 13:36 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/5 "2018-05-12T13:36:02Z")

</div>

Hello Sami,

I know this was not your question but anyway have you checked the advantages of sending notifications with telegram for instance vs SMS? There are plenty of options but Telegram is very simple and flexible, you can even create your telegram bot to handle a lot of staff and also works simple with IFTT.

Regards

---

<div class="post-metadata">

**Author:** ![Sami](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sami/32/76_2.png) [@Sami](https://discourse.nodered.org/u/Sami)\
**Post date:** [12 May 2018 16:11 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/6 "2018-05-12T16:11:04Z")

</div>

I thank you but I want a solution that work without web connection.

---

<div class="post-metadata">

**Author:** ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Post date:** [12 May 2018 16:14 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/7 "2018-05-12T16:14:09Z")

</div>

ok, but as soon as you need a sim card connected, It makes no difference to send a SMS or connect to internet and do whatever, and without internet the limitations are huge.

Regards

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 May 2018 16:19 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/8 "2018-05-12T16:19:24Z")

</div>

at the edges of reception I often find that an SMS will go through ok - but I can’t get internet to work in any meaningful manner… so I think SMS still has a place.

---

<div class="post-metadata">

**Author:** ![Sami](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sami/32/76_2.png) [@Sami](https://discourse.nodered.org/u/Sami)\
**Post date:** [12 May 2018 22:26 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/9 "2018-05-12T22:26:50Z")

</div>

Normally my raspberry is connected to the internet through another router.  
So among the alerts that SMS must report are network problems.

---

<div class="post-metadata">

**Author:** ![Sami](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sami/32/76_2.png) [@Sami](https://discourse.nodered.org/u/Sami)\
**Post date:** [12 May 2018 22:30 UTC](https://discourse.nodered.org/t/intergrate-sms-alerts-on-my-raspberry-pi/111/10 "2018-05-12T22:30:44Z")

</div>

is there an example that uses AT commands with node-red?
