Hi,
First, i have searched for similar issues/questions in this community, but i couldnt find anything.
Why is it that i get 0 results from querying dates which are in the history log. I dont get any errors, just that there are no values.
Current Log from: 31-1-2020 06:06:55 to: 31-1-2021 14:26:10
History Log from: 24-12-2019 17:34:00 to: 31-1-2021 14:26:00
command:
curl --globoff "http://192.168.2.6/query?select=[time.local.iso,NET.volts.d2,NET.hz.d2,WTW.watts.d2,WTW.amps.d2,WTW.wh.d2,WTW.va.d2,WTW.var.d2,WTW.varh.d2,WTW.pf.d2]&begin=2020-01-31T06:00:00&end=2020-01-31T06:10:00&group=5s&format=csv&missing=zero" && echo ""
result:
2020-01-31T06:00:00, 0, 0, 0, 0, 0, 0, 0, 0, 0
command 2:
curl --globoff "http://192.168.2.6/query?select=[time.local.iso,NET.volts.d2,NET.hz.d2,WTW.watts.d2,WTW.amps.d2,WTW.wh.d2,WTW.va.d2,WTW.var.d2,WTW.varh.d2,WTW.pf.d2]&begin=2020-01-31T06:10:00&end=2020-01-31T06:20:00&group=5s&format=csv&missing=zero" && echo ""
result:
2020-01-31T06:10:00, 234.97, 49.96, 53.72, 0.42, 0.07, 99.69, 83.97, 0.12, 0.54
2020-01-31T06:10:05, 235.24, 49.97, 53.57, 0.42, 0.07, 99.22, 83.52, 0.12, 0.54
2020-01-31T06:10:10, 235.28, 49.97, 53.52, 0.42, 0.07, 99.3, 83.65, 0.12, 0.54
[...]
Is there a way to query the history log using the API?