Repository navigation
Blueprints
Michal Zaniewicz edited this page Nov 14, 2026
·
25 revisions
Ready-to-import blueprints under
blueprints/automation/librus_synergia/ wrap
the integration's events so you don't have to write the YAML yourself - each just asks for an
action (e.g. "Send a notification") - see Automation ideas for what to put there, plus recipes you can paste as they are:
| Blueprint | What it does | |
|---|---|---|
| New Grade Notification | Runs your action with a summary whenever librus_synergia_new_grade fires - optionally with the subject's average before and after it ("Średnia: 4,20 → 4,35") and a line showing the category, weight, date and teacher's comment. Point grades read "17/20 pkt (85%)", behaviour grades "Ocena z zachowania: bdb (bardzo dobre) za październik". |
|
| Grade Changed Notification | Runs your action when a teacher edits a grade after giving it (a "bz" turned into a 5, another weight, no longer counting) or deletes it. {{ change_summary }} reads e.g. "Ola: ocena zmieniona (Matematyka): bz → 5", with the average before and after. Deleted grades optional. |
|
| New Behaviour Notice Notification | Runs your action with a one-line summary whenever librus_synergia_new_note fires. |
|
| New Announcement Notification | Runs your action with the title whenever librus_synergia_new_announcement fires. |
|
| New Message Notification | Runs your action with a one-line summary whenever librus_synergia_new_message fires - messages in the substitutions, alerts and justifications mailboxes too, labelled ("Nowa wiadomość (Zastępstwa) od ..."; can be switched off). |
|
| New Message With a Read Button | A notification on a phone with the Home Assistant app for every new message, with a Przeczytane button that marks it read in Librus and clears the notification (0.12.24+). Messages in the other mailboxes are included too, unless switched off. | |
| New Announcement With a Read Button | A notification on a phone with the Home Assistant app for every new announcement, with the start of its text and a Przeczytane button that marks it read in Librus and clears the notification (0.12.24+). | |
| Heavy Week Ahead | On the days and at the time you pick (Sunday 18:00 by default), notifies when the coming week has at least 3 tests and short tests, listing them by day (0.12.24+). | |
| New Homework Assignment Notification | Runs your action whenever a new real homework assignment ("zadanie domowe") appears - topic, due date, teacher, subject and, optionally, the instructions. | |
| Lesson Change Notification | Runs your action with a one-line summary whenever librus_synergia_timetable_changed fires (a lesson newly cancelled, substituted, moved to another room or to another time) - the message says what changed, e.g. "Zmiana sali: Matematyka (2026-10-08, 09:50) - sala 12 → 21" or "Zastępstwo: Biologia - za Chemia, prowadzi Anna Nowak". |
|
| New Agenda Entry Notification | Runs your action whenever librus_synergia_new_homework fires - optionally filtered to one category (e.g. only "Sprawdzian"). |
|
| Agenda Entry Changed or Removed | Runs your action when librus_synergia_agenda_changed fires - an upcoming test moved to another day, a new time or description, or an entry removed from Librus - optionally only for some categories. Comes with a ready-made message ("Ola: [Sprawdzian] Matematyka - termin 12.10 → 14.10"). |
|
| Unexcused Absence Notification | Runs your action whenever librus_synergia_new_absence fires for an absence that isn't excused yet - a day's absences entered together (one per lesson) arrive as ONE message 30 s later, listing every day still to justify. Optional Unexcused absences sensor input limits it to one child. |
|
| New Lateness Notification | Runs your action whenever librus_synergia_new_late fires - the student was marked late ("Spóźnienie"), which the absence blueprints never see. {{ late_summary }} is ready to send ("Ola: Spóźnienie 12.11, lekcja 1 (Matematyka)."). Optional Student input limits it to one child. Since 0.12.48. |
|
| Absences To Justify Reminder | At a set time on the days you pick, runs your action with a {{ reminder_text }} (count + dates) for as long as there are unexcused absences left - silent once everything is excused, and days you've already sent a justification for are left out. |
|
| Absence Justification Decided | Runs your action when librus_synergia_justification_status fires - the school accepted or rejected a justification you sent (optionally only rejections). Ready-made message: "Ola: usprawiedliwienie za 14.09 - 16.09 przyjęte (5 nieobecn.)." |
|
| School Trip Tomorrow | At a set time, the day before a school trip (only trips starting tomorrow), runs your action with the destination, transport and route ("Ola: jutro wycieczka - Muzeum Narodowe (autokar)."). | |
| Return Library Books | On chosen days before the school year ends (by default 14, 7 and 2 days before), runs your action when the student still has library books, listing their titles ("Ola: do końca roku szkolnego 14 dni - oddaj do biblioteki 12 książek: Matematyka 7, Historia 7, ..."). Goes by the year's end from the Class sensor, not by the library's due dates. | |
| New School Document | Runs your action when the school shares a new document with parents ("Ola: szkoła udostępniła dokument „Regulamin wycieczek”"). | |
| Low Subject Attendance | Runs your action when the Lowest subject attendance sensor crosses below a percentage you set (default 60%) - a heads-up before any subject gets near the 50% mark. | |
| Few Absences Left | Runs your action once only a few lessons of some subject can still be missed this semester before more than half are missed (default: fewer than 4 left) - from the Lowest subject attendance sensor's fewest_absences_left, an estimate from the timetable. |
|
| What to Revise Before a Test | A set number of days before a test (default 3), runs your action with the topics taught in that subject since the previous test, the lessons the student missed marked - {{ revision_summary }} is a ready-made message ("Ola: Za 3 dni: Sprawdzian · Matematyka - do powtórki: Ułamki; Procenty (nieobecny)"). |
|
| What to Catch Up After an Absence | On the day your child is back at school after an absence, at a set time, runs your action with the topics of the missed lessons per subject and the homework given meanwhile - {{ catch_up_summary }} is a ready-made message ("Ola: do nadrobienia po nieobecności 06.10-07.10: - Matematyka: Ułamki (06.10); ..."). |
|
| Test Tomorrow Reminder | At a set time each day, runs your action with an {{ exam_summary }} only when a test or quiz is on the Agenda for the next day - silent otherwise. |
|
| Your Lucky Number | Runs your action when the published lucky number is your child's class-register number (read from Librus; override under Configure). | |
| Morning Briefing | At a set time on school days, builds a {{ briefing_text }} (first lesson + room - or "next lesson" when the day has already started, and only when it's today - today's lucky number, any test within 3 days; optional School start sensor input) and runs your action - speak it, or notify. |
|
| Live Lesson on the Lock Screen | Keeps today's lessons on the phone's lock screen for the whole school day: the lesson now, its room and a countdown to the bell, during a break what comes next and when, and a progress bar for the day. A Live Update on Android 16+, a Live Activity on iPhone (iOS 17.2+, Home Assistant 2026.7+), an ordinary updating notification on older phones. Updates only when a lesson starts or ends; ends after the last lesson. Needs the Current lesson, Next lesson and At school entities and a phone with the Home Assistant app. | |
| School Wake-Up | Runs your action a set number of minutes before the first lesson of each school day (alarm, music, lights, blinds). Follows the timetable: a day starting with lesson 2 wakes later, days off stay silent. {{ wake_summary }} is a ready-made message. |
|
| School Alarm on an Android Phone | Every evening before a school day (at a time you pick, 21:00 by default), sets an alarm in the phone's own clock app for a set number of minutes before the first lesson - later when the day starts with lesson 2, none on days off, holidays and fully cancelled days. Android with the Home Assistant app only; the first time, allow the app's "Display over other apps" permission on the phone. A change published later that evening doesn't move an alarm already set (versions after 0.12.37). | |
| School Pick-Up Reminder | Runs your action a set number of minutes before the last lesson ends - time to leave for pick-up. Pick School day end instead of School end to count a club or day-care after the lessons (0.12.44+); the message then names it. {{ pickup_summary }} is a ready-made message. |
|
| Copy School Events to a Calendar | Copies tests, quizzes, trips, meetings and days off into a calendar of your choice (e.g. a family Google Calendar) and keeps them up to date - daily, right after a new Agenda entry and when an entry changes. A moved test is moved, a cancelled one removed; only the events it added are ever changed (they carry a [librus-sync:...] tag). Pick which Agenda categories to copy, and (0.12.50+) whether the copies get a time - e.g. 07:00 - so your phone reminds you at a useful hour instead of at midnight. Uses the sync_calendar action (0.12.28+). |
|
| Low Grade Alert | Runs your action only for a new grade at or below a threshold you set (default 2) - non-numeric marks, point grades and behaviour grades are ignored. | |
| Subject Average Dropped Below Threshold | Runs your action when a subject-average sensor crosses below a value you set (default 3.5) - once on the way down, again only after it recovers. | |
| Grade Forecast Changed | Runs your action when a subject's forecast report-card grade moves (librus_synergia_forecast_changed) - by default only when it drops - with a {{ forecast_summary }} that says what it takes to win it back ("one 6 lifts it again"). |
|
| Parent To-dos from Announcements (AI) | Every new announcement - and, if you want, the start of every new message - is read by your AI Task entity (Gemini, OpenAI...). What you have to do because of it - sign, pay, bring, return, sign up - goes to a to-do list you pick, one task per line with its own deadline when the text gives one ("Wpłacić 120 zł wychowawcy za wycieczkę" by 20.11, "Podpisać i oddać zgodę" by 21.11). Announcements that only inform add nothing. Only the start of a message is read (opening it in Librus would mark it read). The text goes to that AI service. Needs an AI Task entity and a to-do list (e.g. a Local To-do list). | |
| Weekly AI Summary Report | Sends the weekly AI summary when it is written (librus_synergia_weekly_summary) - short (headline, section statuses, to-dos) or full text, pick the sections, optionally only for weeks that need attention, and send it as one message or one message per section (for messengers that cut long text), with an optional longest message that splits a long section further (e.g. 700 characters for CallMeBot on WhatsApp). With Written to: Parent and student, pick the Version (for the parent / for the student) and make one automation per phone. Needs the weekly AI summary set up under Configure. |
|
| Daily Digest | Once a day at a set time, one {{ digest_text }} with everything new in the gradebook that day: new and edited grades, absences and late arrivals, homework given, new Agenda entries, timetable changes, messages and notes - instead of a notification for each. Pick the student's device; quiet days can be skipped. No AI needed. |
|
| Weekly Digest | Every Sunday at a set time, builds a {{ digest_text }} (tests due in the next 7 days, optionally homework due and any unexcused absence count) and runs your action. |
|
| Homework Due Tomorrow | At a set time each day, runs your action with a {{ homework_summary }} only when a real Homework assignment ("zadanie domowe") is due the next day - silent otherwise. |
|
| Time to Leave | Runs your action once, right when it's time to leave for the day's first lesson (its start time minus your travel time), checked every minute for accuracy regardless of your poll interval. Optional School start sensor input. | |
| Achievement Unlocked | Runs your action whenever librus_synergia_achievement_unlocked fires - a gamification milestone (first six, grade streaks, absence/behaviour-free streaks). Fires at most once per achievement, ever. |
Or import manually: Settings -> Automations & Scenes -> Blueprints -> Import Blueprint, and paste a blueprint's GitHub URL.
Getting started
Features
Reference
Elsewhere