Skip to content
Projects

About

Unofficial Home Assistant integration for Librus Synergia (Polish school e-register)

Learning & Education

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
+2
in 1 month
+5

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Librus Synergia (unofficial) for Home Assistant

Your child's school day, inside Home Assistant

Release HACS Tests License

Your child's Librus Synergia e-register, inside Home Assistant. Grades, attendance, the timetable, tests, homework, messages and the lucky number become sensors and calendars, with notifications and automations that actually help a family's school week.

[!TIP] ⭐ Enjoying this integration? Every star is real motivation to keep building new features :)

☕ Want to say thanks another way? You can buy me a coffee.

Star this repo Buy me a coffee

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Documentation (wiki) · Installation · Configuration · Entities · Blueprints · Cards

Librus Synergia for Home Assistant - the 45-second trailer

36 sensors, 18 event entities, 41 blueprints, 76 cards, no captcha

What it does

Everything from the e-register, report card forecast, 30 ready-made notifications, the school day at home, weekly AI summary, Ask Assist

Every feature, in detail
  • 📚 Everything from the e-register. Grades with comments and categories, averages per subject, attendance, behaviour notes and grade, the timetable, tests and homework, messages, announcements, the lucky number - and what was actually taught in each lesson.
  • 📝 Know what to revise. For every upcoming test, the topics taught in that subject since the previous test, with the lessons your child missed marked - on a card, in a reminder a few days before, and in Assist's answers.
  • 📚 Catch up after an absence. On the day your child is back, the topics of the missed lessons and the homework given meanwhile, per subject - as a notification and a card to tick off.
  • 🎯 Know the report card before it's written. A forecast of every subject's report-card grade from its average and your school's thresholds, how many 6s lift it and how many 1s drop it, and an alarm when a subject heads for a 1.
  • 🔔 Notifications that matter. A new grade, a cancelled lesson or a room change, a test tomorrow, a test moved to another day, a school trip, an unexcused absence - 37 ready-made blueprints, one click to import. Or build your own in the automation editor: Librus triggers (New grade, Timetable change, ...) and conditions (School day, Test within 24 hours, ...) are in its list, with filters such as "only a 1 or a 2".
  • 🏠 The school day in your home. School day today/tomorrow and At school sensors, school start and end times: wake the house before the first lesson, skip the alarm on a day off, remind you when to leave for pick-up. A sensor shows how this week differs from the usual timetable.
  • 🤖 A weekly summary written by AI. Once a week, your own AI model in Home Assistant sums up grades, attendance, behaviour and the week ahead, with 2-4 concrete to-dos.
  • 🗣️ Ask Assist. "What does Ola have tomorrow?" "When is the next maths test?" - by voice or in the chat.
  • 📎 Message and homework attachments, straight to your device, without marking the message read in Librus.
  • 🛟 Keeps working when Librus doesn't. The last good data stays up through an outage, the session renews itself, and a normal login needs no captcha.
  • 👨‍👩‍👧 Several children. One entry per child; every notification says whose news it is.

Don't want to read? Watch the 3-minute tour

🔊 The video starts muted - click the speaker icon in the player to hear the voice-over.

https://github.com/user-attachments/assets/da3ab933-a071-472a-8dac-2e60d9a624ff

Ideas for your automations

16 ideas for your automations: watch the 4-minute film

🔊 The video starts muted - click the speaker icon in the player to hear the voice-over.

https://github.com/user-attachments/assets/23d96479-4d19-40b7-97f9-d6cc70f4e341

Sixteen things your home can do with school data, from a wake-up light that follows the timetable to a reminder to leave for the parent-teacher meeting. Half of them come as ready-made blueprints, and the code for the rest is on the Automation ideas page in the wiki.

Weekly AI summary

Weekly AI summary: every Sunday, the week in a minute

Once a week, the AI model you already use in Home Assistant (Gemini, OpenAI, Claude, or a local Ollama) sums up the school week: the grades and how the averages moved, attendance, behaviour, what's coming next week and, if you want, the important points from the school's messages. Read it on the dashboard, get it as a phone notification with a blueprint, or press Generate any time. Setting it up

A dashboard in minutes

75 cards, one school dashboard

Librus Synergia Cards is a companion repo with 76 cards made for this integration - add it in HACS as a Dashboard. Then pick Szkoła (Librus) under Settings → Dashboards → Add dashboard for a ready-made dashboard with a tab for every child.

See all 76 cards

Librus Synergia Cards preview

Get started

Get started: download in HACS, restart, add the integration, log in

Open this repository in HACS   Add the Librus Synergia integration to Home Assistant

  1. Download Librus Synergia (unofficial) in HACS - the first button opens it (or add this repository in HACS as an Integration).
  2. Restart Home Assistant.
  3. Add the integration - the second button, or Settings → Devices & services → Add integration → Librus Synergia.
  4. Log in with your child's Librus login (e.g. 1234567u) and password. One entry per child.

Then pick the blueprints you want and add the cards. Full instructions, every option and every entity are in the wiki.

[!NOTE] This is an unofficial integration using Librus's private API, and it may violate Librus's Terms of Service. Use your own account at your own risk. Your password is stored in Home Assistant (never sent anywhere but Librus) so the integration can log in again on its own when a session lapses - why.

Documentation

Everything else is in the wiki:

Related projects

Contributors

Thanks to everyone who sent code to this project:

  • @keysim86: point-graded subjects in the forecast, the new-grade event, the badges, the streak and the rank (and a fair weight for point-graded subjects in it); only the student's own class free days; events that arrive while Home Assistant restarts; edited and deleted grades; the weekly AI summary made up after a failed run; teachers' comments on point grades; the honours badge progress with point grades and praise / reprimand counts on behaviour notices; the semester of each grade
  • @Lucaspog: kindergarten timetable and classroom names
  • @snooppoland-cpu: Russian translation; Assist reading a whole message

Supporters

Thanks to everyone who bought me a coffee for the Librus projects:

  • Anonymous supporter
  • Anonymous supporter
  • Kacpi
  • Anonymous supporter
  • Maciej Kozień
  • Mateusz
  • Paweł
  • devNull
  • M4hSzyna

Acknowledgments

  • emsi/librus_pyapi (MIT): the current login flow is based on this project's implementation.
  • szkolny-eu/szkolny-android (GPL-3.0): an independent, open-source e-register app. Its source helped identify Librus's endpoint and field names. No code was taken from it.
  • RustySnek/librus-apix: referenced for grade-value conventions.

License

MIT - see LICENSE.

Explore related projects

Loading…