Looking for a countdown timer for long periods

I'm looking for a Countdown Timer that I can use in a Tumbler Automation System. Here's what I'm looking for, a countdown timer that displays Days, Hours, Minutes and Seconds similar to the node-red-contrib-ui-digital-clock. I would like all the digits to be the same size and there are two timer times that I will need that will only be edited in the flows. One needs to be roughly 5Hrs and the second will be 2 to 3 weeks long, 672 - 1008 hours. One is for tumbling Aluminum, the other for Steel parts and once we have times that polish them the way we like they will be locked in. Few more things, I would like to be able to both pause or reset, start and stop the countdown.

If there are Nodes that I can install that are close to what I'm looking for that would be fantastic. I've had no luck tracking even one down.

Check here.

You could use node-red-contrib-cron-plus to schedule a "Stop tumbling" date/time ("date sequence" schedule type).
It's not a countdown timer but you can use a message to interrogate the status of a schedule.
eg I have a schedule set to send a message at 2025-02-01 14:00. Sending a status request message returns, among other things

msg.payload.result.config.name == "Machine 1"
msg.payload.result.status.nextDescription == "in 1 day 4 hours 25 minutes 54 seconds"

This could be the input to a dashboard text widget or template.

It's possible to dynamically create, delete or modify schedules, but it would take a little effort to achieve a pause. The restart action would have to modify the trigger time for the schedule.

2 Likes