Using TCL to set up an Alert to smart phone

Clovertech Forums Read Only Archives Cloverleaf Tcl Library Using TCL to set up an Alert to smart phone

  • Creator
    Topic
  • #55770
    Robert Berrios
    Participant

      I need to set up an Alert which will provide a text message and send it to someone’s smart phone.

    Viewing 1 reply thread
    • Author
      Replies
      • #86454
        Keith McLeod
        Participant

          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.

        • #86455
          Robert Berrios
          Participant

            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

        Viewing 1 reply thread
        • The forum ‘Tcl Library’ is closed to new topics and replies.