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.

    MMM-Webuntis

    Scheduled Pinned Locked Moved Education
    71 Posts 11 Posters 10.4k Views 11 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.
    • O Offline
      ochja
      last edited by

      Hello Heiko,

      thank you for your work.

      Ive just started my mm-project and I would like to use your module.
      I read it supports students and parents, but I would like to use my teacher account.
      Is this also possible? Ive tried a bit but had no luck yet, to get things running.

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

        @ochja it should be possible to add support for teacher accounts - but i have no ways to implement/support/test it.

        Can you turn on logging (for MagicMirror and Webuntis module) an send me the logs?
        You may need to redact the logs before sending me any files.

        O 1 Reply Last reply Reply Quote 0
        • O Offline
          ochja @HeikoGr
          last edited by

          @HeikoGr
          It would be great if you could take a look at the logs. Before trying the QR code method, I also tried the “normal” login, but I didn’t get any further.

          logs:
          https://we.tl/t-zTm0HFmRPn

          1 Reply Last reply Reply Quote 0
          • M Offline
            magicghost
            last edited by

            Hi,

            My 1st post and my 1st 24h with MagicMirrow:

            I was able to get the webuntis app working with the QR code link after I changed the login name, which contains a „ö“ letter. The QR code has the letter <0xF6> rewritten.

            I get the changes of the timetable, how I can get a full timetable for today and next day, so that I can get rid of the printed timetable.

            Thanks

            Erik

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

              @magicghost

              this should work as minimum working example for your requirements.

                  {
                    module: "MMM-Webuntis",
                    position: "top_right",
                    config: {
                      displayMode: 'grid',
                      grid: {
                        nextDays: 1, // today plus tomorrow = 2 days
                        maxLessons: 0, // max lessons per day (0 = no limit)
                      },
                      students: [
                        {
                          title: "NAME",
                          qrcode: "untis://setschool?...", //your qrcode
                        },
                      ],
                    }
                  },
              
              M 1 Reply Last reply Reply Quote 0
              • M Offline
                magicghost @HeikoGr
                last edited by

                @HeikoGr

                Great - exactly what I wanted. Thanks!
                One small question - I have two kids and both kids with two days in one tall box. Is it possible to get them side by side?

                Thanks

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

                  @magicghost yes, just define two modules. or maybe there are some fancy css hacks possible? i choose the first option for my two kids.

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    magicghost @HeikoGr
                    last edited by

                    @HeikoGr

                    Thanks a lot.
                    One issue I have with „ö“ in the Login Name. It worked some days, then I edit the config file with Winscp - now the encoding is wrong and the login results with an error that - The output shows for the „ö“ an special character…. With authentication failed.

                    Any idea how to fix this?

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

                      you can change the encoding in winscp to utf-8 then it should work again

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

                        i recently messed up the github repository.

                        If your last update was ~2 weeks ago you should be fine.
                        Otherwise your update may fail.

                        You can get the most recent versions in this way:
                        There was no new feature in the last days. Only a more robust session management (hopefully) and internal changes.

                        cd ~/MagicMirror/modules/MMM-Webuntis
                        
                        # Reset to match the remote repository
                        git fetch origin
                        git reset --hard origin/master
                        npm ci --omit=dev
                        

                        I’m sorry for any inconvenience!

                        1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 7 / 8
                        • 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