old daily prod. graphics from 1.5 to 1.7.3

Talks about solar stuff
Post Reply
megamarco83
Posts: 77
Joined: Tue Apr 14, 2015 9:25 am

old daily prod. graphics from 1.5 to 1.7.3

Post by megamarco83 » Wed Sep 12, 2018 5:39 pm

hi, i'm moving from 123solar 1.5.5 to the new 123solar 1.7.3
all is working perfectly since 3days
but now i notice that if i look at the previus data before updating to 1.7.3 now i'm not able to see the production about those days
this are days related to 1.5.5 (old data not correct shown)
Image
this are days related to 1.7.3
Image

the cvs old and new versions seams to be different:
1.7.3:

Code: Select all

Time,I1V,I1A,I1P,I2V,I2A,I2P,I3V,I3A,I3P,I4V,I4A,I4P,G1V,G1A,G1P,G2V,G2A,G2P,G3V,G3A,G3P,FRQ,EFF,INVT,BOOT,SR,KWHT
07:50:00,,,,,,,,,,,,,235.4,1.56,344.8,,,,,,,49.95,0,,,,24297.14
07:55:00,,,,,,,,,,,,,235.4,1.98,405.6,,,,,,,50,0,,,,24297.172
08:00:00,,,,,,,,,,,,,234.7,2.22,519.8,,,,,,,50,0,,,,24297.21
08:05:00,,,,,,,,,,,,,232.6,2.78,631.5,,,,,,,50,0,,,,24297.258
1.5.5

Code: Select all

Time,I1V,I1A,I1P,I2V,I2A,I2P,GV,GA,GP,FRQ,EFF,INVT,BOOT,KWHT
00:00:00,,,,,,,234.5,0.42,0,50,0,,,24269.318
00:05:00,,,,,,,233.4,0.42,0,49.95,0,,,24269.318
00:10:00,,,,,,,233.5,0.42,0,49.95,0,,,24269.318
00:15:00,,,,,,,232.1,0.42,0,50,0,,,24269.318
is it possible to "convert" old cvs in order to display the old datas?


i try to copy the convert.php and put in in /var/www/123solar/data
then:

Code: Select all

pi@raspberrypi:/var/www/123solar/data $ php convert.php
Hello,

This script is converting your daily detailled csv files (1.5.x) to 1.6.x compatible.
PHP Warning:  include(config/config_main.php): failed to open stream: No such file or directory in /var/www/123solar/data/convert.php on line 16
PHP Warning:  include(): Failed opening 'config/config_main.php' for inclusion (include_path='.:/usr/share/php') in /var/www/123solar/data/convert.php on line 16
PHP Notice:  Undefined variable: NUMINV in /var/www/123solar/data/convert.php on line 18

Done. You may now remove convert.php
bye
but without any result
could you help me?
thanks

jeanmarc
Posts: 1832
Joined: Thu Aug 29, 2013 7:16 am

Re: old daily prod. graphics from 1.5 to 1.7.3

Post by jeanmarc » Wed Sep 12, 2018 6:30 pm

1.5.5 is really outdated :?
You can indeed use convert.php, it should be located in /var/www/123solar/ then php convert.php (There a README btw)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest