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 1
    • Topics 4
    • Posts 74
    • Groups 0

    Posts

    Recent Best Controversial
    • 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
    • RE: MMM-Webuntis

      @RobertMuc

      Du hast recht, die vielen Möglichkeiten machen alles sehr unübersichtlich. Sorry. Die Schule meiner Kinder nutzt Umtis ziemlich viel - daher will ich so viel wie möglich anzeigen lassen können. Die meisten Optionen sind jedoch optional. Du kannst dich langsam heranarbeiten.

      Eigentlich solltest du nichts ändern müssen. Per default sollten lessons und exams (also Ausfälle und Klassenarbeiten) angezeigt werden.

      So sieht es mit Elternaccount aus. Angezeigt werden dann die ausfallenden stunden heute und morgen von allen Kinder:

      
              {
                  module: "MMM-Webuntis",
                  header: "Stundenplanänderungen ",
                  position: "top_right",
                  config: {
                      updateInterval: 5 * 60 * 1000,
      
                      username: 'USERNAME',
                      password: 'PASSWORT',
                      school: 'SCHULE',
                      server: 'SCHULE.webuntis.com',
      
                      displayMode: 'lessons',
                      lessons: {
                            nextDays: 1, // widget-specific days ahead
                          },
      
                  }
              },
      

      Wenn du einen Schüler spezifischen qr login hast, bleibt dieser im students object stehen - wie bisher. Der eltern Block fällt dann weg.

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      Hello everyone,

      version 0.5.0. of my MMM-Webuntis module is out.
      Major improvement: you don’t need the student based login anymore.

      Please read the detailed readme.
      unfortunately I am not able to test any edge case myself.

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      @Rondejavu Danke, dir auch schöne Feiertage.

      Ich arbeite bereits an einer massiven Überarbeitung.
      Dann sollte auch ein direkter Login funktionieren.

      Wenn ihr aber einen Zugang für die ganze Klasse habt (keine eigenen Benutzernamen) kann es sein, dass du mir helfen musst das lauffähig zu bekommen, da ich keine Testmöglichkeit habe Klassenaccounts zu testen.

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      @Rondejavu

      • Bei webuntis mit dem Schüleraccount anmelden.
      • Links unten auf den Account Namen klicken
      • Im rechten Panel auf “Freigaben” gehen
      • Dort gibt es den Link zum QR Code mit allen Paramtern für MMM-Webuntis.

      eine andere Anmeldemethode (über die Elternaccounts) habe ich leider noch nicht erfolgreich implementieren können.

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      @Rondejavu gerne:

      Ich vermute, dass die Antwort schon hier im Forum ca. 3 Beiträge obendrüber steht. Untis hat an den Servern gearbeitet - evtl. müssen hier die Verbindungsparamter neu eingestellt werden.

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      that’s great - i will look how i may use this in my module.
      Thank you

      posted in Education
      H
      HeikoGr
    • RE: MMM-Webuntis

      Attention / Important

      (for our school) Untis GmbH changed url and schoolname.
      You may need to log in your (childrens) account(s) an edit the config.js according to the new values.

      At least they didn’t switch off te old json-rpc api MMM-Webuntis is using

      posted in Education
      H
      HeikoGr
    • RE: Disable header in MMM-MieleAtHome and MMM-Homeconnect

      i found 2-3 ways for you to get rid of the header:

      1.: you add “!important” to force the css rule

      .MMM-MieleAtHome .module-header {
          display: none !important;
      }
      
      1. fork MMM-MieleAtHome and get rid of
      	// you have to delete this function at MMM-MietAtHome.js line 92-95
      	getHeader: function() {
      		return "Miele@Home";
      	},
      

      MMM-HomeConnect is similar. But here you have a third option: take my fork: https://github.com/heikogr/MMM-HomeConnect2 (only thing: it has an different styling)

      posted in Troubleshooting
      H
      HeikoGr
    • RE: MMM-Photoprism

      @BGH_H said in MMM-Photoprism:

      mmm-imagesphotos

      i try to answer this: mmm-imagesphotos can not access the pictures on a photoprism server (demo here: https://demo-de.photoprism.app/library/browse)

      posted in Entertainment
      H
      HeikoGr
    • RE: MMM-Webuntis

      @thk thank you for you kind word. I was able to implement a new config option “maxGridLessons” which will cut-off everything below the configured lesson. A “… more” badge is placed if an actual lesson is hidden because of this cutoff.

      posted in Education
      H
      HeikoGr
    • RE: Develop MagicMirror the easy way — all in one workspace

      Windows is working now! You need to install Linux (tested with default [according to WSL] Ubuntu and Debian) and Docker Desktop.

      posted in Development
      H
      HeikoGr
    • RE: Develop MagicMirror the easy way — all in one workspace

      @karsten13 your docker container was/is a great source of inspiration and you are right: every developer needs an own setup. The more (good) alternatives exist - the easier it gets to start developing.

      posted in Development
      H
      HeikoGr
    • 1 / 1