Include sensor value in email notification?

AlexHK

New Member
I can't find anything in the manual, but I think I have seen an email somwhere that contained values from sensor readings.
 
Is it possible to include AI1, Temperature Sensor 1 etc into the email's message body?
 
Thanks!
 
PS: I am new user, but I have been lurking here for a while. I have a couple of WebControl PLC and I love it. I can't wait for the /32 device to be released.
 
 
WebControl email does that by default. I was pleasantly surprised the first time I tried it. Later versions of the FW allow you to prune how much gets sent and specify more then one email address.
 
If you want to test it configure WebControl notification and one of the email messages using the test button to generate a test email.
 
I configured the WebControl I use in our greenhouse to send a morning and evening email.
 
Here is the most recent:
 
GREENHOUSE     Sent at: 06:00:00 On the 07/07/2013

Digital Inputs:
I1=0 I2=0 I3=1 I4=1 I5=0 I6=1 I7=0 I8=0

Analog Inputs:
AIP1=0 AIP2=0 AIP3=2 AIP5=0 AIP6=0 AIP7=0 AIP8=0

TTL Output States:
TTL1=0 TTL2=0 TTL3=0 TTL4=0 TTL5=0 TTL6=0 TTL7=0 TTL8=0

Temperature Sensors:
T1=70.5dF T2=75.5dF T3=80.2dF T4=U T5=62.2dF T6=83.8dF T7=83.6dF T8=91.0dF

Humidity Sensor:
H=69%

VARs:
VAR1=953 VAR2=0 VAR3=0 VAR4=840 VAR5=753 VAR6=18 VAR7=100 VAR8=0
 
Thanks Tschmidt, that was very helpful. I somehow overlooked that the "Item Starts Not Reporting" was set to "NOT EMAIL ANY I/O" in the communcation setup.
I must have changed it accidentally since I had seen the values included before in one of the test emails...
 
Works now. Would be great if in the future product (Webcontrol/32) we could use variables to refer to the values. Then we could send email notifications to people that don't know how to decipher the viriables.
 
For instance:
Alarm: Temperature Sensor just exceeded {{T1}}.
Alarm: Humidity Sensor just exceeded {{H}}.
 
Thanks for the suggestion.  We will have to think how to do that.  Currently, when email being sent, we capture all the I/O status in a buffer then put that in the email queue.  That queue is handled by a scheduler when to send.  To add dynamic message to the email will need to larger buffer space to store the message.  Maybe we could get the dynamic message stored in the EEPROM, since user could have few different messages pre-stored.
 
Back
Top