timothee wrote: ↑
Tuesday 26 September 2017 20:38
Has anyone got this kind of calculations working with a SolarEdge inverter (linked through the web API in Domoticz)?
At the end of this topic
you can read about reading a SolarEdge Inverter via LAN. I use the perl script sunspec-monitor
to get the basic data from my SolarEdge. This in avoiding to use de SolarEdge website API.
All you need is a LAN connection with your SolarEdge Inverter. This document
shows how to configure your LAN port on your Inverter. You might also need n update of your firmware. I made one phone call to Solaedge NL support and that was started within 5 minutes.
Below you can see examples of the ouput in json or csv.
Code: Select all
This is the json output.
"timestamp": "2018-02-08 14:14:06",
"status": "ON (MPPT)",
Code: Select all
And the csv output
2018-02-08 15:52:26,ON (MPPT),485,492,209221,236.60,2.12,377.20,1.31,40.49,0,0
Finally, to your question. No,I don't have a working calculation yet. See or the values, you can get from the inverter via LAN provides you enough information you need. The value for ac_power (Watt), is almost the same as ac_voltage * ac_cuurent (Watt). The production/time can easy be calculated by subtracting total_production at the end and the begin of a time interval on the most simple way.
Using the SolarEdge web API, the gererated devices shows other values then what I see the device list in Domoticz. And also different form the values I see at my SolarEdge customer website. The values directly from my inverter do match much more with my SolarEdge customer website and I know there is a time difference in real time from the inverter and displayed at the website.
At this moment I am writing a dzVents script where I use an os.execute('perl sunspec-status ......') to run the perl script. The hardest thing is to understand the use and the working of the Counter type device (RFXmeter, RFX meter counter) and the Energy type device (General, kWh). It is very hard to find any detaled information about what is going underneath the hood of these devices. I hope somebody can explain this to me or point me to some documentation.