Solar Guppy - All Things Solar Forum

It is currently Sat May 04, 2024 2:53 am GMT EthGMT

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: xantrex gt3 inverter data -> rrdtool
PostPosted: Tue Mar 28, 2006 12:59 am GMT EthGMT 
Offline
Fish Eggs
Fish Eggs

Joined: Tue Mar 28, 2006 12:42 am GMT EthGMT
Posts: 2
Has anyone written anything that polls the GT3 on a given interval and inserts the data into rrdtool databases for dynamic generation of historical graphs? I just want to check to make sure no one has done it allready.. I have worked in the past with rrdtool for custom data integration so shouldn't take me too awfully long execept for writing the interface and regular expressions to parse the gt3's serial output.

If not one else has done this yet I'll give it a go, and post the resulting final program package here when done.

Tyler


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 20, 2006 7:30 pm GMT EthGMT 
Offline
Fish Eggs
Fish Eggs

Joined: Tue Mar 28, 2006 12:42 am GMT EthGMT
Posts: 2
Ok! I got what I wanted working.. I am still working on modifications and the server isn't up 100% of the time right now, so expect some holes in the graphs..

Click on All Dashboards, then View Solar Performance
Solar Performance Graphs


Several utilities were put together for this:

The first part is a c program that queries a serial port with a command followed by a \r then waits for a repsonse followed by a \r and then echo's the ouput.
query-serial.c

I then have a cron'd bash shell script that runs every minute to collect the data and import it into an rrd database.
gt3stat.sh

The RRD database is created with the following script:
create-solar-rrd.sh

I then used an open source package called drraw for the webinterface and graph generation from the rrd database. I modified the footer in the config to pull values for the daily and system totals.

drraw is available here.

If you have any questions please feel free to contact me at tylerwalden@gmail.com

Tyler


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000 - 2020 phpBB Group

phpBB SEO

© SGT 2002 - 2020 Solar Guppy