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

SmartHomeEddy

Question

This QuickApp monitors your Solax managed Solar Panels


The QuickApp has (child) devices for Solarpower/m², Today production, Total production, Total Power to Grid, Total Energy to Grid, Energy from Grid, Total Power/m², Battery Energy, AC Power R, AC Power S, AC Power T, Battery Power, Power DC1, Power DC2, Power DC3 and Power DC4
The rateType interface of child device Today Energy is automatically set to "production"
The readings from the child device Today Energy will be shown in the new energy panel 
The readings from the child device Total Energy is automatically set to the right Wh unit (Wh, kWh, MWh or GWh) 

 

Please login or register to see this attachment.

 

See API documentation on

Please login or register to see this link.


User can get a specific range of information through the granted tokenID. Please obtain your tokenID on the API page of Solaxcloud for free.
The tokenID can be used to obtain real-time data of your inverter system. The obtain frequency need to be lower than 10 times/min and 10,000 times/day.

 

Please login or register to see this attachment.

 

Version 3.0 (19th February 2023)

  • Changed the descriptions of the Solax Cloud values
  • Converted the feedinpower value from positive to negative or from negative to positive
  • Added translation for English, Dutch and Portugese
  • Added child device for consumeenergy

Version 2.1 (4th December 2022)

  • Prevented almost empty responses like these: {"success":false,"exception":"Query success!","result":"this sn did not access!"}
  • Added log text to main device if no data from Solax Cloud 

Version 2.0 (16th April 2022)

  • Added Child Devices for feedinpower, feedinenergy, consumeenergy, feedinpowerM2, soc, peps1, peps2, peps3, batPower, powerdc1, powerdc2, powerdc3, powerdc4
  • Added all values returned from the Solax Cloud to the labels
  • Changed all the device types to the most current ones
  • Changed the handling of bad responses from the Solax Cloud
  • Replaced null values in responses with 0.0
  • Optimized some code

Version 1.0 (17th November 2021)

  • Tested, ready for release

Version 0.2 (15th November 2021)

  • Changed json response

Version 0.1 (13th November 2021)

  • First (test) version

 

Variables (mandatory): 

  • tokenId = token ID of your Solax Inverter, obtain your tokenID on the API page of Solaxcloud for free
  • inverterSN = Unique identifier (Serial No.) of your Solax inverter
  • solarM2 = The amount of m2 Solar Panels (use . for decimals) for calculating Solar Power m² (default = 0)
  • interval = The default is 300 seconds (5 minutes), the daily API limitation is maximum 10 times/min and 10,000 times/day
  • debugLevel = Number (1=some, 2=few, 3=all, 4=simulation mode) (default = 1)

Please login or register to see this image.

/monthly_2021_11/solax_icon_transp.png.f9c734692fbdaca53d5e05ad76976073.png" />

 

API items: Description (Accuracy) (Unit)

  • inverterSN: Unique identifier of inverter (Serial No.)
  • sn: Unique identifier of communication module (Registration No.)
  • acpower: Inverter.AC.power.total (1) (W)
  • yieldtoday: Inverter.AC.energy.out.daily (0.1) (KWh)
  • yieldtotal: Inverter.AC.energy.out.total (0.1) (KWh)
  • feedinpower: Grid.power.total (1) (W)
  • feedinenergy: Grid.energy.toGrid.total (0.01) (KWh)
  • consumeenergy: Grid.energy.fromGrid.total (0.01) (KWh)
  • feedinpowerM2: Inverter.Meter2.AC.power.total (1) (W)
  • soc: inverter.DC.battery.energy.SOC (1) (%)
  • peps1: Inverter.AC.EPS.power.R (1) (W)
  • peps2: Inverter.AC.EPS.power.S (1) (W)
  • peps3: Inverter.AC.EPS.power.T (1) (W)
  • inverterType: Inverter type, details refer to Table 4 in appendix
  • inverterStatus: Inverter status, details refer to Table 5 in appendix
  • uploadTime: Update time (format 2016-10-26 17:33:01)
  • batPower: Inverter.DC.Battery.power.total (1) (W)
  • powerdc1: Inverter.DC.PV.power.MPPT1 (1) (W)
  • powerdc2: Inverter.DC.PV.power.MPPT2 (1) (W)
  • powerdc3: Inverter.DC.PV.power.MPPT3 (1) (W)
  • powerdc4: Inverter.DC.PV.power.MPPT4 (1) (W)

 

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

Please login or register to see this link.

or from the Fibaro Marketplace: 

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
  • Thanks 1
Link to comment
Share on other sites

Recommended Posts

  • 0

added. if i use , than value return to 0. i have now 2094 x 1038 x 13panels = 28.256436 m2

Please login or register to see this attachment.

Link to comment
Share on other sites

  • 0
  • Inquirer
  • It is the Solar Power/m2 that gets calculated. The Total Power/m2 comes from the Solax Cloud and apperently is empty. 

    Link to comment
    Share on other sites

    • 0

    if i call API comand on browser total m2 is 0 too.

    Please login or register to see this image.

    /monthly_2022_04/923298558_apisolax.jpg.deab589214d312608d4e41c289f67312.jpg" />

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 42 minutes ago, messiah.rs said:

    if i call API comand on browser total m2 is 0 too.


    I think the Solax Cloud doesn’t knows your m2 amount. Maybe you can edit it in the Solax Cloud or your installer can. 

    Link to comment
    Share on other sites

    • 0

    i have acces to basic, advance and meter settings. i cant find any setting for numbers panels or m2

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0

    Hi all,

    I hope all doing well 

    I have a question about my Solax inverter SK-SU 5000E/48V, do you think it will be intrgrated with my hc3 by using this quickapp?

    thank you for your help

    Regards 

    Lahoucine.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • You need two items to have it working: 

    tokenId = token ID of your Solax Inverter, obtain your tokenID on the API page of Solaxcloud for free

    inverterSN = Unique identifier (Serial No.) of your Solax inverter


    If you have those, you could check the Solax Cloud with this URL (fill in the tokenID and inverterSN)

     

    Please login or register to see this link.

    tokenId&sn=inverterSN

     

    You should receive an answer like this:

     

    Please login or register to see this code.

     

    • Like 1
    Link to comment
    Share on other sites

    • 0

    Hi Eddy, 

     

    Thanks for this quick app. 

    I'm getting an error with the QA, if the Inverter I get an error with the QA when the inverter is off overnight or in Wait Mode. When the inverter is online, everything works perfectly. 

     

    [29.11.2022] [23:44:01] [ERROR] [QUICKAPP494]: QuickApp crashed

    [29.11.2022] [23:44:01] [ERROR] [QUICKAPP494]: main.lua:386: bad argument #2 to 'format' (number expected, got nil)

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Hi @RudyT

     

    Thanks for reporting. I made some changes. I don't have the Solax Inverter, maybe you could do some testing with the new code? I will send you a PM. 

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • A new version of Solax Monitor is available. 

     

    Version 2.1 (4th December 2022)

    • Prevented almost empty responses like these: {"success":false,"exception":"Query success!","result":"this sn did not access!"}
    • Added log text to main device if no data from Solax Cloud 

     

    Thanks @RudyT for testing

    Link to comment
    Share on other sites

    • 0

    Hello!

    I need some help understanding whats wrong with this readings, in the dashboard i'm getting this values (wich are correct, since at this moment im producing 1046W and consuming around 600W (not using nothing from the grid)

     

    Please login or register to see this attachment.

     

    But in the APP what i´m getting is that im consuming 1.42. From where its getting this value?

     

    Please login or register to see this attachment.

     

     

    Edited by JokkerPT
    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Sorry, I wasn't clear, I meant the Homecenter 3 firmware. In the latest firmware version you are able to setup in the advanced settings of your devices, if the value should be used in the power measurement: "Use instantaneous power in Energy Panel calculations"

     

    Look at all your devices to mark or unmark this setting to get the right reading in your Yubii app. 

     

     

     

    Edited by SmartHomeEddy
    Link to comment
    Share on other sites

    • 0

    I only have 1 device that could give me higher values of consumption (that only works at nigth), the other ones are residuals.

     

    For example rigth now im getting this different readings

     

    Please login or register to see this attachment.

     

    Please login or register to see this image.

    /monthly_2023_01/image.jpeg.ad6a2652db08c9f6dda5d5b97b978176.jpeg" />

     

    Link to comment
    Share on other sites

    • 0

    Only 4 are normally used (1 Switch and 3 ligths) but the switch is the only one used at nigth.

     

    Please login or register to see this image.

    /monthly_2023_01/image.png.99d4a117445a364da2b59a553c2bfdef.png" />

     

    On the cloud of fibaro, i see that the value of Grid power is normally correct, but on the yubii APP the consumption value its almost always higher.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • A new version of the Solax Monitor QuickApp is available.

     

    Version 3.0 (19th February 2023)

    • Changed the descriptions of the Solax Cloud values
    • Converted the feedinpower value from positive to negative or from negative to positive
    • Added translation for English, Dutch and Portugese
    • Added child device for consumeenergy

    Please use the .fqa file and replace your old QuickApp with a new one. 

    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.

    ×
    ×
    • Create New...