jeanmarc77 / 123solar

123Solar is a lightweight set of PHP/JS files that makes a web logger to monitor your photovoltaic inverter(s). It just need a web server and PHP, no databases are even needed. The philosophy is: To keep it simple, fast, with a low foot print to run on cheap and low powered devices.
GNU General Public License v3.0
36 stars 12 forks source link

Update mi600-webif.php #38

Closed soe135 closed 1 year ago

soe135 commented 1 year ago

After some time of operation, an error has appeared that always occurs when 123solar is restarted during the period when the inverter is offline. In this case there was a short spike in the power chart because the KWHT start value of the inverter was not correctly preset with the last value. Thus in the inverter datafiles the KWHT value was entered with 0 instead of the correct value currently stored in the inverter. This fix eliminates this behavior.