MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Experience with MMM-WebUntis?

    Scheduled Pinned Locked Moved General Discussion
    12 Posts 4 Posters 1.9k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rabbit83ka @kai
      last edited by

      @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.

      karsten13K 1 Reply Last reply Reply Quote 1
      • karsten13K Offline
        karsten13 @rabbit83ka
        last edited by

        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 execute npm install in the module folder.

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          rabbit83ka @karsten13
          last edited by

          @karsten13 thanks for the hint, I tried several versions, the issue still persists.

          H 1 Reply Last reply Reply Quote 0
          • H Offline
            HeikoGr @rabbit83ka
            last edited by

            @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

            R 1 Reply Last reply Reply Quote 1
            • R Offline
              rabbit83ka @HeikoGr
              last edited by

              @HeikoGr Great, it works again. Thanks for your effort!

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rabbit83ka @rabbit83ka
                last edited by

                @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.

                H 2 Replies Last reply Reply Quote 0
                • H Offline
                  HeikoGr @rabbit83ka
                  last edited by

                  @rabbit83ka I‘m not a developer either, but i think this is something i could do. But maybe it will take a few days

                  1 Reply Last reply Reply Quote 1
                  • H Offline
                    HeikoGr @rabbit83ka
                    last edited by HeikoGr

                    @rabbit83ka you can try my newest commit (https://github.com/HeikoGr/MMM-Webuntis/). just add a line to your config.js:

                    mode: "compact",
                    
                    R kaiK 2 Replies Last reply Reply Quote 1
                    • R Offline
                      rabbit83ka @HeikoGr
                      last edited by

                      @HeikoGr Thank you! Works great and saves a lot of space.

                      kaiK 1 Reply Last reply Reply Quote 0
                      • kaiK Offline
                        kai @HeikoGr
                        last edited by

                        @HeikoGr Thank you so much for your effort! It works now, and it’s just great!

                        1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy