Enecsys Micoinverter Monitoring system Proposal

All,

There are probably a few owners of Enecsys microinverters in the OpenEnergyMonitor community and you are probably aware that Enecsys has gone into administration and so the monitoring that they provided centrally is no longer working.

I have written to the administrators to suggest that they publish the technical details of the system so that an alternative can be found. 

In the email I gave this site as an example of how communities can get things done. My feeling is that a raspberry pi would be an ideal solution.

Are there any Enecsys owners out there looking for a solution.

Roger

 

 

 

 

firefox7518's picture

Re: Enecsys Micoinverter Monitoring system Proposal

HI Roger

Have a look at this thread:  http://openenergymonitor.org/emon/node/10377

Regards
Andreas

Running Cloud's picture

Re: Enecsys Micoinverter Monitoring system Proposal

I chased this up with Wireless Measurement (they wrote the code for Enesys). It seems that Enecsys still owes them for the code. So the question is if its not paid, for who's is it? Also, the copywright on the bottom of the Gateway Setupscreen has the copyright with Wireless Measurement. My guess it that it is reverse engineering project. There are a couple of services that already have done it. I use MaxSunshine https://enecsys-monitoring.com/ . For £35/year, why reinvent the wheel?

firefox7518's picture

Re: Enecsys Micoinverter Monitoring system Proposal

Yes, I once wrote them too but never get an answer back. That's why I did it myself. You actually don't need to reverse engineer it. Just to listen on what they are sending. Here for example is the string the Gateway is sending for my 2nd Gen Inverters:

{"H":{"GID":2000101127,"T":"/Date(1437115171000)/","M":"inverterreport","SIP":null,"SNN":null},"B":[{"AK":189,"AP":72,"AS":0,"AW":777,"DP":77,"E":952,"F":49,"ID":200028534,"IT":35,"PC":"WSI-0002","RI":0,"RN":135,"RT":"/Date(1437114235000)/","S":0,"V":230},{"AK":190,"AP":74,"AS":0,"AW":299,"DP":79,"E":952,"F":49,"ID":200029764,"IT":28,"PC":"WSI-0002","RI":0,"RN":136,"RT":"/Date(1437114306000)/","S":0,"V":234},{"AK":182,"AP":76,"AS":0,"AW":756,"DP":81,"E":952,"F":50,"ID":200029253,"IT":30,"PC":"WSI-0002","RI":0,"RN":137,"RT":"/Date(1437114352000)/","S":0,"V":231},{"AK":189,"AP":74,"AS":0,"AW":530,"DP":79,"E":952,"F":49,"ID":200012527,"IT":27,"PC":"WSI-0002","RI":0,"RN":138,"RT":"/Date(1437114393000)/","S":0,"V":233},{"AK":189,"AP":75,"AS":0,"AW":782,"DP":80,"E":952,"F":50,"ID":200028534,"IT":35,"PC":"WSI-0002","RI":0,"RN":139,"RT":"/Date(1437114477000)/","S":0,"V":231},{"AK":190,"AP":78,"AS":0,"AW":304,"DP":83,"E":952,"F":49,"ID":200029764,"IT":28,"PC":"WSI-0002","RI":0,"RN":140,"RT":"/Date(1437114547000)/","S":0,"V":234},{"AK":182,"AP":77,"AS":0,"AW":761,"DP":82,"E":952,"F":50,"ID":200029253,"IT":30,"PC":"WSI-0002","RI":0,"RN":141,"RT":"/Date(1437114592000)/","S":0,"V":231},{"AK":189,"AP":79,"AS":0,"AW":535,"DP":84,"E":952,"F":50,"ID":200012527,"IT":28,"PC":"WSI-0002","RI":0,"RN":142,"RT":"/Date(1437114633000)/","S":0,"V":233},{"AK":189,"AP":82,"AS":0,"AW":787,"DP":87,"E":952,"F":49,"ID":200028534,"IT":35,"PC":"WSI-0002","RI":0,"RN":143,"RT":"/Date(1437114716000)/","S":0,"V":230},{"AK":190,"AP":80,"AS":0,"AW":309,"DP":85,"E":952,"F":50,"ID":200029764,"IT":29,"PC":"WSI-0002","RI":0,"RN":144,"RT":"/Date(1437114787000)/","S":0,"V":233},{"AK":182,"AP":83,"AS":0,"AW":766,"DP":88,"E":952,"F":49,"ID":200029253,"IT":31,"PC":"WSI-0002","RI":0,"RN":145,"RT":"/Date(1437114833000)/","S":0,"V":231},{"AK":189,"AP":82,"AS":0,"AW":540,"DP":87,"E":952,"F":49,"ID":200012527,"IT":28,"PC":"WSI-0002","RI":0,"RN":146,"RT":"/Date(1437114873000)/","S":0,"V":233},{"AK":189,"AP":79,"AS":0,"AW":793,"DP":84,"E":952,"F":50,"ID":200028534,"IT":36,"PC":"WSI-0002","RI":0,"RN":147,"RT":"/Date(1437114957000)/","S":0,"V":231},{"AK":190,"AP":84,"AS":0,"AW":314,"DP":89,"E":952,"F":50,"ID":200029764,"IT":29,"PC":"WSI-0002","RI":0,"RN":148,"RT":"/Date(1437115028000)/","S":0,"V":233},{"AK":182,"AP":78,"AS":0,"AW":771,"DP":83,"E":952,"F":49,"ID":200029253,"IT":31,"PC":"WSI-0002","RI":0,"RN":149,"RT":"/Date(1437115073000)/","S":0,"V":231},{"AK":189,"AP":77,"AS":0,"AW":545,"DP":82,"E":952,"F":49,"ID":200012527,"IT":28,"PC":"WSI-0002","RI":0,"RN":150,"RT":"/Date(1437115114000)/","S":0,"V":232}]} 

I think the values speak for themselves :-) no need to reverse engineer something actually.

I still hacked into the linux system to do it differently. I wanted to have a standalone solution which does not need any cloud which I achieved for the 2nd Gens. The real-time dashboard is running fully on the gateway itself using its thttpd server and does not need any internet connection to show you the data of the inverters.

I think we learned it the hard way now. Cloud is nice as long as you als have everything locally. If you don't then you will have a big issue when the cloud will disappear. I already experienced that now several times and I'm tired of it. It's nice to promote it with "It's your data and you own it". It's still saved on the cloud and not somewhere at home. You have to download it and if the service wents down like enecsys, you have no solution again to monitor. That's why I wanted to use EmonCMS. You can host it at your home and if someone wants to do that he can ask me and I will setup a version of the firmware of the 2nd Gens which logs everything to your local EmonCMS instance or both or whatever additional instance you want ;-) this for me is the golden solution. you can use it locally or use the cloud or even both :-) That's the point where you really own the data... that's my opinion of course.... 

I'm glad the people now can decide what to use after all... It should be the same for other manufacturers as well like SMA, Enphase etc. They should provide an open API to use so that the user can bind what ever reporting solution he wants to it.... 

Andi

RogerMunford's picture

Re: Enecsys Micoinverter Monitoring system Proposal

I should have posted earlier because a couple of weeks ago I came across http://www.unitgate.eu/ which is a free downloadable monitor for windows. It doesn't do any logging but you can see current values and it works well. 

Yesterday the author, Allan Wamming Lie, put the source on to github https://github.com/AllanWLie/UnitGate and is welcoming development.

In my case I already have a central heating controller running on a raspberry pi which logs temperatures so adding the solar generation is logical. I also have an array with an SMA inverter so presenting the data together will be interesting.

 

firefox7518's picture

Re: Enecsys Micoinverter Monitoring system Proposal

Be careful to mention always for which generation it is. From the serials in the print screens it looks it's just for first Generation Inverters and not the second... This therefore only solves it for only 50% of the people and you can't poll the 2nd Gen like the 1st Gen... It's easy to read out the ajax.xml file... 

 

<response>
<zigbeeData>
WS=S-2OBgCaxjQAAH2bIQEAAAH5FDADiAAARQBAA58yAOkrAoUByQAAB4
</zigbeeData>
<serverData/>
<connectionStatus>Online</connectionStatus>
<connectionUptime>000:00:00</connectionUptime>
<lastConnectionUptime>-NA-</lastConnectionUptime>
<connectionUptimeSinceReset>650:20:43</connectionUptimeSinceReset>
<totalConnects>64022</totalConnects>
<connectionDowntime>-NA-</connectionDowntime>
<lastConnectionDowntime>000:00:01</lastConnectionDowntime>
<connectionDowntimeSinceReset>029:18:58</connectionDowntimeSinceReset>
<timeSinceReset>679:39:41</timeSinceReset>
<devicesInNetwork>2</devicesInNetwork>
<device0>068EED4B</device0>
<device1>068EEBF5</device1>
 

RogerMunford's picture

Re: Enecsys Micoinverter Monitoring system Proposal

Andi,

 

Can you monitor the output from a Generation 1 inverter and if so how do you do it?

 

Thanks

 

Roger Munford

firefox7518's picture

Re: Enecsys Micoinverter Monitoring system Proposal

Yes I do.

For 1st Gen I reused the PERL socket server idea found on other places and enhanced it with multi user and multi WS strings processing and better logging as the zigbee strings from a 24 Inverter systems could be quite long:

The Serials of the inverters then are used too make the relationship to a emoncms write API key.

Examples you can find here: http://swiss-solar-log.ch:85/firefox 
It's my dashboard used for Gen 1 and Gen 2 inverters and for house consumption and weather information.
I do have others but I do not want to give out their data if they do not have agreed with it.

When I do have some more time I will create a pvoutput.org daemon which uses a feed id to send the data to pvoutput.org. this way the whole processing can be done on emonCMS and you can use the result to send it to pvoutput.org.

Running Cloud's picture

Re: Enecsys Micoinverter Monitoring system Proposal

Hi Andi,

Did you manage to find the server response to flush the buffer and  prevent the gateway from rebooting?

 

 

firefox7518's picture

Re: Enecsys Micoinverter Monitoring system Proposal

No, so far I was not able to find it. The standard response "true" was however accepted by the gateway but something is still missing. The acutal Gateway UI is doing all the work. I tried to use IDA to disassembling and get more info but did not find anything useful.

The 2nd Gateway uses 2 channels a DCS and a CCS. The DCS is used for the json string but I did not find anything about the CCS one.

Comment viewing options

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