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


Recommended Posts

Posted

Hi

The dropdown control is a long long awaited update, but some single description would be appreciated.

How to dynamically populate the dropdown options?

What is the toggle callback syntax?

etc

 

 

  • Like 1
Posted

We are working on updating manuals on manuals.fibaro.com :)

  • Like 1
  • Topic Author
  • Posted
    4 minutes ago, m.roszak said:

    We are working on updating manuals on manuals.fibaro.com :)

    Meanwhile can you please give me some hint, how to programatically populate options? 

    I have tried this, but it doesn't work

     

    Please login or register to see this code.

     

    • Like 1
    Posted

    We will prepare some examples :)

    Posted

    @Neo Andersson you can try my demo qa :) 

     

    Please login or register to see this attachment.

    • Like 1
    • Thanks 2
    Posted

    The topic has been moved from "

    Please login or register to see this link.

    " to "

    Please login or register to see this link.

    ".

     

    Temat został przeniesiony z "

    Please login or register to see this link.

    " do "

    Please login or register to see this link.

    ".

    Posted

    I try to install the update, process started looks like the update is installed but after the reboot Home Center still says this update is available and the installed version is the previous beta version.

    Tryd severall times but no solution.

    Posted

    I try to install the update, process started looks like the update is installed but after the reboot Home Center still says this update is available and the installed version is the previous beta version.

    Tryd severall times but no solution.

    Posted (edited)
    On 10/18/2023 at 9:46 PM, w.rys said:

    @Neo Andersson you can try my demo qa :) 

     

    Please login or register to see this attachment.

     

    self:updateView("modeSelector""selectedItem", itemID) does not work for me. It resets the combo and awlays cancels current selection :-(
    I checked provided demo with 5.142.83 (beta)
    So the demo does not allow to sellect any item - selection is cancled from code immediatelly. 
    Change Selection button (used after Change Option) also does not seletct "turbo" item
    Update of combo content by Change Option button works fine.
    BUT !!! When I use Selection button (after Change Option) - no "turbo" selected, but when I close QA view and display it again - "turbo is selected". So it looks as UI refresh issue. I checked in web UI and via Yubii APP (1.20) - it is same behavior
     
    Would be nice to be able to select an item also from scenes (of course when it is dynamic, it is not obvious how to handle it). Now it shows stange option in scenes, which converted to LUA calls this: 
    hub.callUI(4025'onToggled''modeSelector')

     

    Edited by Albert
    Posted (edited)

    It is also bit pity that to toggle state of new switch-type button, we have to set true/false value as a string, ex:

    self:updateView("btnSwitch""value""true"
    i would expect
    self:updateView("btnSwitch""value"true
    (it does nothink now)
     
    In case of visible flag it is fine, we call
    self:updateView("btnSwitch""visible"false
    and call for 
    self:updateView("btnSwitch""visible", "false"
    does nothink.
     
    So with switch-button value, it looks as a bug.
    Please fix before we will start to use it in our QuickApps.
     
    Edited by Albert
    Posted
    On 10/20/2023 at 9:36 PM, Albert said:

    It is also bit pity that to toggle state of new switch-type button, we have to set true/false value as a string, ex:

    self:updateView("btnSwitch""value""true"
    i would expect
    self:updateView("btnSwitch""value"true
    (it does nothink now)
     
    In case of visible flag it is fine, we call
    self:updateView("btnSwitch""visible"false
    and call for 
    self:updateView("btnSwitch""visible", "false"
    does nothink.
     
    So with switch-button value, it looks as a bug.
    Please fix before we will start to use it in our QuickApps.
     

    It has always been the same issue for slider values

    self:updateView("slider""value", "20") works but (the more "logical") self:updateView("slider""value", 20) doesn't.
    Seems like it always wan't the value view property to be a string. The visible view property they could make a boolean arg...

    Posted
    On 10/19/2023 at 10:03 AM, Leon Wolters said:

    I try to install the update, process started looks like the update is installed but after the reboot Home Center still says this update is available and the installed version is the previous beta version.

    Tryd severall times but no solution.

     

    Same for me. Impossible to install new beta.

    Posted
    On 10/22/2023 at 10:35 AM, Brunanchon said:

     

    Same for me. Impossible to install new beta.

    Also the same for me.

    Posted

    Have you read the pinned topic?

    • 1 month later...
  • Topic Author
  • Posted
    On 10/20/2023 at 9:14 PM, Albert said:

     

    Yeah, full of bugs, same as the Switch control.

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