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

2024 not being populated #70

Closed maurizioandreotti closed 2 months ago

maurizioandreotti commented 2 months ago

since the beginning of the year the system, although it reads data from the inverter:

image

it seems not showing nor storing the data correctly: image

image

it's not populating the 2024 data.

image

I tried downloading a fresh version from github and reinstall, but howthing changed.

what shall i do?

jeanmarc77 commented 2 months ago

Hi, github code is work in progress, you may use releases https://github.com/jeanmarc77/123solar/releases Check Files permissions 123solar/admin/fperms.php

maurizioandreotti commented 2 months ago

image

jeanmarc77 commented 2 months ago

Weird.. check your webserver error log

maurizioandreotti commented 2 months ago

thanks.

i see no issues shown in any of the log (ngnix, php etc). but trying to copy the 123solar data folder i am now getting read errors..... so i think i got disk issue,

will see to reinstall the raspberry

maurizioandreotti commented 2 months ago

I checked and info page say that i am running 123Solar 1.8.4.5

in file 123solar.err i see thousands of these notices: PHP Warning: include(../config/pvoutput/consumption/.php): failed to open stream: No such file or directory in /var/www/html/123solar/scripts/123solar.php on line 459 PHP Warning: include(): Failed opening '../config/pvoutput/consumption/.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/123solar/scripts/123solar.php on line 459 PHP Notice: Undefined variable: PVOT1 in /var/www/html/123solar/scripts/123solar.php on line 461 PHP Notice: Undefined variable: PVOT1 in /var/www/html/123solar/scripts/123solar.php on line 462 PHP Warning: include(../config/pvoutput/temperature/.php): failed to open stream: No such file or directory in /var/www/html/123solar/scripts/123solar.php on line 462 PHP Warning: include(): Failed opening '../config/pvoutput/temperature/.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/123solar/scripts/123solar.php on line 462 PHP Notice: Undefined variable: APIKEY1 in /var/www/html/123solar/scripts/123solar.php on line 470 PHP Notice: Undefined variable: SYSID1 in /var/www/html/123solar/scripts/123solar.php on line 471 PHP Notice: Undefined variable: PVOEXT1 in /var/www/html/123solar/scripts/123solar.php on line 480 PHP Notice: Undefined variable: SYSID1 in /var/www/html/123solar/scripts/123solar.php on line 490 PHP Notice: Undefined variable: PVOEXT1 in /var/www/html/123solar/scripts/123solar.php on line 491 PHP Notice: Undefined variable: PVOUTPUT11 in /var/www/html/123solar/scripts/123solar.php on line 397 PHP Notice: Undefined variable: PVOT1 in /var/www/html/123solar/scripts/123solar.php on line 451 PHP Notice: Undefined variable: PVOC1 in /var/www/html/123solar/scripts/123solar.php on line 458 PHP Notice: Undefined variable: PVOC1 in /var/www/html/123solar/scripts/123solar.php on line 459

jeanmarc77 commented 2 months ago

Did you set "Consumption" 123solar/admin/admin_pvo.php ? What show config/config_pvoutput.php ? (obfuscate values!)

maurizioandreotti commented 2 months ago

no, it was always set to no:

image

I think this was also set to 0...

jeanmarc77 commented 2 months ago

and the content of config/config_pvoutput.php ?

maurizioandreotti commented 2 months ago

from web it doents allow access

from info windows i see:

invt1 Wh W V

Send for SYSID : 20240423 15:25 - 0 Wh 0 W 0 V 0 C Consumption : daily energy Wh Avg. power W

PVoutput returned: Unauthorized 401: Invalid System ID

jeanmarc77 commented 2 months ago

it's empty, so save PVoutput cfg

maurizioandreotti commented 2 months ago

anyhow my problem is that it doesnt create the 2024 csv.

yesterday i was seeing daily watts, and 2024 in the historic window, but then when the day changed it went back to show only 2023.

image

jeanmarc77 commented 2 months ago

Live values are ephemerous and they are not recorded in csv files. Hence why i suppose it's a permission issue or maybe a faulty/full drive

maurizioandreotti commented 2 months ago

Hi Jean, it was a faulty SD card in the raspberry: at some point in time it decided to be only readonly, so the raspy was booting and working, but it was not saving any file at all.

I had around another one which turned out to be faulty (this time showing random r/w errors), so i had to get a brand new one and reinstall everything from scratch.

At this point in time it seems working fine since the last 2 days,

I have 2024 data (well yes, i had to download the hisory from the aurora inverter and setup the 2024.csv file for the past months)

the only strange thing which is see is that the "last 20 days" graph shows a production of 0, image

while, if I click on it i can see the graph of the last day (as well as the day before, going further back i cannot see, but that is expected as the systsem was being reinstalled): image

the debug / help, shows:

image

jeanmarc77 commented 2 months ago

great, you'll get previous days next