FIBARO Choice

Created At

Oct 07, 2021

Last Update

Apr 04, 2022

Platforms

HC 3 Lite, Z-box Hub, Yubii Home, Venture WISE, HC 3

Views

6208

Download

1341

Type Quick App

This QuickApp monitors your SolarEdge managed Solar Panels. The QuickApp has (child) devices for Solar Power, todays data, this month data, this year data and Lifetime data. 

The Solar Production values are only requested from the SolarEdge Cloud between sunrise and sunset. The QuickApp also shows the Environmental Benefits in the labels for CO2, SO2, NOX, Trees planted and Lightbulbs and also the SolarEdge Installation details in the labels. The Environmental Benefits are updated once a day after 12:00 hour. 

The settings for Peak Power and Currency are retrieved from the inverter. The rateType interface of Child device Last Day is automatically set to "production" and values from this child devices can be used for the Energy Panel. 

The readings for lastyear and lifetime energy are automatically set to the right Wh unit (Wh, kWh, MWh or GWh). 

See API documentation on https://www.solaredge.com/sites/default/files/se_monitoring_api.pdf 

 

image.thumb.png.f4c553c55647cc66645df677865f12cb.png

 

 

SolarEdge-2.thumb.png.e8e59ef95a69970a696b46d6f5760aac.png

 Changes version 2.1 (3rd April 2022)

  • Solved bug with child device lastDay showing incorrect values in energy panel

Variables (mandatory and created automatically): 

  • siteID = Site ID of your SolarEdge Inverter (see your Inverter Site Details)
  • apiKey = API key of your SolarEdge Inverter (contact your installer if you don't have one)
  • systemUnits = SystemUnits is Metrics (kg) or Imperial (Lb) (default is Metrics)
  • solarM2 = The amount of m2 Solar Panels (use . for decimals) for calculating Solar Power m2 (default = 0)
  • interval = The daily API limitation is 300 requests. The default request interval is 360 seconds (6 minutes) 
  • pause = Should the SolardEdge go in pause mode after sunset (default = true)
  • debugLevel = Number (1=some, 2=few, 3=all, 4=simulation mode) (default = 1)


Tested with: 

SolarEdge firmware version 4.12.35 and 4.13.40


 How to install: 

  1. Open the Configuration Interface
  2. Go to Settings > Devices
  3. Click  +
  4. Choose Other Device
  5. Choose Upload File
  6. Choose file from your computer with .fqa

17 Comments,  Want to add comment please login
04801fd12b48c36cbcdf5af0b140e42d

You could start with a test from your browser with this url: https://monitoringapi.solaredge.com/site/…/details?api_key=… (please fill in the siteID and APIkey at the three dots). You should get a reaction from the SolarEdge cloud with information from your installation.

7f98f3e2220a87af9cdbe1e3fbb4168a

[16.09.2022] [18:32:00] [ERROR] [QUICKAPP84]: /usr/share/lua/5.3/json/decode.lua:91: Unclosed elements present Alle variabelen ingevuld api en klant id ect. Maar krijg nu fout melding. Weet iemand wat dit kan zijn.

04801fd12b48c36cbcdf5af0b140e42d

You need both apiKey and siteID to get the values from the SolarEdge Cloud

E27b39fb6262b1a99736fa4e7f6a0afc

Hello, which API should I use? Account users API key or Site API key?

60725c6eaa3cdb94d5a4a8cf7d49cae3

Hello very nice quickapp. I have one sugestion abaut additional data from SE-MTR-3Y400V-A. It will be very hopefull for energy presentation on Fibaro.