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.

    Microsoft To-Do (wunderlist replacement?)

    Scheduled Pinned Locked Moved Unsolved Requests
    45 Posts 17 Posters 36.1k Views 19 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.
    • T
      ThaliaFromPrussia @binderth
      last edited by ThaliaFromPrussia

      @binderth said in Microsoft To-Do (wunderlist replacement?):

      first: I think, the URL is broken (spaces here: https://github.com/thobach/MMM-MicrosoftToDo#authorization-code-generation-code).
      only after replacing the whitespaces with “%20” it worked and I got the code.

      For me the link worked as it is. What whitespaces do you mean?

      This might be helpful:

      @sdetweil said in no result from mvgmunich modul:

      @Babene1 open the developers window, using the keyboard, ctrl-shift-i, select the tab labeled ‘console’ and then scroll up… to find any errors (usually red text)
      you can also filter to messages from a single module, by putting some part of its unique name into the file labeled ‘filter’, like mvgm

      let us know what u find

      if you use pm2 to manage the mirror runtime, you might also look at the logs, by doing

      pm2 logs

      1 Reply Last reply
      Reply Quote 0
      • M
        mherke @binderth
        last edited by

        @binderth
        …same issues here. i can’t get it running and i am missing an option to analyse the problem :(

        1 Reply Last reply
        Reply Quote 0
        • J
          Jan
          last edited by

          Hi. I successfully impemented your module. Thx for you effort! I have one question: Is there any possibility to get data for several lists and sort them under the name of the list ? (like before with Wunderlist) .

          T 1 Reply Last reply
          Reply Quote 0
          • A
            andyyy
            last edited by

            Hello,

            I am having trouble setting up this module. At the point refresh token generation I am failing.

            https://github.com/thobach/MMM-MicrosoftToDo/#refresh-token-generation-refresh-token

            1). Open terminal app -> I tried the windows console, powershell and secure shell (on the PI), but everywhere I receive just errors as output.

            Can someone give some guidance. Thanks.

            T 1 Reply Last reply
            Reply Quote 0
            • T
              thobach @andyyy
              last edited by

              @andyyy What error message do you get? Are you on Windows 10 which should have curl pre-installed? I updated the readme file to replace the space symbols with %20 as that seemed to have caused issues for some. Please make sure to preserve the ’ symbol at the end of the call.

              A 1 Reply Last reply
              Reply Quote 0
              • T
                thobach @binderth
                last edited by

                @binderth The refresh happens every 60s. I don’t plan to implement a fade-option, sorry, it would require quite some effort given the current implementation.

                M 1 Reply Last reply
                Reply Quote 0
                • T
                  thobach @Jan
                  last edited by

                  @Jan You’re welcome. Have you tried adding the module multiple times in the config file with different listId values?

                  J 1 Reply Last reply
                  Reply Quote 0
                  • T
                    thobach @binderth
                    last edited by

                    @binderth Did the tips from @ThaliaFromPrussia (https://forum.magicmirror.builders/post/68615) work for you to see what error you are getting on the magic mirror front-end?

                    1 Reply Last reply
                    Reply Quote 0
                    • J
                      Jan @thobach
                      last edited by

                      @thobach Thx for your reply. Your solution has not exactly the effect what i want, but it works fine for me ;-)

                      1 Reply Last reply
                      Reply Quote 0
                      • A
                        andyyy @thobach
                        last edited by

                        @thobach

                        curl -X POST https://login.microsoftonline.com/common/oauth2/v2.0/token

                        Length Required

                        Length Required


                        HTTP Error 411. The request must be chunked or have a content length.

                        I am sure curl is installed since other modules with OAuth are working as well.

                        T 1 Reply Last reply
                        Reply Quote 0
                        • G
                          geoffroff
                          last edited by

                          Hi

                          Managed to get the default task list to show but cannot get any other list to show. It just States Loading Tasks but never changes. Selected the list from ToDo but the ‘ID’ is a lot shorter than the example given.

                          Is there something I’m missing here?

                          It seems like this should work but just having trouble getting it to link. Not overly impressed with ToDo yet but need a shared environment and this was the simple choice having previously used Wunderlist.

                          Cheers
                          G

                          W 1 Reply Last reply
                          Reply Quote 0
                          • M
                            mherke
                            last edited by mherke

                            i followed the README.MD on github step by step and now i got it running :) i tried a few weeks ago several times without success and was pretty close to give up.

                            thanks an kind regards!

                            1 Reply Last reply
                            Reply Quote 0
                            • W
                              wazzu @geoffroff
                              last edited by

                              @geoffroff
                              Hi,
                              I had the same problem and I also had a shorter ID than the example. And of course, the status stay on “Loading tasks” for ever.
                              Finally, to solve this and get the full length link, I’ve done the following :

                              • create a share link from the list and open it
                              • click on “Sign in to join list”
                              • on next windows, click on “open”
                                I finally have an error “List not found” but in the url is the correct ID which is working as ListID, e.g :
                                https://to-do.live.com/tasks/AQMkADAwATMwNAItYmQyZS0wNnYxLTAwAi0wMAoALgAAAwyBXwAxHLZDhD1s2yT7wLoBAIZRCieiy1tMpuO70ZBr_R8AA3lr_WoAAAA=

                              Hope it helps,
                              Cheers,

                              G 1 Reply Last reply
                              Reply Quote 1
                              • Z
                                zolabus
                                last edited by

                                HI on the refresh token I have this error

                                curl: (6) Could not resolve host:
                                {“error”:“invalid_request”,“error_description”:“AADSTS900144: The request body must contain the following parameter: ‘grant_type’.\r\nTrace ID: c89030f5-7596-4716-b56b-baafdc670100\r\nCorrelation ID: 3c6c0d5a-8928-47f9-8916-30fb1a369a8e\r\nTimestamp: 2020-04-24 23:29:45Z”,“error_codes”:[900144],“timestamp”:“2020-04-24 23:29:45Z”,“trace_id”:“c89030f5-7596-4716-b56b-baafdc670100”,“correlation_id”:“3c6c0d5a-8928-47f9-8916-30fb1a369a8e”,“error_uri”:“https://login.microsoftonline.com/error?code=900144”}curl: (6) Could not resolve host:
                                curl: (6) Could not resolve host: application
                                curl: (6) Could not resolve host:
                                ‘client_id’ is not recognized as an internal or external command,
                                operable program or batch file.
                                ‘scope’ is not recognized as an internal or external command,
                                operable program or batch file.
                                ‘redirect_uri’ is not recognized as an internal or external command,
                                operable program or batch file.
                                ‘client_secret’ is not recognized as an internal or external command,
                                operable program or batch file.

                                T 1 Reply Last reply
                                Reply Quote 0
                                • G
                                  geoffroff @wazzu
                                  last edited by

                                  @wazzu Excellent worked a treat… ToDo didn’t like the link (List not Found) but when it returned to screen the list had the long ID. I amended the config file and worked like a charm… Thanks G

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • T
                                    thobach @andyyy
                                    last edited by

                                    @andyyy The call seems to be missing some parameters, please check the full command line from https://github.com/thobach/MMM-MicrosoftToDo/blob/master/README.MD, thanks!

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • T
                                      thobach @zolabus
                                      last edited by

                                      @zolabus It seems you faced the same issue as in https://github.com/thobach/MMM-MicrosoftToDo/issues/18. I updated the instructions in https://github.com/thobach/MMM-MicrosoftToDo/blob/master/README.MD#refresh-token-generation-refresh-token to be more Windows friendly, e.g. all in a single line and using double quotes. Could you please try it again with the updated instructions? Thanks!

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • S
                                        smoysauce
                                        last edited by

                                        @thobach: Do you have recommendations to get the due date to show? I have tried to add element.dueDateTime.dateTime in the MMM-MicrosoftToDo.js like I have in the past, but now the module won’t show with that that. And no matter how I try to format it with moment it still doesn’t like it. I tried it with the simple element.id to see if that would show and it does show the todo ID. Thoughts? I know I am missing something simple. Thanks!

                                        lavolp3L 1 Reply Last reply
                                        Reply Quote 0
                                        • lavolp3L
                                          lavolp3 Module Developer @smoysauce
                                          last edited by lavolp3

                                          @smoysauce if your element does not have a dueDateTime (null) this could lead to an error (cannot get property of undefined).

                                          Maybe something like this?

                                          if (element.dueDateTime) {
                                            var dueDate = moment(element.dueDateTime.dateTime).format("LL");
                                          }
                                          

                                          How to troubleshoot modules
                                          MMM-soccer v2, MMM-AVStock

                                          S 2 Replies Last reply
                                          Reply Quote 0
                                          • S
                                            smoysauce @lavolp3
                                            last edited by

                                            @lavolp3 Oh good call-out! I tried your example as well as a few other tweaks but it doesn’t seem to like it when I add that snippet in. I don’t know why it’s being so weird. I’ll keep toying around with it, but any other thoughts would be appreciated!

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • 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