• []-Module for the MagicMirror

    _This was inspired by MMM-Trakt, i just upgraded for my personal use, all credits to him




    • [ ] Pictures for the shows
    • [ ] More configuration options

    Creating a [] API [application]

    To get your API keys you need to first create an [application]. Give it a name, and enter http://localhost/ in the callback field (it’s a required field but not used for our purpose).


    Clone the repository into your MagicMirror’s modules folder, and install dependencies:

      cd ~/MagicMirror/modules
      git clone
      cd MMM-MyTraktSeries
      npm install

    Using the Module

    To run the module, you need to add the following data to your ~/MagicMirror/config/config.js file:

        module: "MMM-MyTraktSeries", 
        position: "top_left",           // Configurable
        header: "Trakt - Series",       // Configurable
            config: {
                client_id: "private_id",
                client_secret: "secret_id",
                days: 2,
                username: 'username',
                id_lista: "idlist",     // Example: "1234567"
                type: "shows" 


    Option Description
    id_lista To get the id_list you need to go to This Link, using the username/id and client_id in the UI Parameters and Headers, and in the Response, search for the List ids and then trakt value.

  • @TheVieiraAkA I’m trying out your module now, and I have set up application, API key + secret and list id. But I get this text on my mirror:

    Please enter the following on undefined

    It should be an 8 digit code. Any idea what is wrong?

  • @retroflex That problem must be that some of your inputs are wrong, or you have a token file existing in the module file that is not valid anymore, if you have one delete it and try again

  • @TheVieiraAkA Thanks! I have checked client_id, client_secret, username and id_lista and they are correct. And there is no token file from before.

    I get this exception in .pm2/logs/mm-error-0.log:

    TypeError: Error processing argument at index 1, conversion failure from 80
        at TypeError (native)
        at ClientRequest.setHeader (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/net.js:252:21)
        at ClientRequest (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/net.js:190:14)
        at Net.request (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/browser/api/net.js:354:10)
        at get (/home/pi/MagicMirror/modules/MMM-MyTraktSeries/node_modules/got/index.js:49:18)
        at Immediate.setImmediate (/home/pi/MagicMirror/modules/MMM-MyTraktSeries/node_modules/got/index.js:124:3)
        at runCallback (timers.js:574:20)
        at tryOnImmediate (timers.js:554:5)
        at processImmediate [as _immediateCallback] (timers.js:533:5)

  • @retroflex hum… thats weird, I don’t know if this matter but try to put your Trakt account and custom List public and see if you get anything different. Plz let me know

  • @TheVieiraAkA My trakt account was already public. But I found that I was using the default watchlist, which probably wasn’t a good idea. I created a new public list and switched the ID in the config to that one. Still no luck, same error.

Log in to reply

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.