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.

    nest-status access token

    Scheduled Pinned Locked Moved Solved Troubleshooting
    17 Posts 4 Posters 4.1k Views 4 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 Offline
      tanvir586 @xadamxk
      last edited by

      @xadamxk … just my nest module. Everything else working fine.

      1 Reply Last reply Reply Quote 0
      • xadamxkX Offline
        xadamxk
        last edited by

        @tanvir586 Hard to say what the problem might be without having access to your device. If you read the console output of the magic mirror, or run in server only mode, you might be able to read the logs for any errors associated with the module.

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          tanvir586 @xadamxk
          last edited by

          @xadamxk this is my error log…

          [13.03.2022 13:12.50.413] [ERROR] Whoops! There was an uncaught exception…
          [13.03.2022 13:12.50.431] [ERROR] TypeError: Cannot read properties of undefined (reading ‘statusCode’)
          at Request._callback (/home/pi/MagicMirror/modules/mmm-nest-status/node_helper.js:16:22)
          at self.callback (/home/pi/node_modules/request/request.js:185:22)
          at Request.emit (node:events:394:28)
          at Request.onRequestError (/home/pi/node_modules/request/request.js:877:8)
          at ClientRequest.emit (node:events:394:28)
          at TLSSocket.socketErrorListener (node:_http_client:447:9)
          at TLSSocket.emit (node:events:394:28)
          at emitErrorNT (node:internal/streams/destroy:157:8)
          at emitErrorCloseNT (node:internal/streams/destroy:122:3)
          at processTicksAndRejections (node:internal/process/task_queues:83:21)
          [13.03.2022 13:12.50.438] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
          [13.03.2022 13:12.50.439] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

          xadamxkX 1 Reply Last reply Reply Quote 0
          • xadamxkX Offline
            xadamxk @tanvir586
            last edited by xadamxk

            @tanvir586 Apologies for the late reply, I think the notification of your reply was eaten.
            https://github.com/michael5r/mmm-nest-status/blob/master/node_helper.js#L18

            Looks like the response from the API isn’t returning the expected response. There are several things it could be but it’s hard to know for sure. If you open your configuration file, do you have a custom updateInterval set? If not, add this:

            "updateInterval": 240000
            

            This will change the update interval from 2 to 4 minutes, which might help your issue. Give this a try and let me know if it works better for you.

            T 1 Reply Last reply Reply Quote 0
            • T Offline
              tanvir586 @xadamxk
              last edited by

              @xadamxk Hi mate thanks for replying. Im using module refresher now and it refresh my module every few hours. I don’t see any errors after start using it.

              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