# \[Announce\] Scheduler Node for Dashboard 2.0

**URL:** <https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076>\
**Category:** Share Your Nodes\
**Tags:** node-red-dashboard, dashboard-2\
**Created:** [2 February 2025 22:27 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076 "2025-02-02T22:27:47Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgjgh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cgjgh/32/99867_2.png) [@cgjgh](https://discourse.nodered.org/u/cgjgh)\
**Post date:** [2 February 2025 22:27 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/1 "2025-02-02T22:27:47Z")

</div>

Hi everyone,

I've noticed several requests for a D2 version of a scheduler node that existed in D1, and I've needed it myself on occasion. So, I decided to take on the challenge. Here's what I've come up with so far. It's still in beta, so all feedback and contributions are welcome. Also feel free to leave a rating if you find it useful.

> **[@cgjgh/node-red-dashboard-2-ui-scheduler](https://flows.nodered.org/node/@cgjgh/node-red-dashboard-2-ui-scheduler)**
>
> A UI scheduler node that integrates with Node-RED Dashboard 2.0

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [2 February 2025 23:12 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/2 "2025-02-02T23:12:20Z")

</div>

Used to use original node till I went to D2, so when I saw your post downloaded node to play with it. One word  
Yeah!!!!!

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [2 February 2025 23:32 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/3 "2025-02-02T23:32:40Z")

</div>

Would you mind one little niggle? I find the enabled selection ambiguous. Is it enabled when you can see the button? Or when it's gone? Maybe turn it green?  
Other than that so far it's smashing,!!  
Ok, I get it now, when t he button is right it's on but black, my theme is black so the button disappeared

---

<div class="post-metadata">

**Author:** ![cgjgh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cgjgh/32/99867_2.png) [@cgjgh](https://discourse.nodered.org/u/cgjgh)\
**Post date:** [2 February 2025 23:35 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/4 "2025-02-02T23:35:19Z")

</div>

Are you referring to this?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/9/398a98e272bf63e0c01db975df83480f6c8ec3bd.png)

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [2 February 2025 23:36 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/5 "2025-02-02T23:36:54Z")

</div>

See edit above

---

<div class="post-metadata">

**Author:** ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)\
**Post date:** [2 February 2025 23:37 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/6 "2025-02-02T23:37:56Z")

</div>

Will have to readjust my css but doable

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [3 February 2025 00:40 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/7 "2025-02-03T00:40:03Z")

</div>

I don't use D2 at the moment but this looks really good.

A possible enhancement present in similar types of nodes is an offset option.

e.g. + or - 10 mins from sunset, or random offset from configured time (handy to confuse burglars)

---

<div class="post-metadata">

**Author:** ![cgjgh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cgjgh/32/99867_2.png) [@cgjgh](https://discourse.nodered.org/u/cgjgh)\
**Post date:** [3 February 2025 01:28 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/8 "2025-02-03T01:28:51Z")

</div>

Offsets are included but no random ones.  
 ![Solar Event Offset](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/f/dfd62b3a4565e36d090c8a991f82453efac262ef.gif)

---

<div class="post-metadata">

**Author:** ![luftbumb](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@luftbumb](https://discourse.nodered.org/u/luftbumb)\
**Post date:** [5 February 2025 18:54 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/9 "2025-02-05T18:54:45Z")

</div>

This looks really nice and in fact I have been waiting for something like the scheduler from dashboard 1.  
I was wondering if you plan on adding some ability to kind of preconfigure the ui for adding new schedules?  
The ui gives a lot of options (which is good) but it would be even better if you could disable stuff like solar and cron for the schedule type if you only need manually entered time schedules for example. Or only enable "Day" as period, if you dont need the others. This would allow to break down the ui to the essential elements for a specific task.

---

<div class="post-metadata">

**Author:** ![cgjgh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cgjgh/32/99867_2.png) [@cgjgh](https://discourse.nodered.org/u/cgjgh)\
**Post date:** [5 February 2025 19:07 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/10 "2025-02-05T19:07:43Z")

</div>

Glad you find it useful! That could be done without too much refactoring.

---

<div class="post-metadata">

**Author:** ![luftbumb](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@luftbumb](https://discourse.nodered.org/u/luftbumb)\
**Post date:** [5 February 2025 21:56 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/11 "2025-02-05T21:56:19Z")

</div>

Great! Would be amazing if you could implement it some time in the future!

One minor issue I noticed with the styling is, that if you use a different row height other than the default 48px in your dashboard theme, some things look a bit off.

 ![scheduler](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/6/b6d2a08f3c896dd7d9c3a84b7d95c2fcce72a987.png)

I can report this in your github repo, if you prefer it that way?

---

<div class="post-metadata">

**Author:** ![cgjgh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cgjgh/32/99867_2.png) [@cgjgh](https://discourse.nodered.org/u/cgjgh)\
**Post date:** [6 February 2025 00:35 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/12 "2025-02-06T00:35:09Z")

</div>

Yes, if you can open new issues there that would be great, but this one's fixed now in latest release, 2.1.7.

---

<div class="post-metadata">

**Author:** ![cgjgh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cgjgh/32/99867_2.png) [@cgjgh](https://discourse.nodered.org/u/cgjgh)\
**Post date:** [6 February 2025 03:59 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/13 "2025-02-06T03:59:09Z")

</div>

Just a FYI, Scheduler supports two different time picker types which can be toggled in config.

 ![Screenshot 2025-02-05 215403](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/2/4234db64c29a8cdc2bed560d94ea1f5ca76ca18f.png)

Default:

 ![Screenshot 2025-02-05 215029](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/c/bcd22c8fa2ec6e12a8c2333d3e761ee96978d962.png)

New: Only available in Dashboard version 1.22.0 and up.  
 ![Time Picker](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/2/62e6ca0b9216883c473dd6346f3dec116c4b1572.gif)

Will be making new one the default at a later date.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [6 February 2025 08:18 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/14 "2025-02-06T08:18:37Z")

</div>

That does look great Craig.

I may be using it when I (eventually) go to Dashboard 2.

---

<div class="post-metadata">

**Author:** ![luftbumb](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@luftbumb](https://discourse.nodered.org/u/luftbumb)\
**Post date:** [6 February 2025 09:46 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/15 "2025-02-06T09:46:51Z")

</div>

> [@cgjgh](#):
>
> Yes, if you can open new issues there that would be great, but this one's fixed now in latest release, 2.1.7.

Thanks for the quick fix 👍. Tested it just now and works for me. I wont open a github issue then.

> [@cgjgh](#):
>
> Just a FYI, Scheduler supports two different time picker types which can be toggled in config.

Tried the new time picker just now and came accross two things:

When I want to add a new schedule of type "Time", period "Day" and select timespan "End Time" I am presented with 2 time seleciton inputs where the start time is prefilled with 00:00 and the end time with 00:05.  
After opening the new timepicker for the start time I am only able to select a time between 00:00 and 00:05. I cant set it to 10:00 for example. It is only possible after setting the end time to 11:00.  
This is to prevent setting a start time that comes after the end time, right? But it feels weird if you need to set the end time before you can enter the start time.

One other thing I noticed is that the selected time only updates after you have made a change for the minutes. If 10:00 is set and I want to change it to 11:00 I would just change the hour from 10 to 11. But that doesn't update the selected time. I would need to change the time to 11:01 or something other than 11:00 in order to update the time.

I opened a github issue for this.

---

<div class="post-metadata">

**Author:** ![luftbumb](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@luftbumb](https://discourse.nodered.org/u/luftbumb)\
**Post date:** [14 April 2025 21:32 UTC](https://discourse.nodered.org/t/announce-scheduler-node-for-dashboard-2-0/95076/17 "2025-04-14T21:32:43Z")

</div>

Sorry @cgjgh, I didn't get to test the update earlier.  
Configuring the UI looks really good and makes it a lot easier for less experienced users, when you can hide options that they don't need.  
Just wondering: you can't fix the selection for the timespan to "End Time" so you always have to provide a start and end time?

Another idea that I had, that I think can be useful: An option that shows the progress for the running schedules in the table overview (like in a column maybe). Right now you only see the progress bar when you expand a particular schedule, if I'm not mistaken.

Just some minor ideas.  
Thanks for your work again!
