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
    59 Posts 9 Posters 9.0k Views 9 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
      RobertMuc @HeikoGr
      last edited by

      HI @HeikoGr,

      bei mir sieht der Call ganz anders aus und keine der IDs funktioniert (siehe unten). Wenn ich mir den call für die Entries anschaue , sieht das ganze so aus.
      /WebUntis/api/rest/view/v1/timetable/entries?start=2026-01-12&end=2026-01-16&format=1&resourceType=STUDENT&resources=823&periodTypes=&timetableType=MY_TIMETABLE&layout=START_TIME

      Aber diese id funktioniert auch nicht, wenn ich sie als StudentID übergebe …

      Puh.

      Robert

      {
          "currentSchoolYear": {
              "dateRange": {
                  "start": "2025-09-16",
                  "end": "2026-07-31"
              },
              "id": 16,
              "name": "2025/2026",
              "timeGrid": {
                  "schoolyearId": 16,
                  "units": [
                    }
                  ]
              }
          },
          "departments": [],
          "isPlayground": false,
          "oneDriveData": {
              "hasOneDriveRight": false,
              "oneDriveClientVersion": "V8",
              "oneDriveClientId": "d4acf9ca-5400-48f0-96db-e356769fa9fb"
          },
          "tenant": {
              "displayName": "xx",
              "id": "xx",
              "wuHostName": null,
              "name": "xx"
          },
          "ui2020": true,
          "user": {
              "id": xxx,
              "locale": "de",
              "name": "xx",
              "email": "xxx",
              "permissions": {
                  "views": [
                      "TODAY",
                      "TIMETABLE_NEW_STUDENTS_MY",
                      "TIMETABLE_NEW_CLASSES",
                      "MESSAGE_CENTER",
                      "MESSAGE_CENTER_2021",
                      "PROFILE",
                      "PERMISSION_STUDENT_TT_OWN",
                      "PERMISSION_CLASS_TT_OWN",
                      "PERMISSION_CLASS_TT_ALL",
                      "MY_DATA",
                      "STUDENT_HOMEWORK",
                      "STUDENT_CLASSREG_ENTRIES"
                  ]
              },
              "person": {
                  "displayName": "xxx",
                  "id": xx,
                  "imageUrl": null
              },
              "roles": [
                  "STUDENT"
              ],
              "students": [],
              "lastLogin": "2026-01-15T07:18:16.425"
          },
          "permissions": [
              "CONTACTDETAILS:R:0:ASSIGNED",
              "LESSONTOPIC:R:0:ALL",
              "TT_VIEW:R:1:ASSIGNED",
              "TT_VIEW:R:5:ASSIGNED",
              "HOMEWORK:R:0:ALL",
              "MESSAGES:R:0:ALL",
              "TT_OVERVIEW:R:1:ALL",
              "CLASSEVENT:R:0:ASSIGNED"
          ],
          "settings": [
              "system.linesperpage:15",
              "system.firstDayOfWeek:2",
              "system.showlessonsofday:false",
              "system.emailadmin:xxx"
          ],
          "pollingJobs": [],
          "isSupportAccessOpen": true,
          "licenceExpiresAt": "2999-12-31",
          "holidays": [
          ]
      }
      
      H 1 Reply Last reply Reply Quote 0
      • 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
              • 1
              • 2
              • 3
              • 4
              • 5
              • 6
              • 2 / 6
              • 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