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


Problem/bug in energy panel


Faisal Hendricks

Recommended Posts

Controlling devices by clicking the shortcut at the very top of the dashboard is really cool. 

 

But the energy panel something doesn't work very well :/

I have your quickapp for huawei and it doesn't show the current production (on the dashboard). Production shows up in consumption.

 

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Please login or register to see this attachment.

Link to comment
Share on other sites

The device type for instant power production in this integration is com.fibaro.multilevelSwitch instead of com.fibaro.powerMeter with rate type "production".
Additionally rate type of Energy Meter is incorrectly set to consumption -> this one you can change in advanced settings of this device in webUI.

QuickApp needs to be updated.

Link to comment
Share on other sites

3 hours ago, Faisal Hendricks said:

I have your quickapp for huawei and it doesn't show the current production (on the dashboard). Production shows up in consumption.

 

as @m.roszak already said, the QuickApp need to be updated. I'm not the QA creator, so can't change anything for you nor upload changed version, you must do the changes (or wait for updated version on marketplace).


I think following could work:

- download and install fresh copy of the Huawei solar QuickApp - do not configure it yet!

- click on "Edit & Preview" tab of the QuickApp, and then "Edit"

- open "main" and scroll down to line 140

- add comment ( -- ) at begin of the line 142

- add comment ( -- ) at begin of the line 144
- change in line 153 com.fibaro.powerSensor to com.fibaro.powerMeter
- click on save
- now change/add the IP in the "Variables" tab of the new QuickApp, click save, two child devices will get created
- double check if both are set (in "Advanced" tab of each child device) to "production"
- go to Energy Panel -> Panel settings -> Meters configuration and set both meters as production meters
- disable the old QuickApp (by setting wrong IP in it's QuickApp Variables tab), click on save

- in Energy Panel -> Panel settings -> History select the old QuickApp, select "older than", select today, click on clear and select "Compensate historical data". That will cleanup your consumption history.

- delete the old QuickApp

 

 

Please login or register to see this image.

/monthly_2022_09/image.png.854826eacc06d0b66d7cba578fc7d975.png" />

 

Please login or register to see this attachment.

 

 

Please login or register to see this attachment.

 

Please login or register to see this attachment.

 

 

 

  • Like 2
Link to comment
Share on other sites

  • 9 months later...
  • Topic Author
  • @tinman You are the best! The solution worked. Too bad QA still hasn't been improved by this time. Maybe you could post a link to your fix in the comments?

    And, of course, the fix is still needed for it to work. It should be changed:

    local readHoldingRegistersFrame = string.char(0x00, 0x03)

    to

    local readHoldingRegistersFrame = string.char(0x01, 0x03)

     

    @Daniel Smaart yeap ;)

    Link to comment
    Share on other sites

    • 3 weeks later...

    Witam

    U mnie się nie łączy. Mam taki bład:

    • Class for the child device: 173, with type: com.fibaro.powerSensor not found. Using base class: QuickAppChild
    Link to comment
    Share on other sites

    Zmieniłem port na 502 i zaczoł sie łączyc, (dziwne bo wcześniej taki miałem) szczytuje dane ale wyświetla błędnie taki mam komunikat: main.lua:37: attempt to call a nil value (method 'setValue')

    Please login or register to see this image.

    /monthly_2023_07/image.png.4e399d389147be1c37558544b1746358.png" />

    Link to comment
    Share on other sites

    • 1 month later...

    Witajcie.

     

    Wprowadziłem wszystkie modyfikacje o których piszecie ale HC3 cały czas nie pobiera danych.

     

    Please login or register to see this attachment.

     

    Czy możecie sprawdzić czy integracja działa Wam w tej wersji oprogramowania>

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 2 months later...

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