Read the statement by Michael Teeuw here.
MMM-XboxFriends - Using Puppeteer to retrieve your xbox friends list and their status
-
@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 -
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 :-)
-
@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!
-
@kfyfeg Big Thanks this would be great.
Did MagicMirro use the same Browser as puppeteer? -
@commander I understand that it use the same browser but a different instance/session
-
@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.jsIts an Misstake with MMM-GooglePhotos? You mean MMM-XboxFriends?
-
@kfyfeg Hey did you found a solution?