Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Tcl Library › Using TCL to set up an Alert to smart phone
I need to set up an Alert which will provide a text message and send it to someone’s smart phone.
Typically you can use email to do this. I am on Linux, so I might include something like the following:
mail -s “Subject Here” 999-999-9999@verizon.net </directory/message file.txt
If your alerts are short enough, I would consider:
mail -s “[$HciSite] %A [End]” 999-999-9999@verizon.net </dev/null
Example: [ADT_PROD] Thread protocol status of escription_trans_in has been opening for 2700 seconds [End]
Hope this helps.
Thank you for your insights.
However, there is an option in Alerts called Alert Action.
One of the Alert Actions is TCL.
When one clicks on it, it displays a box for one to key in TCL code to send alerts to someone’s smart phone.
I was wondering if anyone has done that.
Robert