So I recently dabbled in some Solar Tech. As part of this project, I wanted to get a Growatt Inverter to report to PVOutput, BUT, I also wanted to run Growatts own ShineNet 2 software. It seems doing both can be quite difficult. There appear to be 2 solutions to get Growatt inverter data to POVoutput. One is via a java script, which has various dependencies (like Java) and I simply could not get to run. It also perhaps only runs with an older version of ShineNet (They changed to a database format in the newer versions). The other was an app that directly read from the intverter interface, but this would mean that you could no longer run ShineNet.
So, what to do!? As usual – Create my own… Fortunately, PVOutput have a simple and open API. So, 1 day later, here are the fruits of my labours
A pretty miserable day for solar generation, but hey, it’s working…
If you’d like to do the same I have made available my software below. It’s very simple. There is no install. Just extract the zip to a folder of your choice (program files x86 probably a good choice) and edit the ‘ShineToPVO.exe.config’ file. The bits you’ll need to edit I have highlighted in bold below
<setting name=”LogFolder” serializeAs=”String”>
<value>Path to your shinenet data folder, i.e. InverterData\</value>
<setting name=”PVO_APIKey” serializeAs=”String”>
<value>Your POVOutput read/write key</value>
<setting name=”PVO_SystemId” serializeAs=”String”>
<value>You PVOutput system ID</value>
<setting name=”PVO_ServiceURL” serializeAs=”String”>
<setting name=”WriteResultToFile” serializeAs=”String”>
Now, this is a windows service, so you’ll need to install it as such. You do this in .Net with the ‘installutil.exe’ tool. You’ll need to find where this is on your computer. Probably something like ‘c:\windows\Microsoft.NET\Framework\v4.0.30319\’. Make sure you use the ‘Framework’ version, not ‘Framework64’. This is compiled for all processors, not 64bit only. Once you locate your installutil, you open a command prompt (as administrator), change to the folder you extracted the files to and run a command like the following
You should get asked for a user account you want to use to run the service as. You’ll likely need to enter this as computername\username, then your password. This is stored on your computer only – the app has not access to it. It’s just windows asking for it. If at the end of the command you get the sucess message, you are set! Well, almost. You probably want to go into ‘services’ and make sure the service is set to auto start.
There’s no output from the app at all. If you got your config file correct and the paths to the ShineNetapp etc. are all good, PVOutput should start showing data for your inverter in a few minutes. The app is configured to work with 5 minut outputs. If monitors the inverter and takes readings as they occur which is normally about every 5/10 seconds with ShineNet. These readings are all taken, averaged, then sent to PVOtput as 5 minutes intervals (they do not allow logging at higher resolution). The app uploads for as long as the inverter is running and generating data. Once the inverter goes to sleep, like overnight, the app stops reporting. It will automatically start again once the inverter wakes up.
You can download the latest version of the service here (Windows, .Net4 (4.6) only)
As usual, let me know below if any issues and I will try to resolve, time permitting.
The software is free for non-commercial use but if you find it useful and wish to donate beer money, you can do so Via Bitcoin or PayPal. Any amount (no matter how small) will give you a warm fuzzy feeling and help me keep the power on. Be fair, just donate what you think is right. Thank you.
Bitcoin to 1PsQP6ECsevKRck4NPNJ3ZLnGaSJLxNyUT
PayPal to pjs DOT guernsey AT gmail DOT com
Commercial arrangements and custom versions are available if you wish to re-distribute or use for commercial purposes. Please do not redistribute this, but feel free to link to it here.
At the very least, if you liked this or found it useful, please let me know in the comments section below or give it a like/share above. Thanks!
You can view my linkedin here