hultenvp / solis-sensor

HomeAssistant integration for the SolisCloud PV Monitoring portal via SolisCloud API
Apache License 2.0
217 stars 45 forks source link

Variable sensor.solis_energy_today not updated correctly! #382

Open Bildhauer1963 opened 3 months ago

Bildhauer1963 commented 3 months ago

The variable solis energy today (sensor.solis_energy_today) is ist not updated correctly. Starting at 12.00 am it seems that it starts updating with an initial value of the cumulated value for the day. Please look at Cursor_und_Home_Assistant_und_New_Issue_·_hultenvp_solis-sensor_und_Über_dem_Nachrichtenbetrachter__Mailbutler_. Solis itself show for today the following dat Wechselrichter-DetailsSolisCloud

hultenvp commented 2 months ago

Most Solis inverters reset at dawn, meaning they continue reporting energy stats from the previous day until dawn via the API. There is a filter in the code that ignores data based on inverter state during the morning. Looks like your inverter reports the wrong state via the API, meaning proper reporting only starts at noon. Please provide a screenshot of inverter state from midnight till somewhere after noon for a day that your observe this anomaly

eddysteurs commented 1 month ago

I have the same problem, is has nothing to do with inverter reset at dawn, it occurs everytime you restart home assistant, it gets value 'unknown' instead of zero (like the month and year variables do get). I think it is because we have a battery only converter so there are no energy values (never), I also have to manually change it fro munknown to zero after each HA restart

J3G0 commented 1 week ago

{12FC542A-104E-4841-A0B4-01B5E48BE0B6}

I think I have the same issue, it shows a big peak of the previous day's worth of solar production.

J3G0 commented 1 week ago

Also (sorry I'm new to HA), is there any way to see a more detailed view instead of the 1 hour blocks in the energy dashboard.

J3G0 commented 1 day ago

Screenshot_20241111-230941~2 Screenshot_20241111-231747

As you can see the previous days worth of energy is added right when the inverter is initializing.