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

Last 20 Days Changed #46

Closed halfagascan closed 1 year ago

halfagascan commented 1 year ago

Something changed with viewing the last 20 days graph, yesterday it was the normal vertical bars, today its a line graph. 123solar1

jeanmarc77 commented 1 year ago

Yup see https://github.com/jeanmarc77/meterN/issues/10

halfagascan commented 1 year ago

Installed new index.php restart nginx, php-fpm7.4 The dashboard gauge went goofy Installed php-fpm8.2 start php8.2 guage returns, the last 20 days, no change, still shows a line graph systemctl stop php-fpm7.4 Results in bad gateway systemctl start php-fpm7.4 works, but line graph is there, with both php-fpm8.2 and php-fpm7.4 running

php -v PHP 8.2.5 (cli) (built: Apr 14 2023 04:39:46) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.5, Copyright (c) Zend Technologies with Zend OPcache v8.2.5, Copyright (c), by Zend Technologi

CTL +F5 no change

jeanmarc77 commented 1 year ago

It has nothing to do with PHP. What is your browser/OS ? Did you try this ?

halfagascan commented 1 year ago

firefox 112.0.1 64bit librewolf 112.0.1-2 Konqueror 20.12.0 Chromium Version 112.0.5615.138 (Official Build) built on Debian 11 CTL +Shift +R no change CTL +F5 no change Debian 11 Linux thunder 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux

jeanmarc77 commented 1 year ago

what version does it show on your browser ? https://code.highcharts.com/highcharts.js and https://code.highcharts.com/highcharts-more.js You sure you use latest index.php ? I have no glitches

halfagascan commented 1 year ago

Highcharts JS v10.3.3 (2023-01-20)

Highcharts JS v11.0.0 (2023-04-26) copied the index.php from your metern link issue

jeanmarc77 commented 1 year ago

It should show Highcharts V11.. force that damn resfresh :p Also use index for 123s https://github.com/jeanmarc77/123solar/blob/main/index.php

halfagascan commented 1 year ago

Not sure what the hell is going on. Started looking for a howto force update Highcharts, my duck foo is not working. Both of the links to check the version now show Highcharts JS v11.0.0 (2023-04-26) Still have the line graph. thanks edit: on android device the last 20 days shows correctly, however the dashboard guage is wonky, using brave 1.50.114 if I can get the screen shot, I'll upload

jeanmarc77 commented 1 year ago

and you sure you took the latest https://github.com/jeanmarc77/123solar/blob/main/index.php ?

halfagascan commented 1 year ago

refetched the index.php, now dashboard gauge is wonky ctl +shift + R fixes the wonky gauge, but not the line graph

jeanmarc77 commented 1 year ago

You have several inverters ?

halfagascan commented 1 year ago

Just one

halfagascan commented 1 year ago

here a screen from android brave browser 123solar_Brave

halfagascan commented 1 year ago

to add win10 firefox 112.0.1 line graph shows, dash gauge is good win 10 microsoft edge 112.0.1722.58 dash gauge shows lines, last 20 days good

soe135 commented 1 year ago

For the last two days I've been having the same damn problem with the distorted dashboard display as halfagascan. The problem occurs with all different browsers that I use (Firefox, Chrome, Edge), regardless of the operating system (Windows, Linux or Android). The problem seems to start synchronously with the new version of highcharts.js (Highcharts JS v11.0.0 (2023-04-26)). Any suggestions on how to fix the problem?

...strange, sometimes it works and then again not... :o(

jeanmarc77 commented 1 year ago

did you use latest index and clear the cache ? https://github.com/jeanmarc77/123solar/blob/main/index.php I have no issue so far on various environnements

halfagascan commented 1 year ago

So, is this an upstream bug with highcharts.js? if so can you link the report?

jeanmarc77 commented 1 year ago

@halfagascan There is not issue with highcharts. did you use latest index (on git) and clear the cache ?

halfagascan commented 1 year ago

solved thanks