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


Yubii home power sensor QA undefined - what is that?


Recommended Posts

Posted

Hello @m.roszak,

 

After updating HC3 to 5.163.59 (beta) and Yubii Home app to v2.2.1 there is "undefined" show on all QA type "com.fibaro.powerSensor":

 

Please login or register to see this attachment.

 

What that "undefined" is for? Since there is nothing about this in any of your change logs or documentation I would really like to know ;-)

 

And now when I already asking about this app, why this looks like this:

 

Please login or register to see this attachment.

 

  1. Why there is same power value on two places? One is with that plug in the QA title and other one as the value? What is the difference and usage?
  2. Why there is a word "Value" bellow power value? I guess for stupid people to know that they are looking at the power value? ;-)
  3. Why instead of that word "Value" your developers didn't put QA log to be shown?
  4. Why is there that icon above power value? Does this icon change depending on the power value and if it does, then there must be somewhere setting for the maximum value, but where?

 

Suggestions:

  1. Remove that plug and room name from QA title and make more space for QA name. QA name space is now too short!
  2. Remove that word "Value" and instead add QA log field so that we do not need to use unit field to show more information, like on above picture
  3. Remove that icon above the value so value can be bigger and easier to read for many users with glasses :-D

 

Thank you! With ❤️ @Sankotronic

Posted

Shouldn’t it be a powerMeter instead of powerSensor? 

  • Thanks 1
  • Topic Author
  • Posted
    2 hours ago, SmartHomeEddy said:

    Shouldn’t it be a powerMeter instead of powerSensor? 

     

    Nope, only current production and current consumption are set as power meters, today's production and today's consumption are set as energy meter and everything else that does not go to energy panel is set as power sensors.

     

    I try other device types, but result was not satisfactory and besides this setting made code more simple. Of course there can always be better solutions since Fibaro documentation for developers is equal to zero. ;-)

     

     

    • Like 1
    Posted

    It should be com.fibaro.powerMeter but excluded from energy panel (there is a setting for that as you know). 
    com.fibaro.powerSensor is an old type (obsoleted) - still available for backward compatibility but in general we are not using it anymore.

    We will check this "undefined" issue there, its interesting.

    Other that that, thanks for the suggestions - we will talk them thru with our designers :)

    • Thanks 1
  • Topic Author
  • Posted

    Hello @m.roszak ,

     

    Thanks for explanation regarding power meter. Thanks to @SmartHomeEddy also! I will then change device type to com.fibaro.powerMeter and just configure them to be excluded from energy panel 👍

     

    • Thanks 1
    • 8 months later...
  • Topic Author
  • Posted

    Hello @m.roszak and @SmartHomeEddy,

     

    I'm working on my Enphase Envy QA and have a question?

     

    EXPLANATION:

    Since I replaced com.fibaro.powerSensor with com.fibaro.powerMeter in energy panel under the settings I have all added power meters for instantaneous consumption and production and not only ones that should be in the drop down list:

    Please login or register to see this spoiler.

     

    QUESTION:

    What I'm doing wrong and what properties I need to change so that power meters are not added to the meters configuration?

     

    Thanks!

    Posted (edited)
    11 minutes ago, Sankotronic said:

    Hello @m.roszak and @SmartHomeEddy,

     

    I'm working on my Enphase Envy QA and have a question?

     

    EXPLANATION:

    Since I replaced com.fibaro.powerSensor with com.fibaro.powerMeter in energy panel under the settings I have all added power meters for instantaneous consumption and production and not only ones that should be in the drop down list:

    Please login or register to see this spoiler.

     


     

     

    Edited by Brors94
    Posted

    Are all the values Watt or are there kWh values?

     

    Because with kWh you need to use the com.fibaro.energyMeter devicetype. 

    • Thanks 1
  • Topic Author
  • Posted

    Hi @SmartHomeEddy,

     

    You are right, I did some of the meters set with wrong type. Anyway, after correction so that kWh and MWh devices are energyMeters and all W and kW devices are powerMeters I still have them all shown in energy panel meters configuration.

     

    For example every inverter sends current power production in W and their type is set to com.fibaro.powerMeter. They all appear in the selection list for instantaneous power production even I set  includeInEnergyPanel to false and also saveLogs to false.

     

    Is this even possible to filter with QA settings which devices will show in those lists or it is expected that all devices of the certain type and rateType show there?

    Posted

    The powerMeter and EnergyMeter deviceType will show up in the energy panel. As I remember well. You can only influence the ✔️ for the energypanel settings. 

    Posted

    Yep, any com.fibar.powerMeter or com.fibaro.energyMeter will be shown in energy panel configuration, I think its a good idea to filter them out somehow.
     includeInEnergyPanel was supposed to cut the devices which overlaps values of other devices to not duplicate the values when main meter does not exist (the value in the panel is a sum of all devices). 

    • Thanks 1
  • Topic Author
  • Posted

    Hi @SmartHomeEddy and @m.roszak,

     

    Thank you very much for your help. I checked my code and found some bugs and then I did some testing and found solution to this question.

    Anyway I mostly used device types correctly (except mixed up few power and energy meters) and it is correct that they all show in energy panel configuration.

    I also properly set property includeInEnergyPanel for those that are not to influence energy panel.

     

    At the end for those child devices that I do not want to show in energy panel I set to multilevel sensor and that did the trick. :-) 

    • Like 2
    • 5 months later...
    Posted

    Hello 

    I'm doing some tests with a few power sensors and energy measurements QA's and came across the issue described in this post. Thanks for the info.

    I use this opportunity to check with you if there is a quick way to change the deviceType (from powerMeter to EnergyMeter and back,... or to any other type for that matter) rather that removing and re-adding the QA after correcting "type":"com.fibaro.powerMeter" in the Lua code of the FQA file ? Maybe with an API call ?

     

    Posted

    No, just create a new device or child device. 

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