Hi,
Since (I think) about 20 May 2024 the GivEnergy Energy Flow API seems to be giving incorrect data for the end_time.
Request:- {{baseUrl}}/inverter/xxxxxxxxx/energy-flows
Body:- {“start_time”:“2024-05-27”,“end_time”:“2024-05-28”,“grouping”:0,“types”:[0,1,2,3,4,5,6]}
Response:-
{
“data”: {
“0”: {
“start_time”: “2024-05-27 00:00”,
“end_time”: “2024-05-27 00:30”,
“data”: {
“0”: 0,
“1”: 0,
“2”: 0,
“3”: 0.17,
“4”: 0,
“5”: 0.02,
“6”: 0
}
},
“1”: {
“start_time”: “2024-05-27 00:30”,
“end_time”: “2024-05-27 00:30”,
“data”: {
“0”: 0,
“1”: 0,
“2”: 0,
“3”: 0,
“4”: 0,
“5”: 0.21,
“6”: 0
}
},
Note the end time is the same for all data returned and is always wrong (seems to now be representing a duration, not an end time)
Docs say:-
start_time
datetime
The start time of the query. Based on the inverter’s local time
end_time
datetime
The end time of the query. Based on the inverter’s local time
(GivEnergy API Documentation (v1.24.0))