Forum Home › Forums › Understanding the Software › Alarm via email
- This topic has 9 replies, 2 voices, and was last updated 9 years, 1 month ago by
MohanadOdema.
-
AuthorPosts
-
July 30, 2016 at 11:38 am #1491
MohanadOdema
ParticipantHello,
I want to send an email to myself whenever an alarm for a certain channel goes off. However, I’m uncertain of what I’m supposed to do. I know I should create a new device for the emailing but im not entirely sure what I’am supposed to fill in the ‘Address’ and ‘call number’ fields. I also am clueless of what my next step should be and whether I need a specific software for this kind of action or not.
Help?
July 30, 2016 at 2:49 pm #1492Mikhail
ModeratorHello,
You can add this XML into ScadaCommSvcConfig.xml:
<CommLine active="true" bind="false" number="12" name="Email"> <CommChannel type="" /> <LineParams> <Param name="ReqTriesCnt" value="3" descr="Device request retries count on error" /> <Param name="CycleDelay" value="0" descr="Delay after request cycle, ms" /> <Param name="CmdEnabled" value="true" descr="Commands enabled" /> <Param name="DetailedLog" value="true" descr="Write detailed information to the log" /> </LineParams> <CustomParams /> <ReqSequence> <KP active="true" bind="true" number="201" name="Email sender" dll="KpEmail.dll" address="0" callNum="" timeout="10000" delay="200" time="00:00:00" period="00:00:00" cmdLine="" /> </ReqSequence> </CommLine>
It adds a communication line with device 201 that sends SMS.
July 30, 2016 at 2:51 pm #1493Mikhail
ModeratorCheck that commands are send from Communicator UI.
Commands:
1 (binary) – send the notification.Command text examples:
group_name;subject;message
contact_name;subject;message
email;subject;messageJuly 30, 2016 at 2:53 pm #1494Mikhail
ModeratorIf emails are sent successfully, you should use Automatic Control Module to send commands automatically according to your conditions.
August 2, 2016 at 7:05 pm #1503MohanadOdema
ParticipantIt is not sending emails from the communicator UI. I tried adding the same credentials in the Scada Admin and it is not working still.
Here are some screenshots
https://www.dropbox.com/s/x9tfllbbppozys5/communicator2.png?dl=0
https://www.dropbox.com/s/l00gyb2puj5c39p/communicator3.png?dl=0
https://www.dropbox.com/s/c3uz8gz0gczym61/communicator.png?dl=0August 3, 2016 at 12:09 pm #1504Mikhail
ModeratorDid you enter your valid email account in the device 201 properies in Communicator?
If not, just double click the device 201 to open them.August 3, 2016 at 12:46 pm #1505MohanadOdema
ParticipantYeah that was it, it’s working now thanks.
August 5, 2016 at 6:19 pm #1514MohanadOdema
ParticipantThe module can be tested to send automatic commands during the 10 minute trial period, can’t it?
I’m trying to send a simple command that I configured before but it doesn’t seem to be working. Is further configuration needed on the module properties ?
August 6, 2016 at 11:53 am #1515Mikhail
Moderator10 min after start Server service. What is in the module log?
August 6, 2016 at 4:34 pm #1516MohanadOdema
ParticipantNevermind I got it working now. thanks a lot.
-
AuthorPosts
- You must be logged in to reply to this topic.