Skip to content

Allow stop or cancel without "off" output#5

Open
mgiggs wants to merge 1 commit intoontje:masterfrom
mgiggs:patch-1
Open

Allow stop or cancel without "off" output#5
mgiggs wants to merge 1 commit intoontje:masterfrom
mgiggs:patch-1

Conversation

@mgiggs
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown

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

@develmac
Copy link
Copy Markdown

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
Copy Markdown

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