Nekmo / amazon-dash

Hack your Amazon Dash to run what you want.
MIT License
828 stars 67 forks source link

double sometimes triple does action when pressed #92

Closed internetfan420 closed 6 years ago

internetfan420 commented 6 years ago

Put an x into all the boxes [ ] relevant to your issue (like this: [x])

What is the purpose of your issue?

Guideline for bug reports

You can delete this section if your report is not a bug

How to get your version:

amazon-dash --version
python --version
pip --version
easy_install --version

Description

i have a dash button setup to run a service through ifttt to send a text to a friend to cheer her up through out the day but sometimes it will randomly send multiple texts after one press. like two or so. also i have the same problem with the python scripts i have set up that will tweet out a few things instead of just one tweet.

OnepressOnetweet ;)

once i figure this bug out I plan on sharing the scripts and writing a tutorial for the community because this is such an awesome project

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
Nekmo commented 6 years ago

Hello, you can try to increase the value of the delay option. By default it is 10 seconds. This option prevents it from being executed multiple times.

Regards

internetfan420 commented 6 years ago

Hello, you can try to increase the value of the delay option. By default it is 10 seconds. This option prevents it from being executed multiple times.

Regards

how high should i make the delay option? in your opinion

Nekmo commented 6 years ago

@internetfan420 10 seconds is fine. This is the default value. If you have problems, you can try to increase it. Please, if you still have issues after increase the delay time, let me know.

Sorry for the waiting.

Nekmo commented 6 years ago

Closed due to inactivity.