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
    75 Posts 12 Posters 11.1k Views 12 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.
    • H Offline
      HeikoGr @RobertMuc
      last edited by

      @RobertMuc

      Versuch mal mit 823:

          students: [
            {
              title: 'Name des Kindes',
              studentId: 823,
              // qrcode: 'untis://setschool?url=**example**.webuntis.com&school=**example**&user=**<user>**&key=**<key>**',
              // OR use direct credentials if no QR code:
              username: 'user@example.com',
              password: '<password>',
              school: 'example',
              server: 'example.webuntis.com',  // without https://
            },
      

      und QR Code funktioniert nicht? du kannst die Werte aus der webuntis Oberfläche direkt in den String an die entsprechende Stelle eintragen oder den QRCode mit einer entsprechenden App decodieren und hier den Wert übernehmen.

      Der Screenshot zeigt jetzt auf die schnelle die Elternoberfläche, funktioniert bei den Kindern aber genauso:

      85504f72-fb21-4613-b96e-aeffe24e19c9-image.png

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

        Hi @heikogr,

        danke, danke.

        Also, ich habe dann mal wieder die qrcode Variante versucht, und die ging jetzt tatsächlich. Hatte es ernsthaft schon ein paar Mal probiert, aber jetzt ging es … Naja… Muss nicht alles verstehen.

        Vielen, vielen Dank für den hervorragenden und freundlichen Support…

        Gruß
        Robert

        1 Reply Last reply Reply Quote 0
        • O Offline
          OliWer
          last edited by OliWer

          Also have to leave a big shout out for Heiko. He really cares about this module and helps as much as he can when it comes to all the difference configs/usage scenarios by the different schools. And the new features like the grid etc. are really nice. Thanks!!!

          Edit: Feature Request: In the list the entries for cancelled lessons are crossed. In the grid view they are red. Behind my mirror glas I (with my color seeing issues) have a bit of a trouble of seeing something is canceled (my daughter don’t - its a me issue^^). But would it be possible to maybe get it also crossed or something that indicates it instead/in addition to the coloring?

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

            @OliWer Thank you for your kind words.

            with the latest commit (from today) you can add this to your custom.css (older versions have slightly diverent css-classes, but it’s also possible):

            .MMM-Webuntis .lesson-cancelled {
              text-decoration: line-through;
            }
            

            I’ve extended the readme to explain all possibilities

            1 Reply Last reply Reply Quote 0
            • 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
                                • M Offline
                                  magicghost
                                  last edited by

                                  Thanks a lot for your Support- is it possible to load also the class Book, if there is any entry about the Child? Would be good to get records of the actual month.

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

                                    @magicghost our school doesn’t offer this untis feature for us, so i can’t implement and test it. youcan add this feature if you want/can do it

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

                                      Hi Heiko,
                                      ich bin gerade am Update des Moduls und hänge an der Stelle, dass er mir keinen Stundenplan anzeigt. Der Login läuft über den Direct Login mit Username und Passwort. Die Daten habe ich mit dem Skript (./scripts/test_auth_with_curl.sh “school” “server.webuntis.com” “username” “password”) kontrolliert und da stand, dass alles passt.
                                      Im Log erhalte ich allerdings Folgendes: 0|mm | [2839:0309/111715.890708:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
                                      0|mm | [2839:0309/111715.891030:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
                                      0|mm | [2026-03-09 11:17:26.229] [WARN] [Mayra] No REST targets built - cannot fetch data! Check authentication and credentials.
                                      Leider bin ich da aktuell mit meinem Latein am Ende. Hast du da zufällig die zündende Idee?
                                      LG, Meralith

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

                                        @meralith die Fehler:

                                        0|mm | [2839:0309/111715.890708:ERROR:gbm_wrapper.cc(79)] Failed to get fd for plane.: Datei oder Verzeichnis nicht gefunden (2)
                                        0|mm | [2839:0309/111715.891030:ERROR:gbm_wrapper.cc(262)] Failed to export buffer to dma_buf: Datei oder Verzeichnis nicht gefunden (2)
                                        

                                        kommen sicher nicht vom MMM-Webuntis Modul sondern vom Chrome / Electon und sind vermutlich harmlos.

                                        • Welches Version von Node.js läuft bei dir (node -v)?
                                        • Hast du npm ci --omit=dev (oder npm install ausgeführt?)
                                        • Hast du Sonderzeichen im Anmeldenamen?

                                        Alternativ kannst du mal den qrcode login ausprobieren.

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

                                          @HeikoGr

                                          • node Version habe ich geupdated auf v20.18.1.
                                          • ausgeführt habe ich npm install.
                                          • keine Sonderzeichen

                                          Nach der Aktualisierung von node und Verwendung von qrcode login zeigt es den Stundenplan jetzt an.
                                          Danke für den Anstoß!

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

                                            @meralith Danke für die Rückmeldung. Ich habe node.js in der Version 20.18.1 jetzt mal als Bedingung in der Readme formuliert.

                                            Falls du noch irgendwoe Probleme, Fragen oder Anregungen hast - einfach melden!

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 4 / 4
                                            • 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