Read the statement by Michael Teeuw here.
MMM-Webuntis
-
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.
-
@HeikoGr no Problem.
Of cource, they have a login - but they dont know they passwords… i just try to get the Information from the teachers. Thank you!
-
It works on my mirror now. But I can only see the info page telling that all is according to plan. Unfortunately, the school is only striking the lessons in the schedule without any comment. But I can’t manage to display the students schedule. I log in with password, not qr. Maybe I miss a simple option?
Maybe as a small improvement you might want to update your example config and add a few options+screenshots? Might help some of us…
But great work! Thumbs up!