HCB, emails/HTTP-post and variable values
Posted: Sun Dec 07, 2014 11:21 am
Hi All,
Is it possible to send the variable values within emails or HTTP POST ?
Background: i have a created a new variable for myself.
It is currently used for counting S0 pulses from a KWh meter into the digital inputs of the HCB.
So each time a S0 pulse arrives (which is 1 watt), i add a value of 1 into this variable.
At midnight i reset the value to zero, and send an email to myself as test.
However, i would like to know the end value of each day. Can this be included in emails ?
With the API function, can i also send a HTTP POST but with the value of the variable at that time ?
Thanks for any help !
ron
Is it possible to send the variable values within emails or HTTP POST ?
Background: i have a created a new variable for myself.
It is currently used for counting S0 pulses from a KWh meter into the digital inputs of the HCB.
So each time a S0 pulse arrives (which is 1 watt), i add a value of 1 into this variable.
At midnight i reset the value to zero, and send an email to myself as test.
However, i would like to know the end value of each day. Can this be included in emails ?
With the API function, can i also send a HTTP POST but with the value of the variable at that time ?
Thanks for any help !
ron