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

Sliders in v4 Virtual Devices - Houston, we have a problem


Question

Posted

There is definitely a problem with sliders in VDs (Virtual Device)....

Apart from change in syntax for control of the slider - somehow - the behavior is clearly not acceptable. The attached VD has a label, a button, and a slider.

- If one drags the slider to a position, say about 35, then push the button, it will say which value the slider is at in the label.

- The slider is reset to visually zero within a second or two - but as I wrote push the button, the correct value is shown in the label.

I have also noted that if you send, in version 3.590, a value of "1.20" - it will accept this, however int version 4.031 it will well accept it maybe but nothing shows. This MIGHT be related to the same error as above - I can not say since there are NO debug possibilities in this software (which is a shame).

3 answers to this question

Recommended Posts

  • 0
Posted

I have noticed someting similar in version 3.60. However, I my case the slider reverts to about 20% (after a couple of seconds). The value get set OK though.

JASEDK

  • 0
Posted

Complete noob question, um trying to get to grips with sliders/lua and I tag onto any code which helps.

Question I have is... how do you know the device id is 55 (looking at your code...) ?

I dont see a device id for the virtual devices in my gui. I assume there is one but cant see it anywhere.

Cheers in advance.

  • 0
  • Inquirer
  • Posted

    Well, that is hardcoded. If you replace that number, 55, with this code:

    Please login or register to see this code.

    Then it will adapt automatically to any given installation.

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