Receive SMS text

Hello all.

I'm using Airlink to send text messages from Ignition to the user using the alarm notification pipelines (it's working fine) I'm able to receive an SMS from the user to acknowledge the alarm and with that I can turn off the alarm.

I would like to send an SMS from the user's phone to turn on the alarm.
I was wondering if there is any way for the user to send a specific text message that I can receive in a tag, for example?

Thanks.

I don't believe we have this functionality natively. You may want to submit that to our Features and Ideas Page

Iirc, we don't even interact via SMS when using 2-way. We provide you a web link which allows you to ack the alarm. So if you are looking for similar functionality, you can utilize the webdev module to create a web interface that allows you to turn on an alarm.

I have same problem

I have written a driver module for Ignition that has almost all of that functionality. It will poll the SMS gateway for new messages regularly, and process them in ignition. I have not made a tag interface to this, it was based on scripting. I have not released it because it is a seldom used function.

2 Likes

I hope you can release it soon.

I set up a webhook endpoint in Ignition that gets hit by an email-to-SMS gateway, then use scripting to parse the message and trigger actions based on the content.

I was wondering if there is any way for the user to send a specific text message that I can receive in a tag, for example?

This could pose a massive security concern- depending on what is being driven by the tag. If a bad actor or insider threat were to get the number & known commands to send you could loose control of the system until the cord it cut. Worst case, but still. Very carefully evaluate the risk model for this and have lots of checks.

My initial thought is that the 8.3 API would provide the door to a solution for this one.

While a valid concern, it’s very hard to spoof an SMS number to send these commands and the sender is normally set up on a white list.

No harder than spoofing a number for a voice call. Spam callers & fraudsters do it all the time.

2 Likes

I had a similar setup where incoming messages trigger tag writes, and it worked fine after tweaking my gateway settings. If you're planning to send notifications back or do bulk sms, I found it easier to manage by using a separate message handler that handles lists of numbers and runs through them with a delay between sends. Keeps things from getting throttled or blocked by the modem.