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-nest-status unresponsive after 12hours

    Scheduled Pinned Locked Moved Solved Troubleshooting
    34 Posts 4 Posters 16.6k 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.
    • C Offline
      costascontis
      last edited by

      had the same problem with this module…had to restart my mm to keep it running so i gave up.Its a pity cause its so nice good looking module but after some hours it gets unresponsive …

      1 Reply Last reply Reply Quote 0
      • R Offline
        rts58
        last edited by

        I also have been having the same issue with this module. It worked well for months. I’ve just been restarting and haven’t had time to chase down the errors.

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

          i think this is an api redirect issue, which the current code doesn’t cover…

          please try my updated module

          rename your folder to some other name
          then

          git clone https://github.com/sdetweil/mmm-nest-status
          

          nothing else has changed

          there is an api call limit… roughly once per minute… doesn’t say if it ever recovers from reaching the limit

          looks like it might recover after 1 hour… SINCE THE LAST CALL… but the app keeps trying every 10 minutes
          but you should see this on the UI…

          ‘The Nest API rate limit has been exceeded.
          This module will try to load data again in 10 minutes.’;

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 2 Replies Last reply Reply Quote 0
          • D Offline
            dazza120 @sdetweil
            last edited by

            @sdetweil said in mmm-nest-status unresponsive after 12hours:

            git clone https://github.com/sdetweil/mmm-nest-status

            Yeah when I changed it to every 10seconds it showed the limit exceeded will try again in 10min so I think it does recover. But it’s never showed this when I put it to every 1min as per nest api. I’ll have a go with yours thanks very much mate.👍🏾

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

              @dazza120 cool. I think it should enforce 1 minute minimum…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 1
              • D Offline
                dazza120 @sdetweil
                last edited by

                @sdetweil seems to be working fine mate cheers 👍🏾

                1 Reply Last reply Reply Quote 0
                • D Offline
                  dazza120
                  last edited by

                  @sdetweil its working a treat mate thanks

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

                    @dazza120 mine works, but original does not?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    D 1 Reply Last reply Reply Quote 1
                    • D Offline
                      dazza120 @sdetweil
                      last edited by

                      @sdetweil no yours works well the original doesn’t

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        dazza120 @sdetweil
                        last edited by

                        @sdetweil it looks like its playing up again i had couple of days with it working on the button now its back to giving up after 12hours :(

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

                          @dazza120 ok. Can u look at the developers window console to see if any messages?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          D 1 Reply Last reply Reply Quote 0
                          • R Offline
                            rts58
                            last edited by

                            Bummer, mine has stopped as well.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rts58
                              last edited by

                              I tried to open the console via remote but wasn’t able to. Sorry.

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                dazza120 @sdetweil
                                last edited by

                                @sdetweil it’s literally just the seconds of the time I’m seeing which I might try to stop not seen any Nest process but I did restart it before this so that error has likely gone, as soon as it happens again I will dev console and check thank you

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  rts58
                                  last edited by

                                  Based upon the display, it stopped on me last night. I was running mm serveronly so I could see the dev output in browser. I couldn’t find any errors. It could have stopped when scheduler is set to hide all modules. I did see this in the console after this mornings schedule to show modules:

                                  Whoops! There was an uncaught exception...
                                  TypeError: Cannot read property 'statusCode' of undefined
                                      at Request._callback (/home/pi/MagicMirror/modules/mmm-nest-status/node_helper.js:20:25)
                                      at self.callback (/home/pi/MagicMirror/node_modules/request/request.js:185:22)
                                      at emitOne (events.js:116:13)
                                      at Request.emit (events.js:211:7)
                                      at Request.onRequestError (/home/pi/MagicMirror/node_modules/request/request.js:881:8)
                                      at emitOne (events.js:116:13)
                                      at ClientRequest.emit (events.js:211:7)
                                      at TLSSocket.socketErrorListener (_http_client.js:401:9)
                                      at emitOne (events.js:116:13)
                                      at TLSSocket.emit (events.js:211:7)
                                  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                                  

                                  In the past I don’t think I ever had a conflict between scheduler and nest status.

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

                                    @rts58 cool… I just pushed a change to my repo for this error…

                                    if using my repo version, git pull to get the updated node_helper.js

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    R D 2 Replies Last reply Reply Quote 0
                                    • R Offline
                                      rts58 @sdetweil
                                      last edited by

                                      @sdetweil just got the update, I’ll let you know what I find. Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        dazza120 @sdetweil
                                        last edited by

                                        @sdetweil updated! 👍🏾

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          rts58
                                          last edited by

                                          It’s been 24 hours and still working fine! Thanks!

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            costascontis
                                            last edited by

                                            is the issue solved?How?

                                            S 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
                                            • 2 / 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