How are you getting data out of your Xantrex solar inverter? Did you write your own serial comm. application, or are you using powerguru or something like it?
Hey, so, the setup is that I’ve got a small serial-to-Wifi box hooked up to my Xantrex, and that lets me telnet into the RS-232 control port from my Linux box.
So, then, I’ve got a small perl script that connects to the inverter, issues a few commands to get all the variables I want to measure, and then puts those into an RRD database. ( http://oss.oetiker.ch/rrdtool/ )
Then, there’s a php script on my webserver which reads the RRD database and generates the graphs that you can see.
Simple enough? I’d be happy to .tar up the whole thing if you’d like to take a look at it.
It would be great if I could take a look at it. I’ve used php, perl, and rrd before, but I’m most interested in how your perl script does the actual data retrieval.
I know I’m gravedigging this blog post here, but I’m looking for a set of scripts (or scripts already close enough to modify) to directly monitor my Xantrex GT5 from a linux box (Thecus NAS actually), and directly load to pvoutput.org).
Can you share your setup?
Thanks,
Andrew -a different one to the previous reply poster
Your solar stats page is great!
How are you getting data out of your Xantrex solar inverter? Did you write your own serial comm. application, or are you using powerguru or something like it?
Thanks,
-Andrew
Hey, so, the setup is that I’ve got a small serial-to-Wifi box hooked up to my Xantrex, and that lets me telnet into the RS-232 control port from my Linux box.
So, then, I’ve got a small perl script that connects to the inverter, issues a few commands to get all the variables I want to measure, and then puts those into an RRD database. ( http://oss.oetiker.ch/rrdtool/ )
Then, there’s a php script on my webserver which reads the RRD database and generates the graphs that you can see.
Simple enough?
I’d be happy to .tar up the whole thing if you’d like to take a look at it.
BTW, see also http://code.google.com/p/sunscreen/ which is a Python implementation of a similar setup. I’m not running that, though.
It would be great if I could take a look at it. I’ve used php, perl, and rrd before, but I’m most interested in how your perl script does the actual data retrieval.
Thanks,
-Andrew
Hi,
I know I’m gravedigging this blog post here, but I’m looking for a set of scripts (or scripts already close enough to modify) to directly monitor my Xantrex GT5 from a linux box (Thecus NAS actually), and directly load to pvoutput.org).
Can you share your setup?
Thanks,
Andrew -a different one to the previous reply poster