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-XboxFriends - Using Puppeteer to retrieve your xbox friends list and their status

    Scheduled Pinned Locked Moved Utilities
    11 Posts 3 Posters 3.8k Views 3 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.
    • K Offline
      kfyfeg @steve8384
      last edited by

      @steve8384 hi! I’ll review the code to try to find the bug.

      You can also try showBrowser: true to see if puppeteer can access your friend list or some problem appears in between

      1 Reply Last reply Reply Quote 0
      • C Offline
        Commander
        last edited by

        Big Thanks for this Plugin,
        I have a Problem after use node generateLogin.js.

        node generateLogin.js
        Are you already logged in?
        No, please login
        user OK
        pass OK
        TimeoutError: waiting for selector #primaryArea > core-area > core-region-pivot > section > section > header > a.f-active failed: timeout 40000ms exceeded
        at new WaitTask (/home/pi/MagicMirror/modules/MMM-Xboxfriends/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:526:34)
        at DOMWorld.waitForSelectorInPage (/home/pi/MagicMirror/modules/MMM-Xboxfriends/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:430:26)
        at Object.internalHandler.waitFor (/home/pi/MagicMirror/modules/MMM-Xboxfriends/node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77)
        at DOMWorld.waitForSelector (/home/pi/MagicMirror/modules/MMM-Xboxfriends/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:321:29)
        at Frame.waitForSelector (/home/pi/MagicMirror/modules/MMM-Xboxfriends/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:925:51)
        at Page.waitForSelector (/home/pi/MagicMirror/modules/MMM-Xboxfriends/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:2359:33)
        at /home/pi/MagicMirror/modules/MMM-Xboxfriends/generateLogin.js:46:14
        at processTicksAndRejections (internal/process/task_queues.js:95:5)

        I hope you can help :-)

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kfyfeg @Commander
          last edited by

          @commander Hi! Thanks for trying this module!

          Because I’m using Puppeteer, a little change in the site structure may result in an error. As soon as I can I’ll review the code to find a solution. I’ll let you know

          Cheers!

          C 2 Replies Last reply Reply Quote 0
          • C Offline
            Commander @kfyfeg
            last edited by

            @kfyfeg Big Thanks this would be great.
            Did MagicMirro use the same Browser as puppeteer?

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kfyfeg @Commander
              last edited by

              @commander I understand that it use the same browser but a different instance/session

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                Commander @kfyfeg
                last edited by

                @kfyfeg
                Did you run the Plugin at the moment on your MM?
                You wrote at GitHub this:

                Option 1: Manual login

                Go to MMM-XboxFriends folder
                cd ~/MagicMirror/modules/MMM-GooglePhotos
                node generateLogin.js

                Its an Misstake with MMM-GooglePhotos? You mean MMM-XboxFriends?

                1 Reply Last reply Reply Quote 0
                • C Offline
                  Commander @kfyfeg
                  last edited by

                  @kfyfeg Hey did you found a solution?

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