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

Power consumption grahps


Incomplette

Question

Hi, 

i have 3 Fibaro wall plugs added in my HC3 but i cant find any graphs of power consumption. Are they missing in GUI? Can i get power consumption of wall plug by days/hours eg. in Lua script?

Edited by Incomplette
Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

yes, one can export the consumption data, but as well read it with simple lua scene, e.g. last 24 Hours from Device with ID 23

 

Please login or register to see this code.

result:

 

Please login or register to see this image.

/monthly_2020_03/image.png.024debb68fe05e6eebadb3a1bbbe4a3a.png" />

 

The description is in the HC3 API Help

 

image.png.7a45d853afb3f8ead5c44af2ebddbd2f.png

 

or directly:

 

HC3-IP/assets/docs/consumption.json

 

 

Link to comment
Share on other sites

  • 0
  • Inquirer
  • Thank you for your answer. And it is possible to view this consumption data as graph in HC3? 

    Edited by Incomplette
    Link to comment
    Share on other sites

    • 0
    15 minutes ago, Incomplette said:

    Thank you for your answer. And it is possible to view this consumption data as graph in HC3? 

     

    I don't think it is possible (yet?). But the data should be exportable and perhaps viewable in, for instance, Grafana. But of course, this is more work for something that should be possible within HC3.

    Edited by robw
    Link to comment
    Share on other sites

    • 0
    3 hours ago, Incomplette said:

    Thank you for your answer. And it is possible to view this consumption data as graph in HC3? 

     

    not yet. I have played yesterday a bit - to get something similar what @cag014 did on HC2,  but i haven't managed to tell e.g. quickapp label to use svg / line chart to show something.

    Link to comment
    Share on other sites

    • 0
    20 minutes ago, tinman said:

     

    not yet. I have played yesterday a bit - to get something similar what @cag014 did on HC2,  but i haven't managed to tell e.g. quickapp label to use svg / line chart to show something.

    HC3 doesn't support HTML format. Fibaro said they will provide some feature to make some colors, that's all.

    Link to comment
    Share on other sites

    • 0
    On 3/5/2020 at 10:45 PM, tinman said:

    yes, one can export the consumption data, but as well read it with simple lua scene, e.g. last 24 Hours from Device with ID 23

     

    Please login or register to see this code.

    result:

     

    Please login or register to see this link.

     

    The description is in the HC3 API Help

     

    Please login or register to see this link.

     

    or directly:

     

    HC3-IP/assets/docs/consumption.json

     

     

    This your scene write to debug console, but is there a way to consume it in another way, display chart or something (in fibaro app), or i have to consume it in "third party" app?

    Link to comment
    Share on other sites

    • 0

    Hi @Kubo

    After upgrading to newest HC3 firmware you can find chart in console. You can try to use 3rd party solutions ie. influxdb + grafana.

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 0
    On 12/28/2020 at 12:39 AM, mariokil said:

    Hi @Kubo

    After upgrading to newest HC3 firmware you can find chart in console. You can try to use 3rd party solutions ie. influxdb + grafana.

     

    Please login or register to see this attachment.

    Hello Mariokil - could you share with me an page, whre is these detail? I dont see nothing same in console in HC3. (Left Menu - Console)

     

    Thanks

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