Handle bad behaviour by the Hoymiles API #7
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: paul/solar-grabber#7
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The following issues were found:
data
field in the API response can be an empty string (instead ofnull
) in case of an errortoday_eq
field in the API response is reset, but not at the some moment added tototal_eq
, leading to a decrease in the total until this is correctedlast_data_time
field in the API data as last updated timestamp but it has no timezoneHandle this behavior by various workarounds.
Handle bad behaviour of the Hoymiles APIto Handle bad behaviour by the Hoymiles APIThe shifting every 15 minute update is fixed in commit
01416ee
(andef13f7e
) by reducing the poll interval to 5 minutes.The
last_data_time
field parsing and inclusion is added in commite0151c3
.The 0:00 reset breaking the non-decreasing total is fixed in commit
d787c8b
.The improved parsing of a possible empty
data
field and the status (error) code as string is implemented in commit5a2889a
.The validation of the response (and status (error) code checking) was added in commit
e1d70e8
.This was the last remaining issue.