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 68
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Default Calendar Not Loading Events After New MM Update

      i filed an issue: https://github.com/jens-maus/node-ical/issues/495

      it could be an edge case on my side.
      @inteeraymee by any chance: did you use emClient anytime in the past?

      only workaround for my setup is to pin to v2.34.0 .
      Updating the calendars might be the best solution for me…

      posted in Troubleshooting
      H
      HeikoGr
    • RE: Default Calendar Not Loading Events After New MM Update

      @sdetweil @inteeraymee

      I have the same issue after updating from MagicMirror 2.34.0 to 2.35.0.

      In my case this is not a general calendar config problem and not an auth/fetch problem either. Some calendars still load fine, others fail right after the update, which pointed me to a parser regression.

      What I found:

      MagicMirror 2.34.0 used node-ical 0.22.1
      MagicMirror 2.35.0 uses node-ical 0.25.6
      The affected calendars are fetched successfully with HTTP 200
      The failure happens during ICS parsing
      These are the two of the log lines I get:

      [ERROR] [calendar] https://<server>/remote.php/dav/calendars/xx1/?export - iCal parsing failed: Cannot parse: 1-01-15T12:00:00Z
      [DEBUG] [calendar] Parsed iCal data from https://<server>/remote.php/dav/calendars/xx2/?export with 130 entries.
      

      The important detail in the broken ICS files is this VTIMEZONE block:

      BEGIN:VTIMEZONE
      TZID:W. Europe Standard Time
      BEGIN:DAYLIGHT
      DTSTART:00010325T020000
      TZOFFSETFROM:+0100
      TZOFFSETTO:+0200
      RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
      END:DAYLIGHT
      BEGIN:STANDARD
      DTSTART:00011028T030000
      TZOFFSETFROM:+0200
      TZOFFSETTO:+0100
      RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
      END:STANDARD
      END:VTIMEZONE
      

      I tested the exact same ICS file with both node-ical versions:

      node-ical 0.22.1: parses successfully
      node-ical 0.25.6: fails with Cannot parse: 1-01-15T12:00:00Z
      I also verified that if I remove only that W. Europe Standard Time VTIMEZONE block from the failing ICS, the file parses again with node-ical 0.25.6.

      So the problem seems to be a regression in node-ical 0.25.x when resolving VTIMEZONE definitions with year 0001 in DTSTART. The calendar fetch itself succeeds; the crash happens while parsing timezone metadata.

      This may especially affect calendars coming from Outlook/Exchange/Nextcloud imports, because W. Europe Standard Time looks like a Microsoft-style timezone definition.

      posted in Troubleshooting
      H
      HeikoGr
    • 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
    • 1
    • 2
    • 3
    • 4
    • 1 / 4