MichalZaniewicz/ha-librus-synergia
소개
Unofficial Home Assistant integration for Librus Synergia (Polish school e-register)
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +2
- in 1 month
- +5
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalLibrus Synergia (unofficial) for Home Assistant
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.
Documentation (wiki) · Installation · Configuration · Entities · Blueprints · Cards
What it does
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.
🔊 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
🔊 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
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
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

Get started
- Download Librus Synergia (unofficial) in HACS - the first button opens it (or add this repository in HACS as an Integration).
- Restart Home Assistant.
- Add the integration - the second button, or Settings → Devices & services → Add integration → Librus Synergia.
- 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:
- Getting started: Installation · Configuration - setting it up, every option with its default.
- Features: Weekly AI summary · Ask Assist · Blueprints (all 30, with import buttons).
- Reference: Entities · Events · Services - every sensor and its attributes, every event and its data, the actions.
- Background: How it works · Known limitations - the login, outages, the year-long grade history, what's still unverified.
Related projects
- Librus Synergia Cards: 71 Lovelace cards for this integration.
- librus-synergia: the Python library this integration is built on (
pip install librus-synergia). Use it in your own scripts, or from the command line. - Unofficial Librus API notes: the login flow and every endpoint's response shape.
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.
관련 프로젝트 살펴보기
불러오는 중…
