query history adapter
Closed this issue · 3 comments
froggi1930 commented
The query will only return the latest datapoint regardless of which time (from - to) is set.
Apollon77 commented
Please provide details how your call looks like
froggi1930 commented
The call is like this...
http://192.168.178.222:8087/query/javascript.0.ShellyVerbrauch.SHPLG-S%231D3709%231.Relay0.gestern?dateFrom=2022-04-01T12:00:00.000Z&dateTo=2022-04-08T01:00:10.000Z
As a result I only get the latest datapoint...
[ | { | "target": "javascript.0.ShellyVerbrauch.SHPLG-S#1D3709#1.Relay0.gestern", | "datapoints": [ | [ | 409.55, | 1649541600417 | ] | ] | } | ]
Apollon77 commented
Ok, lets iterate in Forum