Messaging

Commands ››
Parent Previous Next


SEND GENERIC SMS


SMS=dest,"text",date


dest  international phone number, or

       ##1 : last voice caller

       ##2 : last data caller

       ##3 : last SMS sender

       ##5 : console


text        message content (within quotes). Can contain dynamic variables. See       the complete list here


date        0 : do not include trailing date

SMS=+39444444,"Message text"

send an SMS to +39444444


SMS=##3,"Message text",0

send an SMS to last SMS sender, no trailing date


SMS=##5

send an message text to local COM port (console)


SMS=+441111111,"Use variable: input1=*i1*, output2=*O2*"

send an SMS to +441111111, with text comprising some dynamic variables



SEND STATUS


STATUS=dest


dest  international phone number, or

       ##1 : last voice caller

       ##2 : last data caller

       ##3 : last SMS sender

       ##5 : console


Omitting destination, status will be returned on the same bearer used for the command.

STATUS

return status


STATUS=+39444444

send a Status SMS to +39444444


STATUS=##2

send a status SMS to last data caller



SEND GENERIC TWEET


TWEET="text",date


text  message content (within quotes)


date        0 : do not include trailing date

TWEET="Message text"

send a Tweet to device account

message up to 140 characters, directives allowed


TWEET="FOLLOW John",0

send a Tweet to device account, message up to 140 characters

no trailing date, twitter directives allowed



SEND GENERIC email


EMAIL=dest,"text",body


dest  destination email address


text  message content (within quotes). Can contain dynamic variables. See       the complete list here


body  0 : do not include status into email body


Email body will include a complete status if last parameter (body) is missing.


EMAIL=name@domain.com,"Message text"

send email to name@domain.com, status will be included into email body


EMAIL=name@domain.com,"Message text",0

send email to name@domain.com, only Subject line


EMAIL=name@domain.com,"switch=*i6* motor=*O1*"

send email to name@domain.com, with text comprising some dynamic variables



EMAIL LOG FILE


LOGEMAIL=dest


dest  destination email address



LOGEMAIL=name@domain.com

send last 98 events stored into LOG memory to name@domain.com



LOCATION


WAY=dest


dest  international phone number, or

       ##1 : last voice caller

       ##2 : last data caller

       ##3 : last SMS sender

       ##5 : console


Omitting destination, status will be returned on the same bearer used for the command.

Web services must be enabled.


WAY

return geographic address nearest to main GSM cell


WAY=+39444444

send geographic address nearest to main GSM cell to +39444444


WAY=##1

send geographic address nearest to main GSM cell to last voice caller



LIST CALLS


LIST<type>=dest


<type> A : answered calls

        U : unanswered calls


dest   international phone number, or

        ##1 : last voice caller

        ##2 : last data caller

        ##3 : last SMS sender

        ##5 : console


Omitting destination, status will be returned on the same bearer used for the command.


LISTU

return last incoming calls terminated without answer


LISTA=+39444444

send last answered incoming calls to +39444444


LISTA=##1

send last answered incoming calls to last voice caller



ENable ALERTS to recipients


ALERT=name


name  recipient name to enable the alert


Omitting recipient field, alerts will be sent to all recipients


disable ALERTS to recipients


NOALERT=name

name  recipient name to disable the alert


Omitting recipient field, alerts will be stop to all recipients


At start-up all recipients are enabled to receive alerts.


ALERT="an"

enable recipient name starting with "an" (e.g. "anna", "Antony") to receive alerts


ALERT

send alerts to recipients


NOALERT

do not send alerts, useful for maintenance period or "do not disturb"


NOALERT="Phil"

do not send alerts to recipient "Phil"



enable interaCtive sms (user group 2)


ISMS



disable interaCtive sms (user group 2)


NOISMS


NOISMS

do not send interactive messages to group 1 users: "do not disturb"


ISMS

send interactive messages to group 1 users



SEND ACTIVE ALERTS TO RECIPIENTS


NOW



This command is useful when a recipient wants to receive an SMS reporting his active alerts at the moment of request. No message will be sent when the command is received from a number not associated with a Recipient.


Example:


Recipient R001 is configured to send an SMS alert "Output 1 active" to +44111111 when output 1 is activated.

Recipient R002 is configured to make a call alert "Input 1 closed" to+44111111 when digital input 1 is closing.

Receiving an SMS from phone number +44111111, including the text "NOW" will ask the device to send back an SMS reporting:

- "Output 1 active" if and only if the output 1 is activated

- "Input 1 closed" if and only if the input 1 is closed

Both alerts because the same sender phone number has been found for both R001 and R002.