I’ve updated my solar stats pages with 30-day and 90-day reports. Take a look!
This entry was posted
on Tuesday, June 19th, 2007 at 4:38 pm and is filed under General, Web, solar.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
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.
April 15th, 2008 at 1:56 pm
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
April 15th, 2008 at 2:06 pm
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.
April 16th, 2008 at 3:05 pm
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