Gentleman1983/ginlong_solis_api_connector

Issue reading Data from API

Gentleman1983 opened this issue · 1 comments

Since March 4th, 2024 there are some issues collectig data. So some dahboards are not working properly.
image

We should have a look on API changes and check data imported.

Restarting Container did not solve the issue...

Found some issues.

isShow is a boolean value that has to be converted to be written to influxdb
batteryList is causing issues if there is no battery present. so we ignore it if it is empty.
The values batteryChargeEnergy, batteryDischargeEnergy, batteryMonthChargeEnergy, batteryMonthDischargeEnergy, batteryYearChargeEnergy, batteryYearDischargeEnergy, familyLoadPercent, gridPurchasedEnergy, gridPurchasedMonthEnergy, gridPurchasedYearEnergy, gridSellEnergy, gridSellMonthEnergy, gridSellYearEnergy, homeLoadEnergy, totalLoadPower are now float values. So influx db fields have to be updated.