[Announce] Scheduler Node for Dashboard 2.0

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.

8 Likes

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!!!!!

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

1 Like

Are you referring to this?

See edit above

Will have to readjust my css but doable

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)

Offsets are included but no random ones.
Solar Event Offset

2 Likes

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.

1 Like

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

1 Like

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.

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

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

1 Like

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

Default:

New: Only available in Dashboard version 1.22.0 and up.
Time Picker

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

1 Like

That does look great Craig.

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

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

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.