Note: This documentation refers to Gravio 3.8 or older. For Gravio 4 or newer, please refer to the respective documentation on doc.gravio.com . |
The TwilioSMS action component can use the Twilio service ( https://www.twilio.com/ ) to post a message specified in the component properties to a mobile phone SMS. It is useful to notify people of information from sensors. Note, Twilio is not a free service and they charge to send SMS to mobile phones.
Component Properties
AccountSid | Twilio service account Sid | |
---|---|---|
Token | AUTHTOKEN of the Twilio service | |
From | The calling phone number. Start with country code | Example: +447912345678 |
To | Phone number to send to. Start with country code (for UK 44) | Example: +447912345678 |
Message | Message string to post to SMS | Example: "The temperature of sensor X has reached " + av.Data + "ºC" |
Timeout | API timeout |
In this example, the message is concatenated using the +
symbols and the variable av.
stands for “Action Variable” and Data
is the data variable of this Action Variable.