I have been playing around with the script and RRD, I think I have made some progress, so I have attached the scripts I have made and the original perl script with some of my changes. They are fairly dodgy as I am not a programmer by any stretch!
Here is what I did;
1) Create the RRD (See ./createrrd.sh) - props to Jinba for the help with the RRD!!!
2) started up screen and ran this : while :; do ./inverter_phoenixtec.pl.txt.pl; done (this just keeps it looping when the inverter goes to sleep for the night
Not only will it still push info into the CSV but it should also push it into the rrdfile. (See the attached scripts)
On another note if you wish to import your CSV into an rrd you can look at my import.sh script. To use it do the following;
tail -n+2 <csvfile>.csv | ./import.sh
No Guarantees with this though

