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.

    MMM-Todoist

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 5 Posters 2.2k Views 5 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.
    • M Offline
      MrCoads
      last edited by

      Hi everyone,

      I’m trying to get Todoist to work, however, for the projects ID, it seems that they changed this?

      The URL now is e1ccaab3-3de6-4d53-8d5c-f7882cde4aa9-image.png

      I can’t insert this into the config.js as 6XFQcvJpXM3rMQwh because the it complains: [ERROR] Your configuration file contains syntax errors :(
      Line 56 column 18: Parsing error: Identifier directly after number .

      Is there a way to find the project ID another way?

      S 2 Replies Last reply Reply Quote 0
      • M Offline
        MrCoads @sdetweil
        last edited by

        @sdetweil

        Thanks! Was not the solution I was looking for.

        But I fixed it regardless.

        Wrote a script in VSC to connect to my project and it gave me the ID in JSON ;)

        Thanks anyways!

        O 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @MrCoads
          last edited by sdetweil

          @MrCoads

          stuff in js

          name : value

          if value is true or false or a number, no quotes
          otherwise quotes are required, single or double doesn’t matter as long as they are matched

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil

            Thanks! Was not the solution I was looking for.

            But I fixed it regardless.

            Wrote a script in VSC to connect to my project and it gave me the ID in JSON ;)

            Thanks anyways!

            O 1 Reply Last reply Reply Quote 0
            • S sdetweil has marked this topic as solved on
            • O Offline
              OwenLars @MrCoads
              last edited by

              @MrCoads Hi, I am having the same problem that you encountered trying to use MMM-Todoist.

              The Project IDs I am getting from Todoist are all alphanumeric, and I cant work out how to get numerical format project IDs to us with the MMM-Todoist module.

              You mentioned that you managed to create a script to extract the ID in JSON. Would you be able to provide any more specific detail? Are you able to share the script that you created?

              G 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @MrCoads
                last edited by

                @MrCoads put the ID in quotes?

                Does the url change?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                O 1 Reply Last reply Reply Quote 0
                • O Offline
                  OwenLars @sdetweil
                  last edited by

                  @sdetweil I tried the ID in quotes, this doesn’t help. The Todoist URL never changes, it is always the same alphanumeric, which does not seem to be compatible with the module.

                  S A 2 Replies Last reply Reply Quote 0
                  • S Offline
                    sdetweil @OwenLars
                    last edited by

                    @OwenLars maybe the url changed too from what the code is using

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      Gabian 0 @OwenLars
                      last edited by

                      @OwenLars Hi, this module is no more maintained, personnally I use the @ZachR19 fork, it works well.

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        angeliKITTYx @OwenLars
                        last edited by

                        @OwenLars I was able to get the proper project ID by running this command in the terminal. I just set it the module yesterday.

                        curl -s \
                          -H "Authorization: Bearer xxxxyourapikeyxxxx" \
                          https://api.todoist.com/rest/v2/projects
                        
                        1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        • 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