cbrooker / MMM-Todoist

This is an extension for the MagicMirror2 platform. It will display your Todoist todos on your MagicMirror.
MIT License
151 stars 58 forks source link

Help a Noob, module installed, read all issues... Cannot display lists other then inbox #62

Closed Bernard-h closed 3 years ago

Bernard-h commented 4 years ago

I carefully read all treads and tried all possible solutions to get the module to work (Feb 2020) My configs are all updated, the module runs, but it doesnt show any items. I have some images of the todisih developer hub, config.js and MMM-Todoist.js.

Im really stuck, can anyone have a look with me? Would be very much appreciated.

Schermafbeelding 2020-02-06 om 00 19 21 Schermafbeelding 2020-02-06 om 00 18 04 Schermafbeelding 2020-02-06 om 00 16 27

Bernard-h commented 4 years ago

I can view the default inbox items when I add those project ids to the config.js and default MMM-todoist.js So thats a step forward. Good to know the access token works. Now im stuck trying to figure out how to get those alexa generated to-do and shopping lists working... :( Is this a premium todoist feature?

I double checked the config.js , MMM-todoist.js ..all the project ID's are the same as the ones from my todoist developer hub. No success. My inbox items work perfectly, with great interface and refresh rate. Only im trying to ingrate that alexa shopping list. with little or no succ6. Todoist stated that the current API has some issues with the alexa skill (which is installed ) ....That might be the thing. Anyone else having this issue?

I read another thread about someone having trouble loading their lists and looking at the log file and they concluded it fetched inbox. Where can I find what magicmirror/ todist is actually loading in my MM... there might be a problem there.

cbrooker commented 4 years ago

Hey Bernard-h,

It sounds to me like the Project Ids you're putting in your config.js file are incorrect. I've added a little extra debugging help for you and anyone that might need it.

If you grab the latest code ("git pull" in the MMM-Todoist folder) and add "debug=true" in the Todoist section of your config.js, when you load the page it will dump all the Projects and Project IDs to your screen. You can double check them there.

I also recommend putting 'single quotes' around the ProjectIds in the config.js. From your screen shot it looks like they're missing.

If you're testing in a regular browser, also check the console and let me know if there are any errors.

Chris

cbrooker commented 4 years ago

Oh, also looking at your update interval. It's going to be hitting Todoist every second. You'll quickly hit your API call limit and Todoist will stop sending any data.

Try setting updateLimit to "60*1000". It will hit the API every minute.

updateLimit is in milliseconds.

Bernard-h commented 3 years ago

This issue has been resolved. Thank you thank you