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 4.0k 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

      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 Reply Quote 1
      • H Offline
        HeikoGr
        last edited by

        @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

          @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

            @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 Reply Quote 0
            • S Offline
              schmucke
              last edited by

              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 Reply Quote 0
              • H Offline
                HeikoGr @schmucke
                last edited by

                @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 Reply Quote 0
                • S Offline
                  schmucke @HeikoGr
                  last edited by

                  @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 Reply Quote 0
                  • H Offline
                    HeikoGr @schmucke
                    last edited by

                    @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 Reply Quote 0
                    • S Offline
                      schmucke @HeikoGr
                      last edited by

                      @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

                        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 Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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