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
Question
seiq 32
Is there a way to determine whether a virtual device slider was changed by physically moving the slider or whether it was updated with LUA?
This is for a now playing progress bar. In the slider's LUA script I want to ignore when the slider was updated by the main loop LUA code.
fibaro:getSourceTrigger() sadly doesn't work for virtual devices.
UPDATE:
Issue resolved.
Use fibaro:call(id, "setProperty", "ui.Slider1.value", position) to change the value and position of a slider without running the code in the slider.
The slider on the web interface may not move without refreshing the page when this is called but it does work.
Edited by seiqLink to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.