Hello everybody.
I need your help with a notification on PI AF of a water discharge. This happens between a valve the turns ON to let the water pass and turns off to close the pipe.
I'd like to have at the end of the discharge an email with Timestamp of the start (valve opens), timestamp of the end (valve closes) and the amount of water.
I don't have problems with the amount of water that is working. I have problems with the 2 timestamps, because AF asks me to choose between the Start Trigger Timestamp and Send Mail Timestamp. The problem is that I don't know what to put as notification rule.
In my element I've cretaed an attribute (as PI point) that tells the status of the valve (opened or closed).
At the moment, i've set my Event Framelike this: Start Trigger: ZSL=0 (valve open), End Trigger: ZSL=1 (valve close).
Could you suggest me a notification rule?
Thank you very much