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

Toggle buttons in Virtual devices


Question

Posted

Anyone know of a way of adding toggle buttons to virtual devices?

If not, and ideas on when we can expect to see such functionality?

4 answers to this question

Recommended Posts

  • 0
Posted

You can do that easily with LUA . see here :

Please login or register to see this link.

  • 0
  • Inquirer
  • Posted

    Ah sorry, I didn't make my question clear. Let me rephrase:

    Is it possible to have buttons highlighted with feedback, such as when you see a relay switch and you have the On/Off buttons - the current state is highlighted in the UI.

    Also, some other questions that have cropped up while working with Virtual Devices:

    1.) Is it possible to show elements of a VD (such as buttons, sliders etc) on the main screen alongside the main 'Power' button? See attachment, taken from page 71 of the Advanced User Guide. It looks to be possible, although the UI does look old, perhaps the feature was removed?

    2.) Is there a way of pulling a buttons label as a string? I tried this but got nothing:

    Please login or register to see this code.

    Please login or register to see this attachment.

    • 0
    Posted
    Ah sorry, I didn't make my question clear. Let me rephrase:

    Is it possible to have buttons highlighted with feedback, such as when you see a relay switch and you have the On/Off buttons - the current state is highlighted in the UI.

    Also, some other questions that have cropped up while working with Virtual Devices:

    1.) Is it possible to show elements of a VD (such as buttons, sliders etc) on the main screen alongside the main 'Power' button? See attachment, taken from page 71 of the Advanced User Guide. It looks to be possible, although the UI does look old, perhaps the feature was removed?

    2.) Is there a way of pulling a buttons label as a string? I tried this but got nothing:

    Please login or register to see this code.

    No problem

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    Sorry, in v3.xx you can only show current state in the UI with a label, or with a slider pos.

    The capture page 71 is for old HC2 version before v3.5XX virtual device evolution, now you can't do that but perhaps in V4.xx and new plugins facilities

    There is no way to change the label for the button... There is a hack but isn't a good solution

    Please login or register to see this image.

    /emoticons/default_icon_sad.gif" alt=":-(" />

    br,

    • 0
    Posted

    Couldn't you show the state of a device by changing the icon? Set separate icons for VD buttons that turn on and off. I don't have any example but I can't see why that shouldn't be possible.

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