SolarEdge
SolarEdge is a provider of three phase inverters to convert power from solar panels to alternating current. SolarEdge supports a app where you can view current power and history and they also support an API. The connection can be setup with a single API call. You can use the information from the inverter to read the current power and use this information to start charging an electric vehicle.
Datasource
To set up the connection you need a SITE ID
and API KEY
for your installation. You can obtain this information by logging in to your solar edge account. Then click on Admin
and tab Site Access
. Enable the API Access
and copy the APIKEY
and SITE ID
. Create a new secret with type http
and the following url
:
name: SolarEdge
fields:
- type: http
url: https://monitoringapi.solaredge.com/site/[SITE ID]/overview?api_key=[API KEY]
Connector
Create a new connector and add a new topic home.energy.solar
. Add keys for mapping the fields to subtopics and click on test
:
Form
The data can be viewed via timesharts and gauges in a form:
Energy Solar
Power
<Math.round(power)/1000
[0|1:lightgreen,1|:green,2|8:red 0.00 kW]
Power
[timeline]
Today
<day/1000
[0.00 kWh]
This Month
<month/1000
[0 kWh]
This Year
<year/1000
[0 kWh]
Total Energy
<total/1000
[0 kWh]
Total Revenue
<revenue
[0 EUR]
|12
To show the form go to Items
, search for home.energy.soloar
and click on the item.