MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. HeikoGr
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    H
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 66
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-Webuntis

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

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

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

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      @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

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      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!

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

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

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

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

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      @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
                },
              ],
            }
          },
      
      posted in Education
      H
      HeikoGr
    • RE: obsession with modul checker

      @htilburgs it‘s the original script. My script only tries to run this script locally on demand

      posted in Development
      H
      HeikoGr
    • RE: obsession with modul checker

      @htilburgs i guess your modules are missing the minimal requirements for MagicMirror modules in the packages.json file.

      I managed to lower the requirements…

      posted in Development
      H
      HeikoGr
    • RE: obsession with modul checker

      @htilburgs the script looks if it is under an magicmirror/modules folder and takes this as root folder for modules.
      otherwise it will take /opt/magic_mirror/modules

      if your setup is different you need to adapt the script.

      the script itself can be placed independently

      posted in Development
      H
      HeikoGr
    • RE: obsession with modul checker

      @htilburgs now it should work for all installed modules

      posted in Development
      H
      HeikoGr
    • RE: obsession with modul checker

      @htilburgs my main objection was to support the module development. so yes, at the moment it’s a per module check,

      posted in Development
      H
      HeikoGr
    • RE: obsession with modul checker

      you need to put the script inside the folder of the module you want to check - not the MagicMirror folder itself

      posted in Development
      H
      HeikoGr
    • obsession with modul checker

      I am obsessed with the modul checker on the MagicMirror² 3rd Party Modules list…

      so, i asked github copilot to implement an instant modul checker script.

      technically it clones the modul checker repo, and the local files to /tmp/mm-modul-checker… and installs the deps.

      you can find it in recently most active repo:
      https://github.com/HeikoGr/MMM-Webuntis/blob/master/scripts/magicmirror-check.mjs

      run it: node scripts/magicmirror-check.mjs and you will get:

      
      > mmm-webuntis@0.6.1 check:mm
      > node scripts/magicmirror-check.mjs
      
      🔍 Setting up MagicMirror checker...
      Fetching checker repository (git-free) via `degit` (first time only)...
      📦 Installing dependencies...
      ✓ Copying local files (excluding node_modules)...
      ✓ Checking MMM-Webuntis (including uncommitted changes)
      🔎 Running full module checks...
      🔍 Running ESLint check on package.json...
      
      ================================================================================
      MMM-Webuntis - MagicMirror Module Check Results
      ================================================================================
      
      📋 Issues found (1):
        1. Information: There are updates for 1 dependencie(s):
      - prettier  ^3.8.0  →  ^3.8.1
      
      ================================================================================
      📄 Results saved to: magicmirror-check-results.md
      Compare with: https://modules.magicmirror.builders/result.html
      ================================================================================
      
      💡 Tip: Use --cleanup to remove checker files after check
      
      posted in Development
      H
      HeikoGr
    • RE: MMM-Webuntis

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

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      @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

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      @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

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      @RobertMuc geht mit MMM-Carousel auch, aber soweit ich weiss ist das mit Pages tatsächlich einfacher. Ich bleibe trotzdem bei Carousel 😎

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      Hallo,

      das ist ein Fall den ich leider so nicht nachvollziehen kann, da wir einen Eltern Account haben und unsere Kinder sich per Office365 anmelden.

      das Problem ist, dass das Modul die studentId braucht, mit dem login aber erstmal nur die personId bekommt.

      du hast jetzt folgende Möglichkeiten:

      • die neueste Version ausprobieren (ich habe sehr viel geändert die letzten Tage) - es kann sein, dass es damit schon funktioniert
      • Für jedes Kind in untis einloggen und einen qrcode erzeugen - dann kannst du diesen qrcode string in die config.js eintragen (der weg funktioniert ziemlich sicher!), oder:
      • im webuntis.com die studentId rausbekommen (steht zum Beispiel in der URL bei "Mein Stundenplan) und diese in der config.js hinterlegen (könnte funktionieren), oder:
      • in der Developer Ansicht im Browser (F12 drücken) im Tab Netzwerk die Response von der Resource “data” mir zur Verfügung stellen. Achtung: vorher alle sensiblen Daten entfernen. Der markierte Bereich (currentSchoolYear) ist nur ein winziger Teil der Daten)

      171ece91-2089-4c85-a527-fe084aa09e90-image.png

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      @RobertMuc achso, ganz vergessen zu erwähnen: ich hab auch sehr wenig Platz (oder zu viele Informationen) auf meinem display. Aus dem Grund setze ich das wundervolle Modul MMM-Carousel ein. Das Grid ist dann auf Seite 2.

      posted in Education
      H
      HeikoGr
    • 1 / 1