Hi guys
I need some advice on setting up an email template that will be sent to a email to sms service provider. The system consists of the following.
There are 50 remote sewerage site that have a sump and 2 pumps.
There is a discrete point for the trip/healthy signal so I will set an on change event for this as it is helpful to know if the pump goes back to healthy.
There is a ultra sonic sump level that will need a high and high-high event handler
I am quite comfortable with getting all this setup and did a test email event handler today.
The email to sms provider has indicated that I will need to send the email to them with the destination cellphone number as the subject, there will be about 5 numbers comma separated. I have not figured out how to approach this and will need some help due to the little time available.
The email will need to consist of :
To: serviceprovider.com
Sugbject : 0841231111,0841231133 ( cell phone number)
Body : "site name" - "device name" - "point name"-"point value"
eg: Margate- Pump 1 - Condition - Trip/Healthy
or
Margate - Sump - level 90%
Id also like a little advice on how to structure the data point naming. So that these values can be dynamically inserted into the email body and not have the need to make a template per remote site. our radio network topology is a star and all the remote nodes data gets organised on a central PLC which will be a modbus TCP data source. My initial thought would be to structure it as follows even tho all the data sources will all have the same IP:
Data source = site name
Device name = pump 1
point name = condition
point value = trip/healthy
Data source = site name
Device name = Sump
point name = Level
point value = 90%
Thanks in advance for any help...