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 #31

Closed soe135 closed 1 year ago

soe135 commented 1 year ago

After a few more days of operation I faced an unpleasent side effect that the 'sledgehammer algorithm' I used to eleminate the positive KWHT drift between the calculated value and the real value stored inside the inverter produces sometimes some parts of sawtooth in the average power graph of 123solar. To prevent this behaviour I have now implemented a more gentle algorithm to eleminate this positive KHWT-drift.