• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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
30 Posts 6 Posters 2.4k Views 6 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 Jan 9, 2025, 7:41 PM

    Hello @RobertMuc,

    did this error occur when you run npm check?
    unfortunately i was not able to adopt the check.js file from https://github.com/r3wald/MMM-Webuntis

    R 1 Reply Last reply Jan 11, 2025, 10:12 AM Reply Quote 1
    • H Offline
      HeikoGr
      last edited by Jan 9, 2025, 7:50 PM

      @RobertMuc did you run npm install? i was able to reconstruct your error message by uninstalling the npm package.

      1 Reply Last reply Reply Quote 1
      • R Offline
        RobertMuc @HeikoGr
        last edited by Jan 11, 2025, 10:12 AM

        @HeikoGr Yes.

        I did fresh reinstall of MMM and all modules and then it suddenly worked… :-)

        Thanks for the support and thanks for the module.

        Best

        1 Reply Last reply Reply Quote 0
        • E Offline
          Eli @HeikoGr
          last edited by Jan 12, 2025, 8:12 AM

          @HeikoGr really cool. I was about to start something like this, but even better now :) I’ll give it a try soon! Thanks!

          E 1 Reply Last reply Jan 19, 2025, 9:51 AM Reply Quote 0
          • S Offline
            schmucke
            last edited by Jan 12, 2025, 10:21 PM

            Hello @HeikoGr ,

            i become the following error:

            [ERROR] [MMM-Webuntis] Error: Error: Can not find person in person array.
                at WebUntisQR._otpLogin (/home/pi/MagicMirror/modules/MMM-Webuntis/node_modules/webuntis/dist/webuntis.js:957:13)
                at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                at async WebUntisQR.login (/home/pi/MagicMirror/modules/MMM-Webuntis/node_modules/webuntis/dist/webuntis.js:1057:12)
            

            i think, the reason is, i just have a parent account, not a student account. is it possible to use the pearent account?

            Thank you

            H 1 Reply Last reply Jan 12, 2025, 10:29 PM Reply Quote 0
            • H Offline
              HeikoGr @schmucke
              last edited by Jan 12, 2025, 10:29 PM

              @schmucke at the moment this module asks explicitly for the „own“ timetable. So the error is absolutely because of the parents account. I will look, if i can get the students data out of an existing parents account.

              S 1 Reply Last reply Jan 12, 2025, 10:32 PM Reply Quote 0
              • S Offline
                schmucke @HeikoGr
                last edited by Jan 12, 2025, 10:32 PM

                @HeikoGr said in MMM-Webuntis:

                @schmucke at the moment this module asks explicitly for the „own“ timetable. So the error is absolutely because of the parents account. I will look, if i can get the students data out of an existing parents account.

                this would be nice! If i can help you to get any debuginfo, tell me.

                Thank you.

                H 1 Reply Last reply Jan 13, 2025, 4:24 PM Reply Quote 0
                • H Offline
                  HeikoGr @schmucke
                  last edited by Jan 13, 2025, 4:24 PM

                  @schmucke unfortunately I am not able to get the informations via the npm webuntis class from the untis API.

                  Don’t your children have own accounts you can use? Or do they have an MS365 login? In this case you can use the qr code login method.

                  S 1 Reply Last reply Jan 13, 2025, 4:32 PM Reply Quote 0
                  • S Offline
                    schmucke @HeikoGr
                    last edited by Jan 13, 2025, 4:32 PM

                    @HeikoGr no Problem.

                    Of cource, they have a login - but they dont know they passwords… i just try to get the Information from the teachers. Thank you!

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      Eli @Eli
                      last edited by Jan 19, 2025, 9:51 AM

                      It works on my mirror now. But I can only see the info page telling that all is according to plan. Unfortunately, the school is only striking the lessons in the schedule without any comment. But I can’t manage to display the students schedule. I log in with password, not qr. Maybe I miss a simple option?

                      Maybe as a small improvement you might want to update your example config and add a few options+screenshots? Might help some of us…

                      But great work! Thumbs up!

                      H 1 Reply Last reply Jan 22, 2025, 5:53 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        7/30
                        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