npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

node-red-contrib-school-holidays-de

v1.0.3

Published

A Node-RED node to retrieve school holidays for Germany

Readme

node-red-contrib-school-holidays-de

A Node-RED node to retrieve school holidays for all German federal states (Bundesländer).

This node provides easy access to school holiday information for Germany, allowing you to query current, next, or upcoming holidays, filter by state, year, and holiday type.

Installation

Run the following command in your Node-RED user directory (typically ~/.node-red):

npm install node-red-contrib-school-holidays-de

Or install directly through the Node-RED palette manager.

Prerequisites

You will need an API key from schulferien.app to use this node.

Features

  • Retrieve school holidays for all 16 German federal states
  • Filter holidays by year and type (e.g., summer holidays, winter holidays)
  • Quick access modes: current, next, or upcoming holidays
  • Flexible output formats (array or object with metadata)
  • Dynamic state override via incoming message
  • Visual status indicators for API call states

Usage

Basic Configuration

  1. Drag the "Schulferien DE" node from the function category into your flow
  2. Double-click to configure:
    • API Key (required): Your API key from schulferien.app
    • Bundesland: Select a German state or "Alle" for all states
    • Jahr: Select the school year (e.g., 2024/25)
    • Ferienart: Select holiday type or "Alle" for all types
    • Output Format: Choose between array or object format

Quick Access Mode

Enable "Nur folgende Treffer zeigen" to quickly access:

  • Aktuell: Current holidays
  • Nächste: Next holiday period
  • Kommende: Upcoming holidays

Input Message

Trigger the node by sending any message. You can override configuration values:

msg.state = "BY"; // Override state (e.g., Bavaria)
msg.year = "2024"; // Override year
msg.type = "Sommerferien"; // Override holiday type

Output Message

Array Format (default)

msg.payload = [
  {
    name: "Sommerferien",
    start: "2024-07-25",
    end: "2024-09-06",
    state: "BY",
  },
  // ... more holidays
];

Object Format

msg.payload = {
  state: "BY",
  holidays: [
    {
      name: "Sommerferien",
      start: "2024-07-25",
      end: "2024-09-06",
      state: "BY",
    },
  ],
  fetched: "2024-11-03T10:30:00.000Z",
};

Supported States (Bundesländer)

| Code | State | | ---- | -------------------------------------------- | | BW | Baden-Württemberg | | BY | Bayern (Bavaria) | | BE | Berlin | | BB | Brandenburg | | HB | Bremen | | HH | Hamburg | | HE | Hessen (Hesse) | | MV | Mecklenburg-Vorpommern | | NI | Niedersachsen (Lower Saxony) | | NW | Nordrhein-Westfalen (North Rhine-Westphalia) | | RP | Rheinland-Pfalz (Rhineland-Palatinate) | | SL | Saarland | | SN | Sachsen (Saxony) | | ST | Sachsen-Anhalt (Saxony-Anhalt) | | SH | Schleswig-Holstein | | TH | Thüringen (Thuringia) |

Holiday Types (Ferienarten)

  • Herbstferien - Autumn holidays
  • Weihnachtsferien - Christmas holidays
  • Winterferien - Winter holidays
  • Osterferien/Frühjahrsferien - Easter/Spring holidays
  • Himmelfahrt/Pfingsten - Ascension Day/Pentecost
  • Sommerferien - Summer holidays

Example Flow

[
  {
    "id": "example-flow",
    "type": "school-holidays-de",
    "name": "Bayern Holidays",
    "apikey": "your-api-key",
    "state": "BY",
    "year": "2024",
    "holidayType": "all",
    "outputFormat": "array"
  }
]

Use Cases

  • Home Automation: Adjust heating/lighting schedules during school holidays
  • Calendar Integration: Sync school holidays with personal calendars
  • Travel Planning: Get notified about upcoming holiday periods
  • Educational Apps: Display holiday information in school-related applications
  • Smart Home Scenes: Activate "holiday mode" automatically

Status Indicators

The node provides visual feedback:

  • Blue dot: Fetching data from API
  • Green dot: Successfully retrieved holidays
  • Red ring: Error occurred (check debug panel)

Error Handling

The node will display warnings for:

  • Missing API key
  • Missing state selection
  • API connection errors
  • Invalid API responses

Check the debug panel for detailed error messages.

Requirements

  • Node-RED version 1.0 or higher
  • Node.js version 14.0 or higher
  • Active internet connection
  • Valid API key from schulferien.app

API Information

This node uses the schulferien.app API to retrieve holiday data. Please ensure you have a valid API key and comply with their terms of service.

Repository

Author

Marco Eberlein

License

ISC

Changelog

1.0.0

  • Initial release
  • Support for all 16 German federal states
  • Flexible filtering by year and holiday type
  • Multiple output formats
  • Quick access modes for current/next/upcoming holidays

Support

For issues, questions, or contributions, please visit the GitHub repository.

Related Nodes