SolarMax 2000S Inverters & EmonCMS

Hi,

Has anyone worked with SolarMax Inverters?

I have used the reverse engineered scripts found here to pull data from my inverters (I have two)

http://blog.dest-unreach.be/wp-content/uploads/2009/04/solarmax-test-chr...

It would be sweet to cron this and get it fed into emoncms, would that be possible with he api?

I am awaiting my kit from the shop so together with the clamps I should have all the data I need !

Dave

dBC's picture

Re: SolarMax 2000S Inverters & EmonCMS

If you've got that running already, it should be fairly trivial to post the data to emoncms.

One of the nice things about playing with emoncms is that you can set up your inputs/feeds/dashboards and then feed it manually by just typing URLs into your browser.   Once you've confirmed that's all working the way it should be, you just need to add the relevant URL stuff to the bottom of your perl script.

I'm no perl expert, but it looks like LWP might be the way to go:  http://www.perl.com/pub/2002/08/20/perlandlwp.html

dod's picture

Re: SolarMax 2000S Inverters & EmonCMS

Thanks for the reply, My emonglcd/tx kits arrived and I am busy putting it all together.

I guess I need to read more about how the url is put together.

I will wander around and look for examples.

 

Dave

 

Robert Wall's picture

Re: SolarMax 2000S Inverters & EmonCMS

Send format examples are in the emoncms input page API help.

dod's picture

Re: SolarMax 2000S Inverters & EmonCMS

Thanks Robert  I am reading it now..

dod's picture

Re: SolarMax 2000S Inverters & EmonCMS

So it was pretty simple in the end creating an input in emoncms say : 1

Then adding a couple of lines to the code to post to emoncms

my $url = "http://emoncms.org/input/post.json?json{$input:$V_SM_RESULT_AC_POWER_NOW}&apikey=blah";

system "curl", $url;

I have attached it here should anyone ever get a solarmax inverter, the nice thing is you can chain them with rs485 and pull from one inverter by ip having simply set the device id in the script

Dave

 

 

 

 

stevenma's picture

Re: SolarMax 2000S Inverters & EmonCMS

Hello,

I am planning to implement at home and office the OEM project and already have most of the hardware for my home system with the ultimate aim of implementing PV diversion.  I currently monitor successfully my SMA SunnyBoy 4000TL on PVoutput.org using a Raspberry Pi running SMAspot.

At my office we recently installed two SolarMax three phase inverters 8MT2 & 15MT2.  Before I fully implement OEM at the office I would like to be able to monitor the two inverters on emoncms (and / or PVoutput.org) using the script posted by user 'dod' above.

Please could someone advise me if I should be able to run the script on a Raspberry Pi and if so with any modifications to the standard Raspbian operating system?  Other than the inverter & RPi LAN and office WAN connectivity should I need anything else.  I realise I'll have to use my specific IP address(es) etc.  I am assuming / hopeful that my SolarMax inverters use the same commands as the ones 'dod' has.

Whilst I understand the general principles of coding I'm more of a hardware (recently IT but mainly analogue & some digital broadcast electronics) rather than software guy but quite determined to achieve my aims with this project.

Apologies if my questions are somewhat naive.  Over the past few months I've read the topics and forums on this site almost every day and really appreciate the achievements it's making.

Thank you in anticipation of some help and direction.

Regards,

Steve

dod's picture

Re: SolarMax 2000S Inverters & EmonCMS

Hi Steve,

I cant vouch for the script working with your inverter but it should do.

The raspberry pi will work out of the box with that code.

I use one myself, good luck and let me know if you get stuck.

 

Dave

 

stevenma's picture

Re: SolarMax 2000S Inverters & EmonCMS

Excellent. thank you, Dave.  I'll report back in a week or two when I've received my second slice of Pi.  My first one, at home, is already fully employed uploading the SMA data to PVoutput.org and soon for emoncms.

Regards,

Steve

ipimpianti's picture

Re: SolarMax 2000S Inverters & EmonCMS

Good morning everyone, I'm new to the forum and would love to see the data of my SolarMax inverters of emoncms, I saw the files and perl is not a problem to change my taste, but I do not know in that folder add the raspberry and how to show it to emoncms, you could kindly help me? best regards Diego

Edit - duplicate post deleted - PLEASE DON'T DOUBLE POST
Please read THIS
Moderator - BT

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.