Read the statement by Michael Teeuw here.
MMM-Webuntis
-
I would like to promote “my” MMM-WebUntis module. My version was forked from r3wald and originally created by thyed. Full credit goes to these developers for laying the groundwork - I would never be able to start this module myself!
Description
This module is ideal if your school is using WebUntis software to manage timetables. It retrieves data via the WebUntis API and displays irregular lessons, cancellations, and more—all configurable to your needs.
- Support for Multiple Students: Display timetable changes for multiple students simultaneously, making it perfect for families with school-aged children.
- Multiple Instances: Run several instances of the module to organize and display schedules independently.
- Upcoming Exams: Stay ahead by showing upcoming exams or assessments directly on your MagicMirror.
Screenshot
Download
MMM-WebUntis -
Hi @HeikoGr ,
like your module.
Unfortunately, I receive an error, when trying to start it.
"/home/../MagicMirror/modules/MMM-Webuntis/check.js:18 const untis = new webuntis(s.school, s.username, s.password, s.server); ^ TypeError: webuntis is not a constructor"
Any idea how to fix that?
Best,
Robert -
Hello @RobertMuc,
did this error occur when you run
npm check
?
unfortunately i was not able to adopt the check.js file from https://github.com/r3wald/MMM-Webuntis -
@RobertMuc did you run
npm install
? i was able to reconstruct your error message by uninstalling the npm package. -
@HeikoGr Yes.
I did fresh reinstall of MMM and all modules and then it suddenly worked… :-)
Thanks for the support and thanks for the module.
Best
-
@HeikoGr really cool. I was about to start something like this, but even better now :) I’ll give it a try soon! Thanks!
-
Hello @HeikoGr ,
i become the following error:
[ERROR] [MMM-Webuntis] Error: Error: Can not find person in person array. at WebUntisQR._otpLogin (/home/pi/MagicMirror/modules/MMM-Webuntis/node_modules/webuntis/dist/webuntis.js:957:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async WebUntisQR.login (/home/pi/MagicMirror/modules/MMM-Webuntis/node_modules/webuntis/dist/webuntis.js:1057:12)
i think, the reason is, i just have a parent account, not a student account. is it possible to use the pearent account?
Thank you
-
@schmucke at the moment this module asks explicitly for the „own“ timetable. So the error is absolutely because of the parents account. I will look, if i can get the students data out of an existing parents account.
-
@HeikoGr said in MMM-Webuntis:
@schmucke at the moment this module asks explicitly for the „own“ timetable. So the error is absolutely because of the parents account. I will look, if i can get the students data out of an existing parents account.
this would be nice! If i can help you to get any debuginfo, tell me.
Thank you.
-
@schmucke unfortunately I am not able to get the informations via the npm webuntis class from the untis API.
Don’t your children have own accounts you can use? Or do they have an MS365 login? In this case you can use the qr code login method.