Skip to content

cgjgh/node-red-dashboard-2-ui-scheduler

Repository files navigation

Scheduler Node for Node-RED Dashboard

GitHub Stars GitHub Forks GitHub Issues GitHub License

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.

Important Note

This node is still in beta and is not yet ready for production use. Any contribution or feedback is welcome.

Features

  • 🔌 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

Overview

Details Adding New Schedule

📦Installation

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

🤝 Support my Node-RED Dashboard development

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!

Buy Me A Coffee

💡Usage

  • 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.

🌐 Setting Language

  • 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

🙏 Acknowledgements

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.