What a fantastic effort you have made with the ESPEasy.
I have been working on a water meter project for over a year and the ESPEasy is perfect for my needs.
Since I do not have internet at the properties I am metering I am using a SIM7000a LTE module to send UDP Packets to my IOT Server.
The LTE module is on a second ESP-12E.
When I query the Generic - Pulse counter Count,Total,Time values using "http://10.10.100.128/json?tasknr=1" <-- ESPEasy from my LTE-ESP
it returns the values from the last "Interval" not the current values that show on the Devices page.
http://10.10.100.128/devices returns for the first task
Code: Select all
Count:16
Total:2980
Time:11233
Code: Select all
{
"TaskValues": [
{"ValueNumber":1,
"Name":"Count",
"NrDecimals":2,
"Value":1.00
},
{"ValueNumber":2,
"Name":"Total",
"NrDecimals":2,
"Value":2964.00
},
{"ValueNumber":3,
"Name":"Time",
"NrDecimals":2,
"Value":11251.00
}],
"TTL":60000,
"TaskEnabled":"true",
"TaskNumber":1
}
I would like to query the current value of Count and Total then zero Count.
I would zero Total and Time every 24 hours.
I there a way to remotely trigger my Device/Task to use a Generic HTTP Controller every 15 minutes?
Help would be appreciated.
Thanks
Peter