# Problems sending SMS via sms77 nodes

**URL:** <https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854>\
**Category:** General\
**Created:** [11 December 2024 11:46 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854 "2024-12-11T11:46:40Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kralle](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kralle](https://discourse.nodered.org/u/Kralle)\
**Post date:** [11 December 2024 11:46 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/1 "2024-12-11T11:46:40Z")

</div>

Hello,

I have a problem with SMS77.  
I configured several Dragino temperature sensors via Node Red. To keep it simple, Flow1 has 1 sensor that should send both an email and an SMS once the temperature is reached. This also works, always correctly. SMS node with its own name1 with its own API, a contact1. (Text refers to the corresponding sensor)  
Now comes the problem.

I configured a new Flow2 for another customer. Another temperature sensor.  
The Flow2 actually does the same thing. Email and SMS sending. Mail always works and is always correct and refers to the correct sensor. But...  
it sends to contact1 from Flow1 and the text is also from Flow1.  
Although I changed everything in the second SMS77 node. Own API, own text, own name2 and contact2  
Why? Many Thanks

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [11 December 2024 13:06 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/2 "2024-12-11T13:06:36Z")

</div>

Hi There,

could perhaps post the relevant [flows](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506) here?

It's kinda hard to debug anything with just this description.

---

<div class="post-metadata">

**Author:** ![Kralle](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kralle](https://discourse.nodered.org/u/Kralle)\
**Post date:** [11 December 2024 15:07 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/3 "2024-12-11T15:07:10Z")

</div>

Update... the problem is also in a flow with two SMS77-sms nodes

 ![Screenshot 2024-12-11 155239](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/f/afe120e23e22275358832aa80ca61fbe09f59d8f.jpeg)  
 ![Screenshot 2024-12-11 155323](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/2/12893111486ee8f91800811b5c31b4ebce4b8d6c.jpeg)

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [11 December 2024 15:48 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/4 "2024-12-11T15:48:30Z")

</div>

From your screenshot, I would say that the sms77 nodes are both disabled. No wonder they're not doing anything. Try enabling them again and see if they then work.

If that does not help, try including the flows.json file here so that we can _investigate_ your code and not just _look at it_ 😉

Notice that I can't really do anything with a screenshot of your flows, only by viewing the code could I do something. For that, use the export functionality of Node-RED and include the JSON code of the flows here. If that is not possible, then it's really hard to help.

---

<div class="post-metadata">

**Author:** ![Kralle](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kralle](https://discourse.nodered.org/u/Kralle)\
**Post date:** [11 December 2024 16:10 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/5 "2024-12-11T16:10:10Z")

</div>

Both disabled... correct. I did this after I noticed that incorrect data was being sent  
[flows (1).json](https://discourse.nodered.org/uploads/short-url/dR5AeFAfew9aCAvrRz5dQuxg1Ar.json) (12.8 KB)

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [12 December 2024 08:56 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/6 "2024-12-12T08:56:35Z")

</div>

> [@Kralle](#):
>
> Although I changed everything in the second SMS77 node. Own API, own text, own name2 and contact2

Looking at your flow that is incorrect, both SMS nodes use the same configuration node hence the same API key ....

Also the SMS nodes use the same recipient - "Klima" - would not that ensure the message is sent to the same people?

---

<div class="post-metadata">

**Author:** ![Kralle](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kralle](https://discourse.nodered.org/u/Kralle)\
**Post date:** [12 December 2024 10:31 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/7 "2024-12-12T10:31:52Z")

</div>

[Seven.io](http://Seven.io) the SMS service provider told me that all SMS77 nodes only require 1 API.

It is intentional that the same recipient is entered on both SMS nodes.  
As a test, I have already created and configured 2 different APIs. But the error is the same.

In flows in which only 1 device is monitored, i.e. only 1 SMS77-sms node is present, everything works as it should.

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [12 December 2024 10:55 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/8 "2024-12-12T10:55:27Z")

</div>

Btw why is there a "trigger & block" when the "trigger 90 min" could directly trigger the alarm?

The "trigger 90 min" could send the message that the "trigger & block" sends - don't quite understand why you need two triggers there.

---

<div class="post-metadata">

**Author:** ![Kralle](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kralle](https://discourse.nodered.org/u/Kralle)\
**Post date:** [12 December 2024 11:15 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/9 "2024-12-12T11:15:19Z")

</div>

We monitor a cold storage facility. If the cold store is only filled with goods and the door is open when the temperature quickly drops above 0 degrees Celsius. Then no alarm should be sent because the temperature drops again after the door is closed. That's why we wait 90 minutes. (Trigger 1) Is the temperature again  
below -10 degrees Celsius the 2 triggers become active and perform a reset. No SMS will be sent. If the temperature remains above -10 degrees, Trigger&Block is not active and an alarm SMS is sent.

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [12 December 2024 11:33 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/10 "2024-12-12T11:33:47Z")

</div>

But you reset both triggers if the temp drops below -10, therefore the trigger with 90 min delay would also reset and no sms would be sent.

Temp rises above -10 and the trigger with the 90min wait is set. Not the trigger and block,

Ah ok the trigger & block prevents multiple sms from being sent while the temp is above -10.

Ok, answered my own question!

But these sms would only be sent every 90mins on the other hand - because of the 90min delay ….

---

<div class="post-metadata">

**Author:** ![Kralle](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kralle](https://discourse.nodered.org/u/Kralle)\
**Post date:** [12 December 2024 11:48 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/11 "2024-12-12T11:48:11Z")

</div>

I tested this with 2 Injekt Nodes -18 (no SMS sending) and -10 (SMS sending). This works well. Email always works too. In principle everything works as we imagined. NOT ONLY SMS. And I don't understand that.

90 minutes is ok. That's the goods not yet thawed. The sensors transmit every 20 minutes. The temperature is usually around -18 degrees Celsius again

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [12 December 2024 12:01 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/12 "2024-12-12T12:01:32Z")

</div>

Could it be that you have preset texts with your sms provider which overwrites the text you send with the trigger?

---

<div class="post-metadata">

**Author:** ![Kralle](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kralle](https://discourse.nodered.org/u/Kralle)\
**Post date:** [12 December 2024 13:05 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/13 "2024-12-12T13:05:45Z")

</div>

No we dont have present texts

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [12 December 2024 13:25 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/14 "2024-12-12T13:25:49Z")

</div>

Does the sms77 node take values from the msg object or do the values defined in the node overwrite msg values? Obviously those incorrect values must either come from the msg object, the node or the configuration node - or some flow values or even worse, global values.

Check the context values in the sidebar for the flow tab - perhaps something is set there.

---

<div class="post-metadata">

**Author:** ![Kralle](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kralle](https://discourse.nodered.org/u/Kralle)\
**Post date:** [17 December 2024 16:08 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/15 "2024-12-17T16:08:49Z")

</div>

Hello,

I have reconfigured my flow. Since the email always sends correctly, I connected the SMS node to the change node (alarm message) and did not enter any text in the SMS node.

 ![Screenshot 2024-12-17 170716](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/0/303ab541c11a9ea6289970cab1b8be8f2bbc196c.png)  
 ![Screenshot 2024-12-17 170755](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/e/fe0d835e92c95bc5c640689371168505e18f8280.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 March 2025 16:08 UTC](https://discourse.nodered.org/t/problems-sending-sms-via-sms77-nodes/93854/16 "2025-03-17T16:08:52Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
