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

Too slow reaction on user input via buttons #426

Closed
RkcCorian opened this issue Nov 28, 2021 · 4 comments
Closed

Too slow reaction on user input via buttons #426

RkcCorian opened this issue Nov 28, 2021 · 4 comments

Comments

@RkcCorian
Copy link

RkcCorian commented Nov 28, 2021

Describe the bug
A clear and concise description of what the bug is.
I try to create a VIS for remote control of my FireTvCube. Unfortunately the buttons (tested with ctrl-Icon State / Buld on/off) in VIS reacts too slow in terms of multiple clicks. Use Case: I would like to navigate multiple steps to the right. But the VIS will react only on a few when I click them in "normal" speed as I'm used to by using a "normal" remote control.
Problem: Several clicks will be missed

To Reproduce
Steps to reproduce the behavior:

  1. Create VIS with ctrl-Icon State or Bulb on/off + assign a DP
  2. By a script show a debug by each click recognized
  3. Click multiple times fast on the button
  4. Compare the number of clicks with the number of recognized events via debug output

Expected behavior
A clear and concise description of what you expected to happen.
Same number of clicks and debug outputs

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Don't know what might be helpful here but I'm open to measure something in case this is requested :-)

Versions:

  • Adapter version: 1.4.5
  • JS-Controller version: 3.3.18
  • Node version: 4.18.1
  • Operating system: Docker Container (buanet v5.2.0) on Synology

Additional context
Add any other context about the problem here.

@RkcCorian
Copy link
Author

RkcCorian commented Nov 28, 2021

Hab's gerade mal mit einem Button in JARVIS probiert, damit geht es recht schnell, zumindest ausreichend. Daher muss es an VIS liegen. Hat jemand eine Idee, was ich machen kann, falls es irgendwo eine Konfiguration oder sowas gäbe?! Vielen Dank im Voraus!!!

Sieht aktuell so aus...
image

@Zefau: FYI

@RkcCorian
Copy link
Author

I checked again also with the VIS-Inventwo buttons. Same problem...
Is VIS not usable for "normal" repetitive user inputs? In case ioBroker/VIS is not able to do such stuff is it better to check for alternatives to ioBroker or is there any chance?

@kahlering
Copy link

I think this could be a problem with the debounce time in VIS. After you press a button there is a 1 second debounce time until the button deactivates. This debounce time can be lowered in the settings of VIS under Setup->Settings->States Debounce Time. You might have to restart iobroker after changing this settings.

@RkcCorian
Copy link
Author

@kahlering : That is the solution! Many many thanks!!!

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