Automatic Control Module – Send eMail

Forum Home Forums Understanding the Software Automatic Control Module – Send eMail

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #3064
    yotool
    Participant

    I tried to search for this information and came up empty.

    Is there any further documentation (ideally including some examples) of how to have the (A)utomatic (C)ontrol (M)odules send a email when an input channel goes above (or below) a certain value?

    I believe that I have the “Channel Data Trigger” part figured out. It appears that you attach a “Command” to the parent trigger. I am however stuck at how you enter the properties of a “Command” for a simple outgoing email.

    In the SCADA Aministrator application/db I have the an “email device”, installed by default, sitting at device #41. I cannot seem to, intuitively at least, figure out how I form the properties of an email “command”.

    I know it takes a lot of time, but a detailed description of the module, including a few key examples,would be a huge help. The current documentation of the ACM is extremely high-level.

    Here is a screen shot of my ACM coniguration:
    ACM Config

    #3067
    Mikhail
    Moderator

    First off all, make sure that emails are successfully sent by Communicator only.
    Go to the Device libraries page of Communicator, find KpEmail.dll and read the format of a command that is needed. This is a binary command with a string value.
    When it is done, write in this topic to continue. In case of errors, provide logs or screenshots.

    #3068
    Mikhail
    Moderator

    Simple example of a command in the module settings:
    your_email@gmail.com;subject;text

    #3069
    Mikhail
    Moderator

    You should check the logs of:
    ACM,
    Communication line #41

    #3070
    Mikhail
    Moderator

    You definitely right about the documentation ))

    #3072
    yotool
    Participant

    Thanks Mikhail.

    I got her going now… Nice work on this email outgoing communication line.

    Two settings I noticed:

    1) Needed to use the gmail TLS port as was installed by Rapid SCADA set at port 587 (not SSL 465).

    2) Needed to set gmail account settings”
    “Allow less secure apps:” ON
    Some apps and devices use less secure sign-in technology, which could leave your account vulnerable. You can turn off access for these apps (which we recommend) or choose to use them despite the risks.

    ******************************************
    One more question though:
    ******************************************

    Is there any way to dynamically access/reference a channel’s value in the email “Subject” or email “message body”, or would one need to have separate “Triggers” for this type of dynamic email content functionality and have the fixed email content associated with each separate trigger?

    #3076
    Mikhail
    Moderator

    Yes, port 587 is entered by default in the configuration, and it works.

    Answer:
    Definitely. See available variables at http://doc.rapidscada.net/content/en/modules/mod-auto-control.html
    Example: your_email@gmail.com;subject;{Now} Name: {CnlName}, value: {CnlVal}

    #3077
    Mikhail
    Moderator

    have the fixed email content associated with each separate trigger?

    You should create commands for each trigger. May be I don’t understand the question.

    #3078
    Mikhail
    Moderator

    Use address book in Communicator to manage subscribers.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.