jwgorman
Posts: 7
Joined: Sat May 04, 2013 8:31 pm

SolarNetwork: renewable energy management framework

Sat May 04, 2013 8:51 pm

Hi,

I just wanted to post a note about an open-source Java-based software platform we're building out to capture energy information data from solar inverters and charge controllers as well as kilowatt hour meters and other devices. It's built in Java and uses OpenJDK, and uses OSGi and Spring (on our way moving to Blueprint currently, almost there) to acquire data from a variety of solar grid-connect inverters, charge controllers, kilowatt hour meters, CANbus industrial switches. It also has a server side where the data is stored and visualized. All the info on development is here:

https://github.com/SolarNetwork/solarne ... oper-Guide

and you can see some HTML5 visualizations here, but there's a lot of stuff yet to be done!

http://data.solarnetwork.net/solarviz/n ... &nodeId=35

http://data.solarnetwork.net/cm/cm.html?nodeId=106

If anyone is looking at using their Raspberry Pi to capture energy data in high-resolution and act on it, and interested in a Java framework, let me know, we'd love to see the interfaces implemented for more hardware. We currently can concurrently capture data from: SMA, Outback, Xantrex, Morningstar, WattsClever, Cent-a-meter, OWL, Enasolar and others like Modbus devices over RS-232, RS-485, Wifi, Ethernet and we also can handle web services for weather and grid spot-price. But anyway thanks! John

hawamahal
Posts: 2
Joined: Sat Oct 20, 2012 7:53 pm

Re: SolarNetwork: renewable energy management framework

Thu Jun 13, 2013 2:16 pm

I have got a Xantrex 2.8KW monitor. I want to use Raspberry Pi to monitor my solar output and upload data to PVoutput.org

http://www.pvoutput.org

I have not bought the Raspberry Pi yet. Is it possible to do so, please let me know, I will go ahead and buy it.

Thanks

Hansjebrinkers
Posts: 1
Joined: Sat Sep 07, 2013 5:49 pm

Re: SolarNetwork: renewable energy management framework

Sat Sep 07, 2013 6:02 pm

Since two months I have 16 245 wp panels on my roof. Works excellent, the first 700 kWh are "in the pocket". I'm using a zentralpower 3.6s inverter. Some googling proofed that this is a growatt 3600mtl clone.

On my laptop it's easy to read the rs232 and get the data into "shine net".

Since two weeks, I have a raspberry pi. Elementary, this works well, but I can't get it configured to use as a logger for my solar system.

My question: where to get a raspberry pi image to read the data from the inverter to the raspi.

Steve Nix
Posts: 1
Joined: Sun Apr 20, 2014 9:12 am

Re: SolarNetwork: renewable energy management framework

Sun Apr 20, 2014 9:21 am

Hi,

I did a write up on my RPi to pvoutput.org setup together with the code - if it is still of interest for you. :)

http://fixedbycode.blogspot.dk/2014/04/ ... owatt.html

RGDS

jwgorman
Posts: 7
Joined: Sat May 04, 2013 8:31 pm

Re: SolarNetwork: renewable energy management framework

Fri Jul 31, 2015 2:54 am

Hi there,

Back again after a while sorry - the images to use with a Raspberry Pi (Rev B+ for now) are available here:

http://sourceforge.net/projects/solarne ... arnode/pi/

We do have some support for an older Xantrex GT inverter, and very interested in the Growatt thanks.

John

Turbootje
Posts: 4
Joined: Wed Aug 19, 2015 9:58 am

Re: SolarNetwork: renewable energy management framework

Wed Aug 19, 2015 10:04 am

Steve Nix wrote:Hi,

I did a write up on my RPi to pvoutput.org setup together with the code - if it is still of interest for you. :)

http://fixedbycode.blogspot.dk/2014/04/ ... owatt.html

RGDS
Hello, i running this setup. but can't get it to work yet.
When i try to test it, i get the following.

[email protected] ~ $ python pvout_upload.py
File "pvout_upload.py", line 79
http://pvoutput.org/service/r2/addstatus.jsp'\
^
SyntaxError: invalid syntax

Why is this a syntax error, it is just the web adress to upload.

regards
Richard

User avatar
DougieLawson
Posts: 38554
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: SolarNetwork: renewable energy management framework

Wed Aug 19, 2015 11:08 am

It looks like you've downloaded the script using Windows and added CRLF to every line.

sudo apt-get install dos2unix
dos2unix pvout_upload.py

should fix it.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Turbootje
Posts: 4
Joined: Wed Aug 19, 2015 9:58 am

Re: SolarNetwork: renewable energy management framework

Wed Aug 19, 2015 9:07 pm

DougieLawson wrote:It looks like you've downloaded the script using Windows and added CRLF to every line.

sudo apt-get install dos2unix
dos2unix pvout_upload.py

should fix it.
Thanks for the replay,
but unfortunately it does not work, i get the same syntax error.

User avatar
DougieLawson
Posts: 38554
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: SolarNetwork: renewable energy management framework

Wed Aug 19, 2015 9:32 pm

Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Turbootje
Posts: 4
Joined: Wed Aug 19, 2015 9:58 am

Re: SolarNetwork: renewable energy management framework

Wed Aug 19, 2015 10:33 pm

thanks for your help,
I'm using WinSCP now and i do understand it a bit more.
However, now i am stuck with this...

[email protected] ~ $ python pvout_upload.py
Traceback (most recent call last):
File "pvout_upload.py", line 15, in <module>
OWMLon = float(config['Longitude'])
ValueError: could not convert string to float: <48.3603>

User avatar
DougieLawson
Posts: 38554
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: SolarNetwork: renewable energy management framework

Wed Aug 19, 2015 11:00 pm

Your /boot/pvoutput.txt needs to look a bit like

Code: Select all

SYSTEMID = arthurdent
APIKEY = erhjrekgrehiogrghwrtrlk%xyzzy
OWMKEY = dgjhkfdfdgeqrgewgewhjgeged-eqgergjerkglwer
Inverters = 5
Longitude = 51.145
Latitude = -1.233
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
rpdom
Posts: 16800
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: SolarNetwork: renewable energy management framework

Thu Aug 20, 2015 6:13 am

DougieLawson wrote:It looks like you've downloaded the script using Windows and added CRLF to every line.
Annoyngly, clicking the download icon on that page saved the file with CRLF line endings, even in Linux :(

Turbootje
Posts: 4
Joined: Wed Aug 19, 2015 9:58 am

Re: SolarNetwork: renewable energy management framework

Fri Aug 21, 2015 1:01 pm

Okay, that problem is fixed. :)
Now i'm stucked with this:

[email protected] ~ $ python pvout_upload.py
Traceback (most recent call last):
File "pvout_upload.py", line 43, in <module>
if owm.API_online:
AttributeError: 'OWM25' object has no attribute 'API_online'

User avatar
DougieLawson
Posts: 38554
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: SolarNetwork: renewable energy management framework

Fri Aug 21, 2015 3:10 pm

Throw the script you've got in the bit bucket.

Clone the git stuff at https://github.com/csparpa/pyowm and work from the examples/docs in that package.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

N3tguru
Posts: 20
Joined: Thu Mar 06, 2014 5:31 am

Re: SolarNetwork: renewable energy management framework

Wed Sep 16, 2015 1:57 am

Check out this thread. I have a Xantrex GT 2.8 reporting to pvoutput.org using a Pi. Its been working for well over 1 year now. viewtopic.php?f=37&t=11955&hilit=xantrex&start=50

jwgorman
Posts: 7
Joined: Sat May 04, 2013 8:31 pm

Re: SolarNetwork: renewable energy management framework

Wed Feb 14, 2018 11:48 pm

have been out of this forum for quite some time, but still working on the platform that runs on a Pi. We recently connected to a thermopile pyranometer, which measures irradiance: http://solarnetwork.net/v4/testing-the- ... ce-plugin/ and you should be able to use that generic modbus plugin to grab data off a few different inverters and kWh meters.

Return to “Automation, sensing and robotics”