SolarEdge API question
Posted: 29 Mar 2022 14:19
I have SolarEdge inverter for my solar electricity production. SolarEdge's APIs are well documented, but I do not know how to use/get current production power (</currentPower>) into z-way.
If current production is higher than 9.000W > turn boiler heater ON.
Newer worked with APIs...
URL example:
https://monitoringapi.solaredge.com/ site/{siteId}/overview?api_key=L4QLVQ1LOKCQX2193VSEICXW61NP6B1O
Return content:
<overview>
<lastUpdateTime>2022-03-29 12:51:37</lastUpdateTime>
<lifeTimeData>
<energy>8208528.0</energy>
</lifeTimeData>
<lastYearData>
<energy>4583351.0</energy>
</lastYearData>
<lastMonthData>
<energy>2088703.0</energy>
</lastMonthData>
<lastDayData>
<energy>29508.0</energy>
</lastDayData>
<currentPower>
<power>11047.0</power>
</currentPower>
<measuredBy>INVERTER</measuredBy>
</overview>
If current production is higher than 9.000W > turn boiler heater ON.
Newer worked with APIs...
URL example:
https://monitoringapi.solaredge.com/ site/{siteId}/overview?api_key=L4QLVQ1LOKCQX2193VSEICXW61NP6B1O
Return content:
<overview>
<lastUpdateTime>2022-03-29 12:51:37</lastUpdateTime>
<lifeTimeData>
<energy>8208528.0</energy>
</lifeTimeData>
<lastYearData>
<energy>4583351.0</energy>
</lastYearData>
<lastMonthData>
<energy>2088703.0</energy>
</lastMonthData>
<lastDayData>
<energy>29508.0</energy>
</lastDayData>
<currentPower>
<power>11047.0</power>
</currentPower>
<measuredBy>INVERTER</measuredBy>
</overview>