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-Microsoft ToDo

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 2 Posters 2.3k Views 2 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.
    • S Offline
      svenpisa
      last edited by

      Hi Sam,

      ich habe beides versucht.

      config: {
      						oauth2ClientSecret: 'xxxxx',
      						oauth2RefreshToken: 'xxxxxxxxxxxxxxx',
      						oauth2ClientId: 'xxxxxxxxxxxxx',
      						listName: 'ToDo', // optional parameter: if not specified displays tasks from default "Tasks" list, if specified will look for a task list with the specified name (exact spelling), don't specify if you want to make use of the 'includedLists' configuration property of the 'plannedTasks' configuration.
      						// Optional parameter:  see Planned Tasks Configuration
      

      the entry listName: is once the name of the list from Microsoft ToDo (spelling of the list is correct) and I have also completely removed the listName so that the tasks are displayed without a list. But unfortunately also without success…

      I wonder if I did something wrong with the ClientID or Secret, but if I had used the wrong one, I wouldn’t have received a token, would I?

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

        @svenpisa there are logging entries on the code, so you should see messages where npm start is done

        if you use pm2 to launch mm then the command

        pm2 logs --lines=50

        will display the last 50 lines
        50 may need to be larger, the default is 15

        there are also debug entries, if you add “DEBUG” to the logLevel property in config.js you will get those too… careful, this will enable the calendar debugging info which can be quite large

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          svenpisa
          last edited by

          So when I enter the command, I first get a huge list… But I think this entry here is of interest, right?

          0|MagicMirror  | [12.02.2024 16:40.44.103] [ERROR] [MMM-MicrosoftToDo]: getTodos / get access token: https://login.microsoftonline.com/common/oauth2/v2.0/token
          0|MagicMirror  | [12.02.2024 16:40.44.104] [ERROR] [MMM-MicrosoftToDo]: Error: checkFetchStatus failed with status 'Bad Request' {}
          
          
          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @svenpisa
            last edited by

            @svenpisa i don’t know… but there is a similar issue posted to the module github repo

            https://github.com/thobach/MMM-MicrosoftToDo/issues/107

            I would engage the author

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil yes i did but with https://github.com/thobach/MMM-MicrosoftToDo/issues/109
              hope they will find a solution

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