Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

QuickApp - SolarEdge Monitor


SmartHomeEddy
 Share

Question

This QuickApp monitors your SolarEdge managed Solar Panels. The QuickApp has (child) devices for current Power, solar Power, lastday, lastmonth, lastyear and lifetime energy. The peak power and currency setting are retrieved from the inverter. The readings for lastmonth, lastyear and lifetime energy are automatically set to the right Wh unit (Wh, kWh, MWh or GWh). The energy production is added to the (new) HC3 energy panel. 

 

Please login or register to see this attachment.

 

 

Changes version 1.2 (26th August 2021)

  • Added values update main device to power interface to show usage in Power consumption chart
  • Solved a bug in the lifeTimeData.revenue existence check

 

Changes version 1.1 (21th August 2021)

  • Changed back currentPower measurement to Watt and lastDayData, lastMonthData to kWh (not to mess up statistics in Energy panel or InfluxDB/Grafana installations)
  • Changed Child device currentPower to Main device with type com.fibaro.powerSensor (Watt). So the Main device will show the current power production, no Child device necessary. 
  • Changed Child device lastDayData to type com.fibaro.energyMeter (kWh). These values will be shown in the new energy panel. 
  • Added automaticaly change rateType interface of Child device lastDayData to "production"
  • Added extra check on apiKey and siteID, if not OK then change to simulation mode
  • SolarEdge Monitor settings currency and PeakPower also available in simulation mode
  • Changed the lastUpdateTime to format dd-mm-yyyy hh:mm 


Changes version 1.0 (30th July 2021)

  • Total m² solar panels added to log text and label text
  • Check for API existance of lifeTimeData_revenue (not available in older firmware)
  • Automatic conversion added for lastmonthData, lastYearData and lifetimeData production to Wh, kWh, MWh or GWh
  • Automatic conversion added for currentPower to Watt, Kilowatt, Megawatt or Gigawatt (yes, Megawatt and Gigawatt is optimistic)
  • Get the Peakpower and Currency settings from Inverter
  • Peakpower added to label text and child device log text

 

Changes version 0.3 (12th April 2021)

  • Added last update date / time
  • Cleaned up the code

 

Changes version 0.2 (12th April 2021)

  • Disabled revenue value (not for lifeTimeData)

 

Changes version 0.1 (11th April 2021)

  • First (test) version

 

 

Please login or register to see this attachment.


Please login or register to see this image.

/monthly_2021_04/solaredge.png.accf8121c3f5c7a882321cfde3e3ea38.png" />

 

QuickApp variables (mandatory, they will be automatically added with the default values):

  • siteID = Site ID of your SolarEdge installation (see your Inverter Site Details)
  • apiKey = API key of your SolarEdge Inverter (contact your installer if you don't have one)
  • solarM2 = The amount of m2 Solar Panels (use . for decimals) for calculating Solar Power m2 (default = 0)
  • interval = The daily API limitiation is 300 requests. The default request interval is 360 seconds (6 minutes).
  • debugLevel = Number (1=some, 2=few, 3=all, 4=simulation mode) (default = 1)
  • icon = User defined icon number (add the icon via an other device and lookup the number) (default = 0)

 


Tested with: 

SolarEdge firmware version 4.12.35 and 4.13.40


 

Download the QuickApp here (download the file and un-zip):

Please login or register to see this link.

 

 

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

 

 

 

 

 

 

Edited by SmartHomeEddy
  • Like 3
Link to comment
Share on other sites

Recommended Posts

  • 0
  • Inquirer
  • Because I not YET have the SolarEdge Monitor, I build a first version of a QuickApp and am looking for testers of this version. 

    Link to comment
    Share on other sites

    • 0

    @SmartHomeEddy i have the solaredge (Fronius) and using it with HC3 for quite some time through a QA.  Best is if you also have the smartmeter, then there are no limitations in interrogating the API.  I'm not at home now but will get back in 2-3 days and i can test your QA if you want or share mine.

     

     

    • Thanks 1
    Link to comment
    Share on other sites

    • 0

    Send it @SmartHomeEddy, I'll test it for you :-D

    This is my QA as of now
     

    afbeelding.png.9440215310554006acf852cb41284b9a.png

    Edited by Bodyart
    Added the benefits :-D
    • Like 1
    • Thanks 1
    Link to comment
    Share on other sites

    • 0

    @Bodyart& Eddy

    Guys you make me jealous!

    I will investigate if my both inverters can be connect WIFI to join with your QA the info in my HC3

    Thanks!

    Do you also have integration with high energy consumers?

    //sjakie

    • Like 1
    Link to comment
    Share on other sites

    • 0

    I have Delta and Growatt

    Just requested Deltazon.nl to offer WIFI connection.

    Need some buss, stick, print cable.

    I am curious

    //Sjakie

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 1 hour ago, Momos said:

    Best is if you also have the smartmeter

     

    I am investigating what else I need to purchase. There is for example a Modbus extension. 

     

    Please login or register to see this image.

    /monthly_2021_04/image.png.5f38831d47ab922bd6858f17a56a10a0.png" />

     

    But I already have my smart energy meter from the energy company with the P1 Monitor and the QuickApp. There I also can monitor the production on all three phases. 

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Posted (edited)

    The QuickApp will start in debugLevel = 4, simulation mode, it will use some test data. You can fill in the right siteID and apiKey in the QuickApp variabels and set de debugLevel to 3. Then the QuickApp will request the data from the SolarEdge portal. 

     

    You can set the interval to 360. 

     

    In the API documentation there was also revenue for day, month and year, but aparently there is only revenue for livetime. So I changed the quickapp to version 0.2. 

     

     

    Edited by SmartHomeEddy
    • Like 2
    Link to comment
    Share on other sites

    • 0
    1 hour ago, SmartHomeEddy said:

    The QuickApp will start in debugLevel = 4, simulation mode

    Some of us read your remarks in the code :-D Every tester should do!

    • Like 1
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Posted (edited)

    I uploaded version 0.3 in the first post. @Bodyart thanks for testing. 

     

     

    Edited by SmartHomeEddy
    Link to comment
    Share on other sites

    • 0
    On 4/11/2021 at 6:54 PM, SmartHomeEddy said:

    valuta = Name of the valuta your saving with solar energy (default = euro)

    For version 0.4 the valuta can be retrieved from API :-D

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0

    Great app. I have changed the overall and yearly to MWh instead of kWh because of the big numbers.

    Also increased the API polling interval to 600 because my mobile phone also has a SolarEdge app that requests the site details.

     

    Thanks for making this, it's working great! 

    • Thanks 1
    Link to comment
    Share on other sites

    • 0

    Hi,

    since last week I've a solaredge inverter. Installed AQ in debug mode everything seems to work, great!
    My icons won't update, seems to stay in demo mode numbers.

     

    Any ideas ?

     

    Roelof

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 7 hours ago, RFLS said:

    My icons won't update, seems to stay in demo mode numbers.


    Hi Roelof,

     

    if you set debugLevel to 3 (or 2 or 1) and enter the sideID and apiKey, it should work. If not, you should see some debug messages with more info. 

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

     Share

    ×
    ×
    • Create New...