• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.6k 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.
  • M Offline
    mochman Module Developer
    last edited by Aug 20, 2016, 10:58 PM

    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 Aug 21, 2016, 12:21 AM Aug 21, 2016, 12:05 AM

      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
      • M Offline
        mochman Module Developer
        last edited by Aug 21, 2016, 1:02 PM

        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 Aug 21, 2016, 4:29 PM

          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 Aug 21, 2016, 5:56 PM

            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
            1 / 1
            • First post
              8/8
              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