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

reaction time slow #2

Open
tfriedel opened this issue Nov 12, 2016 · 3 comments
Open

reaction time slow #2

tfriedel opened this issue Nov 12, 2016 · 3 comments

Comments

@tfriedel
Copy link

Hi,
I notice a delay of around 3 seconds between the press of the dash button and the reaction of the script. Is there anything to improve this?
Also I notice the dash button then starts to blink red for a couple of seconds during which pressing it again will have no effect. I guess we have to live with this?

@ridiculousfish
Copy link
Owner

In my tests, the script activates in less than a second. How are you measuring the three second delay?

The red blink is Dash complaining that it can't connect to the Internet. Perhaps a more elaborate script could fake a proxy or something to avoid this. Contributions welcome :)

@tfriedel
Copy link
Author

tfriedel commented Nov 12, 2016

I measrued with a stop watch. Ok tried it again, and it responded in 1.7 sec this time. I've also read there are two hardware revisions out. I have JK29LP. Mabye the older one responds faster?

@ridiculousfish
Copy link
Owner

Did you determine when it responded based on the log, or some other queue (e.g. a sound play)? The reason I ask is that initializing the audio hardware and loading the sound file itself can take a surprisingly long time.

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