Read the statement by Michael Teeuw here.
Experience with MMM-WebUntis?
-
@kai I used it until last year, then this issue occured. Maybe check your logs with
pm2 logs MagicMirror --lines=500
to see if you have the same issue.
-
the
package.json
contains"webuntis": "latest"
so it will always install the latest version of this dependency.I suspect that there were breaking changes within some versions, you could try an older version (see https://github.com/SchoolUtils/WebUntis/tags).
You have to update
package.json
with e.g."webuntis": "2.2.1"
and executenpm install
in the module folder. -
@karsten13 thanks for the hint, I tried several versions, the issue still persists.
-
@rabbit83ka I got it working, with a few modifications, so i can use the qr codes from my kids (our school uses MS365 Accounts for login, so unfortunately the username + password didn’t work…). You can find it here: https://github.com/heikogr/MMM-WebUntis wich is forked from https://github.com/r3wald/MMM-Webuntis wich is forked from https://github.com/thyed/MMM-Webuntis
-
@HeikoGr Great, it works again. Thanks for your effort!
-
@HeikoGr , one addition: until 2023, there was a very compact layout of the module (screenshot still in the readme). Then there was this PR, and the new layout is very space consuming with more then one child/student. Maybe it’s feasible to use both layouts (old and new) by a config switch, but I’m a mechanical engineer, not a programmer… but I could test the modifications.
-
@rabbit83ka I‘m not a developer either, but i think this is something i could do. But maybe it will take a few days
-
@rabbit83ka you can try my newest commit (https://github.com/HeikoGr/MMM-Webuntis/). just add a line to your config.js:
mode: "compact",
-
@HeikoGr Thank you! Works great and saves a lot of space.
-
@HeikoGr Thank you so much for your effort! It works now, and it’s just great!