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

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 2 Posters 4.7k 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.
    • C Offline
      Canterrain
      last edited by

      I’m trying to figure out how to look at the console logs. (Googling console logs and linux)

      Just 1 nest, controlling ac and heat, pretty simple setup.

      1 Reply Last reply Reply Quote 0
      • mochmanM Offline
        mochman Module Developer
        last edited by

        I’m not sure if this is the right way, but I use chrome on my computer and go to http://your-raspi-ip:8080. This should take you to your magicmirror webpage. Then I open up the developer console with ctrl-shift-I. On the top, you can select console. It should have all the info from your modules there.

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

          Awesome, that I can do.

          Here’s what I see in Console that stands out.

          MMM-Nest.js:120 Uncaught TypeError: Cannot convert undefined or null to object
          processTemp @ MMM-Nest.js:120
          nestRequest.onreadystatechange @ MMM-Nest.js:108

          Digging a little further, console sems to think there’s an issue with MMM-Nest.js on line 120:
          var keyVar = Object.keys(data.thermostats);

          and line 108
          self.processTemp(JSON.parse(this.response));

          1 Reply Last reply Reply Quote 0
          • mochmanM Offline
            mochman Module Developer
            last edited by

            I just updated the module to catch some problems. Can you go into the MMM-Nest module folder and run git pull. That should get the most updated version. If you are still having problems, can you run the following command
            rm ~/.pm2/logs/mm-error-0.log
            Restart your mirror then post the contents of both your console.log and the mm-error-0.log. Thanks.

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

              No luck I’m afraid.

              And to not really help matters, the console continues to state the same things, and the mm-error-0.log file is empty.

              I opened this a few times just to make sure I wasn’t typing something wrong.

              Then I redid the git pull, just because I figured maybe that was the problem. But shows up to date now.

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

                For anyone that wonders across this, this ended up happening because I was using one of the family acconts for my nest developer account. Nest doesn’t consider this as having a device associated to it. Problem was solved by creating a developer account with the ‘main’ account.

                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