This repository contains a Scheduler Node for Node-RED Dashboard 2.0. This node allows you to schedule the injection of payloads from dashboard UI to start flows at specified times or intervals.
This node is still in beta and is not yet ready for production use. Any contribution or feedback is welcome.
- 🔌 Integration with Node-RED Dashboard 2.0: UI-based schedule management made effortless.
- ⏰ Flexible Scheduling: Define events by minute, hour, day, week, month, or yearly periods.
- 🌅 Solar Events Support: Incorporate natural cues like sunrise and sunset.
- 📝 Cron Expressions & Builder: Specify schedules seamlessly with cron expressions using the intuitive UI cron builder.
- 💾 Persistent Storage: Save schedules to your local file system or Node-RED context stores for reliability.
- ⏳ Timespan & Duration Options: Easily set timespans (e.g., from 10:00 AM to 12:00 PM) and durations (e.g., for 5 minutes).
- 🌞 Solar with Time Integration: Mix solar events with traditional time schedules (e.g., from 5:00 AM to Sunrise) for dynamic scheduling.
- 🔄 Wrap-Around Schedules: Support schedules that span across days (e.g., from 9:00 PM to 7:00 AM).
- 📡 State Updates: Optionally broadcast the current status of timespan or duration schedules at set intervals.
- 📦 Custom Payloads: Attach custom payloads to your schedules for tailored automation.
- 🌐 Multi-Language Translations: Available in multiple languages:
- 🇬🇧 English
- 🇩🇪 Deutsch
- 🇫🇷 Français
- 🇮🇹 Italiano
- 🇳🇱 Nederlands
- 🇪🇸 Español
You can install this node directly from the "Manage Palette" menu in the Node-RED interface.
Alternatively, run the following command in your Node-RED user directory - typically ~/.node-red
on Linux or %HOMEPATH%\.nodered
on Windows:
npm install @cgjgh/node-red-dashboard-2-ui-scheduler
Finding this useful? By supporting my Node-RED Dashboard development, you’ll help drive new features, enhancements, and updates. Your encouragement means everything—thank you for considering!
- Add a scheduler node to your flow.
- Open the node's configuration dialog and optionally configure the timezone, location from map, and persistence options.
- Open the dashboard and you will see an empty scheduler.
- Click the plus sign at the top right corner of the node to create a new schedule.
- Edit
~/.node-red/settings.js
and add/uncomment the following line:lang: 'en'
Available languages codes are:en
,de
,fr
,it
,nl
,es
- Open the node's configuration dialog and set the desired language for scheduler in the Dashboard 2.0 UI
Inspired by: node-red-contrib-ui-time-scheduler
This node draws heavily on the work of node-red-contrib-cron-plus by Steve-Mcl. Tremendous thanks for the outstanding work on this.