You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symo GEN24 10.0 Plus reports None for GetInverterRealtimeData.cgi?Scope=System as shown below.
And then the method _system_inverter_data fails with an Exception in (for example)
sensor["energy_day"]["value"] += data["DAY_ENERGY"]["Values"][i]
I can not say if this is the case because the GEN24 never reports data
or if there is currently no data because there is no production because of snow on my modules.
In my opinion None should be handled as 0.0 in _system_inverter_data
Hi @rikuriva
Thanks for reporting this. Has there been an update regarding the snow situation? I guess either way, the package should support handling "None" as values there.
Symo GEN24 10.0 Plus reports None for GetInverterRealtimeData.cgi?Scope=System as shown below.
And then the method _system_inverter_data fails with an Exception in (for example)
sensor["energy_day"]["value"] += data["DAY_ENERGY"]["Values"][i]
I can not say if this is the case because the GEN24 never reports data
or if there is currently no data because there is no production because of snow on my modules.
In my opinion None should be handled as 0.0 in _system_inverter_data
Thanks
Result for a call to GetInverterRealtimeData.cgi?Scope=System:
{
"Body": {
"Data": {
"DAY_ENERGY": {
"Unit": "Wh",
"Values": {
"1": None
}
},
"PAC": {
"Unit": "W",
"Values": {
"1": 0.0
}
},
"TOTAL_ENERGY": {
"Unit": "Wh",
"Values": {
"1": 398373.85305555555
}
},
"YEAR_ENERGY": {
"Unit": "Wh",
"Values": {
"1": None
}
}
}
},
"Head": {
"RequestArguments": {
"Scope": "System"
},
"Status": {
"Code": 0,
"Reason": "",
"UserMessage": ""
},
"Timestamp": "2023-12-03T18:37:16+00:00"
}
}
The text was updated successfully, but these errors were encountered: