Hi everyone,
I am 2 weeks new with HA and just added my Solar using REST integration (JSON reading via Curl).
All those things work well throughout the day, but after the midnight, I get negative value shown.
I am pulling this every 4 minutes from the API. And I noticed that it may take few minutes for the Solax Cloud system to reset the stats overnight, so I stopped pulling from 11:50 PM till 12:10 AM to make sure no value goes over midnight which would cause this.
WHile it seemed promising yesterday, I received negative reading today again. Can you think of anything particular that could be causing this? As you can see in the JSON, the value is not negative.
The value used for Solar yield is “yieldtoday” which just keeps growing all day and gets reset around midnight.
{
"success": true,
"exception": "Query success!",
"result": [
{
"inverterSN": "xxxxxxxxxxxxxxx",
"sn": "xxxxxxxxxxxxxx",
"acpower": 0,
"yieldtoday": 48.8,
"yieldtotal": 1391.8,
"feedinpower": -2810,
"feedinenergy": 825,
"consumeenergy": 1793.56,
"feedinpowerM2": 0,
"soc": 0,
"peps1": 0,
"peps2": 0,
"peps3": 0,
"inverterType": "14",
"inverterStatus": "100",
"uploadTime": "2024-03-29 23:57:24",
"batPower": 0,
"powerdc1": 0,
"powerdc2": 0,
"powerdc3": null,
"powerdc4": null,
"batStatus": "2"
}
],
"code": 0
}