Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with switch widget #3

Open
kamarisoim opened this issue Dec 1, 2021 · 6 comments
Open

Problem with switch widget #3

kamarisoim opened this issue Dec 1, 2021 · 6 comments

Comments

@kamarisoim
Copy link

Firstly thanks for sharing your widget
Some problem with switch widget
When clicking the switch very quickly, at certain time, the switch will send on/off data repeatedly...without stopping
I set retrieving data with timeseries...to update switch state on other dashboard browser
The convert value function is something like below
if(value) return {'DO11': '1'};
else return {'DO11': '0'};
When click the switch quickly...setValue will keep sending 1 and 0
This not happen in TB switch
Thanks in advance for you help

@rossmann-engineering
Copy link
Owner

Which Switch do you use, we have four switches.

@kamarisoim
Copy link
Author

kamarisoim commented Dec 1, 2021 via email

@kamarisoim
Copy link
Author

Pls refer attchment for details, hopefully
tb_sw_problem.txt

@kamarisoim
Copy link
Author

Sorry...any update?

@rossmann-engineering
Copy link
Owner

Should hopefully solved now at least for switch 1

@kamarisoim
Copy link
Author

Thank you...I'll try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants