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


Energie calculation and panel way too high


Recommended Posts

Posted

Hello,
I've added a tiny solar power production via a zwave wall plug (Abus) in the HC3.

The plug consists of 3 child modules: 1 binary switch, an energy meter (voltage) an energy meter (ampere).

Sadly I just can activate "Energie production" only on the voltage and ampere child - but they don't have a energy calculation view within the advanced tab.

The binary switch is just calculation the infeed energy as output energy and I can't change the direction or use via the Fibaro button because there is none for binary switches.

So I built a QA based on energy meter and wraped it around the plug, and enabled "Production".

The QA is working perfect as you can see on the picture where you can see the calculated power in W and energy as kWh.

 

BUT the calculated numbers above the graphic in the advanced tag shows numbers way to high (more than 10 times - see last picture).

As you can see on the left axis there are just 500W peak available and instead of 0.736 kWh there is shown 9.17 kWh!
And in the energy panel on the savings tab you can also see, that there are the same over-height numbers.


I've ne idea to fix that strange behavior. May Fibaro or anyone have an idea?

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Posted

I am pretty sure it is a bug that you can activate energy calculation on voltage and amperage meter - I will check it out.
As for other issue, I will forward this to the developers - we did not notice anything like that before.

As for your QA, are you sure that energy which you put there is always a higher value from report to report?
Is there a chance that you put there 0 kWh and then measured production, again 0 and so on? 

Energy panel uses positive deltas from the reports to calculate consumption/production.

  • Topic Author
  • Posted

    Hey, thanks for your reply.
    God knows why, but today the panel shows the correct data. See screenshot.
    I did nothing...
    Btw. the QA is updating the value every 5 seconds and it is the same value as the wall plug shows. It would se really great, if it would possible to set a wall plug a energy meter, so everybody could use it. I am able to do programming lua and other languages so it was no problem for me to create a QA to solve that "problem" but for normal users there is no chance to find a solution for that case (solar energy feed in in wall plug).

    Btw. could you may explain how to delete "old" energy data (of a device or all) from the database to get a clean start for metering?
    I tried it via Energy panel / Panel settings / History but I still have old data and don't know to clean it in total. There is a checkbox which says "compensate historical data". What does it exactly mean? If I activate this, the system will complete delete the data? Or will the system let the data stored and delete the connection to the source (like wall plug etc.)?

    I have there 7 KW produced energy in the system, because of some tests (may from the QA or a Fronius QA), and find no way to delete them. 
     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Posted

    In Swagger (active API docs) there is a request to clear all data - in "energy" definition.

     

    As for compensation - I will explain more on monday :)

  • Topic Author
  • Posted (edited)

    Thanks for your commitment m.
     

    Today the energy production calculation is again way to high.

    If you see in picture 1 there is a energy production peak about 2,7 kWh between 11 and 12 o'clock (and this seems the root of the problem). The maximum of my system is just 0,6 kWh and if you look at picture to you see the curve with correct numbers. BUT above you see number 4 kWh for the whole day is definitely wrong. I roughly calculated something about 1.6 kWh.

    Please login or register to see this attachment.

    Please login or register to see this attachment.


    On the other hand you see the maximum energy production for 2.5 days of my wall plug and this is just 3.66 kWh!
    So I've no clue why the system is calculating to much energy.   

    Please login or register to see this image.

    /monthly_2022_02/221327371_2022-02-1317_46_31-HomeCenter.jpg.81770ad2e0901ba189e1dd141bf81b12.jpg" />

     

    and in QA the same value:
    1143365489_2022-02-1318_35_42-HomeCenter.jpg.41fa26c01a6f153ea0e5d45b30d0a593.jpg


    At picture you can see that the curve of the QA is the same as the source data curve of the wall plug (blue line).

    Please login or register to see this attachment.

     

    With the QA I made the data in this way:

    Please login or register to see this code.

     

     

    I've checked the History view and found some things which could be the source of the problem (see picture).
    There is a reconfigure of the wall plug id: 171/172 this leads to some readings of 0W and 2.5 W.

    My QA id: 167 did the same but there are also some events of id 167 (with the solar cell symbol) which is the ernergy and should be reported in kWh -> I guess this is a bug in Fibaro.

    And the root seems to be the Meshnet reconfiguration. What can I do to block this for the wall plug when this leads to that crazy result in calculation? 
    May if there is no solution I could check the values in my QA and don't send values less than 3W.
    Or I try to figure out if the getvalue function can detect if the communication to the wall plug is broken.


    Please login or register to see this attachment.

    Edited by kpwoxel
  • Topic Author
  • Posted (edited)

    So, I changed my QA that it should (hopefully) never bring a 0 value for the energy value. As higher your value is as worse is the effect if the Fibaro panel "sees" a 0 value because it add the whole energy value to your already counted value :-(


    A friend of mine has an Fronius solar inverter with an QA (from siio) and a huge solar system. He has in meantime Megawatts of produced energy because of some effects where the energy value was 0 and in next second Fibaro is adding the whole energy production of the QA to the already counted (whole) energy of the panel so you have a two times higher value of your produced energy. And if this happen your whole panel is useless (unless you are able to delete such numbers from the panel).
    May it would be a good idea for Fibaro to re-think this and give the users a simple tool to fix this. 
     

     

    Edited by kpwoxel
    Posted

    There are some redundancies to ignore too high deltas between reports... I think is 5kWh for actors with interface "energy" and 15kWh for com.fibaro.energyMeters. 

    As for compensation.
    System calculates summary consumption using energy reporting devices in the system.
    If you got main energy meter selected the summary value is being taken from this device(s) only.

    In panel setting, when clearing energy data you can choose if the summary consumption or production should be adjusted (compensated) with energy data you are removing.
    Not selecting compensation will result in removing data for specific devices without changing summary consumption/production.

    • Like 1
    • Thanks 1

    Join the conversation

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

    Guest
    Reply to this topic...

    ×   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...