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

Allow stop or cancel without "off" output #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mgiggs
Copy link

@mgiggs mgiggs commented Jul 13, 2020

Adding the ability to stop or cancel the timer with no output to the "Countdown stop/start payload".

Adding the ability to stop or cancel the timer with no output to the "Countdown stop/start payload".
@mgiggs mgiggs changed the title Update countdown.js Allow stop or cancel without "off" output Jul 13, 2020
@StephanStS
Copy link
Contributor

@mgiggs: Has your pull request the ability to restart the time at the current timer value (in a pause/restart manner), or can it only hard stop the timer?

@goofy1988
Copy link

Please add this "cancel" option without the "stop payload trigger". That would be a great feature. Thanks

@develmac
Copy link

Especially sending 0 on the second output when the timer was canceled is really confusing. This for one makes it impossible to properly use it with some motion detectors. Please add this feat! :)

@marc-gist
Copy link

Especially sending 0 on the second output when the timer was canceled is really confusing. This for one makes it impossible to properly use it with some motion detectors. Please add this feat! :)

Check out my fork perhaps it will work for you: https://github.com/marc-gist/node-red-contrib-countdown
On cancel, I add a flag to the second output indicating that it was cancelled (true/false).

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

Successfully merging this pull request may close these issues.

5 participants