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.

    Trouble with Wunderlist and/or Todoist - who can help?

    Scheduled Pinned Locked Moved Troubleshooting
    13 Posts 3 Posters 5.5k 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.
    • pyrosmileyP Offline
      pyrosmiley @MyMirror
      last edited by

      @MyMirror Okay. If all else fails, try a clean install of the modules – delete the folder, re-clone from github, and npm install from inside the folder. I have no idea why stuff gets messed up but that’s fixed weird problems for me before! In the meantime, I’ll post my configs for these two modules. ***Note: for security, I’ve taken out the actual values of my keys. It’ll look right enough for you to pop in yours, but if you copy my config in, it won’t work without you replacing the access keys!

      Todoist: Without spinning up a webserver to go through the whole Oauth procedure (having to login and capture account-specific access keys, which is a pain), the devs actually give you an API key that gives you full access to your account only, found on their dev console here. This is what they call their “Test Token” and that’s what you want to use for your mirror. You don’t have to worry about the Client ID and Client Secret. Just the test token.

      		{
      			module: "MMM-Todoist",
      			position: "top_right",
      			disabled: false,
      			header: "Todoist",
      			config: {
      				accessToken: "[Todoist Test Token]",
      				maximumEntries: 60,
      				updateInterval: 90000,
      				projects: [
      					2162182105,
      					2162182104,
      					2162182107,
      					2163342228
      				],
      				projectColors: [
      					"#95ef63",
      					"#ff8581",
      					"#ffc471",
      					"#f9ec75",
      					"#a8c8e4",
      					"#d2b8a3",
      					"#e2a8e4",
      					"#cccccc",
      					"#fb886e",
      					"#ffcc00",
      					"#74e8d3",
      					"#3bd5fb",
      					"#dc4fad",
      					"#ac193d",
      					"#d24726",
      					"#82ba00",
      					"#03b3b2",
      					"#008299",
      					"#5db2ff",
      					"#0072c6",
      					"#000000",
      					"#777777"
      				],
      				fade: false,
      				orderBy: "todoist"
      			}
      		},
      

      My config is above, but you’ll need to replace my project IDs with your own, or it will error out, since they don’t match any projects (lists) on your account. The instructions for grabbing those are here and that explains it better than I can.

      Wunderlist: Their authentication is slightly different here, but no big deal. This time around, on your developer page, they give you a Client ID and a Client Secret for each “app” you’ve registered (I only have the one, which is this mirror). No matter, we just have to include both those values in the config, instead of just the one. For the record, I’m using the MMM-Wunderlist module by paviro, not the WunderlistEnhanced version. I’m pretty sure the config for them is similar, but I don’t actually know. Here’s my config:

      	{
      			module: "MMM-Wunderlist",
      			position: "top_left",
      			header: "Daily To-Do",
      			disabled: false,
      			config: {
      				accessToken: "[client secret, which is very long]",
      				clientID: "[Client ID]",
      				lists: [
      					"Daily",
      					"Party Prep"
      				],
      				interval: 90,
      				fadepoint: 0.5,
      				maximumEntries: 16
      			}
      		},
      

      Now, one thing that I just remembered having issues with (I set this up a ways back and it’s been awhile since I really looked over my config!) is the list names for this one. The nice thing about this module is that you don’t have to go pull List ID numbers out of URLs, but the unfortunate thing is that the names that you type in have to match exactly. When mine suddenly stopped working, it took me like an hour of yanking hairs out before I realized that I’d renamed one of my lists to fix the capitalization and didn’t update it accordingly on the mirror.

      I just checked and both modules are working just fine for me with these configs. Hopefully that gets you up and running.

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        MyMirror @pyrosmiley
        last edited by

        @pyrosmiley
        Good ideas … i will save my config and then delete the whole stuff - make a clean install of the modules.
        Maybe there is something, which blocks the corret working …
        I’ll try that and then get back to you.
        Thanks

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MyMirror @MyMirror
          last edited by

          @MyMirror
          Ok … wunderlist does not work … i don’t know why but i get content from todoist :-)

          May i ask another question?
          Is it possible to have more then one account from todoist on my phone to use different tables?
          I want to use one for me, check and want also to give tasks for my children (clean up their rooms and more :-) , and want to share a grocery list with my wife …
          My children should only have their own plan …
          Can you give me an example (if possible)?

          Thanks !!

          M 1 Reply Last reply Reply Quote 1
          • M Offline
            MyMirror @MyMirror
            last edited by

            @MyMirror
            Your example was very helpful - but the projektColors are without any effect.

            pyrosmileyP 1 Reply Last reply Reply Quote 0
            • P Offline
              potts-mike
              last edited by

              Maybe I can get a little help here.

              The Todoist header is showing on my mirror but there are not any events. I made a test project with one event scheduled for tomorrow. The url is https://todoist.com/app?lang=en#project%2F2183902244 meaning that the project should be 2183902244. Meaning that the below code should be correct

              				maximumEntries: 60,
              				updateInterval: 90000,
              				projects: [ 2183902244 ],
              				fade: true,
              				orderBy: "todoist"
              

              For the access token I am using the test token from the developer page on todoist. Should there be spaces between the quotations, brackets and token?

              pyrosmileyP 1 Reply Last reply Reply Quote 0
              • pyrosmileyP Offline
                pyrosmiley @MyMirror
                last edited by

                @MyMirror That’s exactly what I’m working on getting set up as well! While it should be technically possible to pull lists from multiple accounts on one mirror, I’m not sure you really need to?

                As far as I can see it, the easiest option is simply to keep your account hooked up to the mirror and just use shared lists. Since you already want to be able to share the grocery list and assign tasks to the kids, that means those relevant lists will already be shared/accessible from your account – so just drop in another instance of the module in your config, and change the header and the project values to whatever is relevant. (You can also have several projects together, with different project colors to distinguish whose chores are whose!). Mine (with badly maintained personal and work lists) looks like this:
                0_1524884168810_2018-04-27-215314_900x1600_scrot.png

                If that doesn’t work for you, then it should be possible to pull from other accounts, but you’ll have to go through the process of making a developer account and getting a test API key for each one you plan on using. This also means that each person’s list(s) must be on separate instances of the module, and can’t be combined at all (since each API key can only access data for its own account). You can have several projects from one account in each instance, but not multiple accounts.

                As for the projectColors value: to be honest, I started mine awhile back by copy/pasting from an example, and when it worked, I decided to just… not mess with it. My understanding is that, at least with that build, the projectColors bit was to specify what colors to display to correlate with the ones built into the Todoist clients.

                1 Reply Last reply Reply Quote 0
                • pyrosmileyP Offline
                  pyrosmiley @potts-mike
                  last edited by

                  @potts-mike For the accessToken, there should not be any brackets, just quotation marks. That’s my bad, I typed it out that way without even thinking about the fact that java config does, in fact, actually use brackets.

                  As for spaces, I don’t think you need any. I’m not sure that they’ll mess anything up, though, but I could be wrong. Worth trying if taking out the brackets around the token doesn’t fix your problem.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MyMirror
                    last edited by

                    Hi pyrosmiley,
                    i’ve removed every bracket and space … no content from the wunderlist :-(
                    I think, i’ll Forget this for a while and start really new from bottom up (just with the wunderlist).
                    The todoist is ok.
                    If i share my account with my wife and my kids, and they will have access to todoist … they will give me thousend of tasks i have to for them :-) :-) … no, this can’t be the right way .So i have to think about, how to separate that.
                    The main problem here is, to use seperate accounts with one app on my mobile.
                    Thanks a lot for your help and ideas - if you find a way … pls share it :-).

                    @potts-mike: Thanks for your tip

                    Greets

                    pyrosmileyP 1 Reply Last reply Reply Quote 0
                    • pyrosmileyP Offline
                      pyrosmiley @MyMirror
                      last edited by

                      @MyMirror Oh my goodness – maybe my phrasing was off but I don’t mean share your account – trust me, I know exactly how that’ll go and it’s not pretty! I just mean, like with Wunderlist, make a separate account for everybody, but make a few specific lists shared, so that everyone can access or see them. For example, we have a “grocery list” that anyone can update, and a “house projects” list that lets me update what needs to be done, and other people just check that.

                      So you could have (on either service!) a “Kid 1 Chores” and a “Kid 2 chores” list. Each would be set to share with only them, but you could update it and they could check it/complete tasks as they do them. That’s really the beauty of the tasks apps is how much you can do with shared lists. Otherwise you’re stuck logging in and out of accounts on every machine you use, and that’s no fun!

                      If you want to DM me your wunderlist config, I’ll see if I can help with it. I have no idea why else it might not be working.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        MyMirror
                        last edited by

                        Hi pyrosmiley,
                        thank you for the more detailed information. I’ll check that in the coming days. At the moment I’m busy with other things (including children’s birthday …).
                        I get in touch with the results.

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