MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

MMM-XboxFriends - Using Puppeteer to retrieve your xbox friends list and their status



  • Hi,

    this is my first module so please, if you’re interested, try it and tell me what you think!

    Download and instructions on GitHub.

    Example
    alt text



  • @kfyfeg Hello there ! I love this concept and thanks for taking the time out to do this. I can get as far as Login OK when running MMM-XboxFriends but then it doesnt show anything. I used option 2 for setting login credentials… any idea on what the issue is ?

    Steve -



  • @steve8384 hi! Thanks for trying this module!

    Can you try using debug:true and copy what appears in the console?

    You can also try with showBrowser: false and see where it get stuck



  • Hello - this is what I get from the debug console.

    [2020-09-05 15:52:31.772] [LOG] Core start
    [2020-09-05 15:52:31.774] [LOG] Core getDom
    [2020-09-05 15:52:31.776] [LOG] loaded: false
    [2020-09-05 15:52:31.778] [LOG] Helper notification CONFIG
    [2020-09-05 15:52:31.784] [LOG] Launching puppeteer…
    [2020-09-05 15:52:31.787] [LOG] loginCache:
    [2020-09-05 15:52:31.789] [LOG] loginFinal: true
    [2020-09-05 15:52:31.790] [LOG] already logged in
    [2020-09-05 15:52:31.928] [LOG] Core getDom
    [2020-09-05 15:52:31.932] [LOG] loaded: false
    [2020-09-05 15:52:33.853] [INFO] Newsfeed-Fetcher: Broadcasting 59 items.
    [2020-09-05 15:52:37.803] [LOG] userdata: /home/pi/MagicMirror/modules/MMM-XboxFriends/myUserDataDir/
    [2020-09-05 15:52:44.476] [LOG] loginCache:
    [2020-09-05 15:52:44.481] [LOG] Login OK…
    [2020-09-05 15:52:44.493] [LOG] Searching list…
    [2020-09-05 15:52:44.580] [LOG] XXX core socketNotificationReceived: LOGIN_OK
    [2020-09-05 15:52:44.592] [LOG] Core getDom
    [2020-09-05 15:52:44.608] [LOG] loaded: false
    [2020-09-05 15:52:54.522] [LOG] List not found, refreshing…
    [2020-09-05 15:52:59.743] [LOG] Num. amigos: 0
    [2020-09-05 15:52:59.748] [LOG] []
    [2020-09-05 15:52:59.751] [LOG] largo array: 0
    [2020-09-05 15:52:59.794] [LOG] XXX core socketNotificationReceived: INFO_OK
    [2020-09-05 15:52:59.803] [LOG] Core getDom
    [2020-09-05 15:52:59.813] [LOG] loaded: true
    [2020-09-05 15:52:59.830] [LOG] largo array: 0
    [2020-09-05 15:52:59.837] [LOG] config.maxEntries: 7
    [2020-09-05 15:52:59.843] [LOG] config.offline: true
    [2020-09-05 15:52:59.848] [LOG] config.fadePoint: 0.5
    [2020-09-05 15:53:00.933] [LOG] Puppeteer closed…



  • @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


Log in to reply