• 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-Status - New module for your Nest thermostats and protect smoke detectors!

Scheduled Pinned Locked Moved Utilities
nestthermostatprotectsmoke detector
65 Posts 18 Posters 45.1k Views 18 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.
  • P Offline
    PhiDeltDexter
    last edited by Dec 18, 2018, 3:00 PM

    Love the screenshots, its exactly what I am looking for for a dashboard. However I cannot get it to load. I have gone through as much troubleshooting as I can think of, including starting over from scratch with a new RPi image.

    I go through the steps for setup and enter the numbers necessary from my Nest Developer account, PIN etc. It gives me the attached response with a token.
    0_1545141113701_53132113-c340-42bf-b837-e02d56c77fb4-image.png

    The issues that the token comes across as

    token:"c.Ythenabunchofletters
    thoseletterscontinue }
    }
    

    So my question is - is the "c. part of the token? I have tried copying the whole thing and it throws an error when reloading MM.

    module: "mmm-nest-status",
    position: "lower_third",
    config:  {
                   token:"c.Yblah
    moreletters           }
    }
    

    I have tried copying the "c.yblah without an end quote and add a , and it throws an error.

    token:"c.Yblah,
    

    When I run config:check in MagicMirror folder it says there are no syntax errors but when I reload MM it throws an error.

    I have tried adding a " to the end and a , and MM loads, but my icon looks like this:

    token:"c.Yblah",
    

    0_1545141896559_0ed056eb-08d0-4ad3-a79b-0287d8f391af-image.png
    The README shows as an int for the type so I should not need the " ", but thats the only way to make MM load.

    I have also tried all of the above steps without the c. and it still shows the loading icon.

    I apologize if this is something very simple that I just cannot figure out, so any help would be appreciated.

    D M 2 Replies Last reply Dec 18, 2018, 4:17 PM Reply Quote 0
    • D Offline
      dazza120 @PhiDeltDexter
      last edited by Dec 18, 2018, 4:17 PM

      @phideltdexter said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:

      Love the screenshots, its exactly what I am looking for for a dashboard. However I cannot get it to load. I have gone through as much troubleshooting as I can think of, including starting over from scratch with a new RPi image.

      I go through the steps for setup and enter the numbers necessary from my Nest Developer account, PIN etc. It gives me the attached response with a token.
      0_1545141113701_53132113-c340-42bf-b837-e02d56c77fb4-image.png

      The issues that the token comes across as

      token:"c.Ythenabunchofletters
      thoseletterscontinue }
      }
      

      So my question is - is the "c. part of the token? I have tried copying the whole thing and it throws an error when reloading MM.

      module: "mmm-nest-status",
      position: "lower_third",
      config:  {
                     token:"c.Yblah
      moreletters           }
      }
      

      I have tried copying the "c.yblah without an end quote and add a , and it throws an error.

      token:"c.Yblah,
      

      When I run config:check in MagicMirror folder it says there are no syntax errors but when I reload MM it throws an error.

      I have tried adding a " to the end and a , and MM loads, but my icon looks like this:

      token:"c.Yblah",
      

      0_1545141896559_0ed056eb-08d0-4ad3-a79b-0287d8f391af-image.png
      The README shows as an int for the type so I should not need the " ", but thats the only way to make MM load.

      I have also tried all of the above steps without the c. and it still shows the loading icon.

      I apologize if this is something very simple that I just cannot figure out, so any help would be appreciated.

      So yours is like this try belows config just put in your token number

      {
      module: ‘mmm-nest-status’,
      position: ‘bottom_left’, // pick whichever position you want
      config: {
      token: “c.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”,
      displayMode: ‘all’,
      displayType: ‘list’,
      thermostatsToShow: ‘all’,
      units: ‘metric’,
      thermostatSize: ‘small’,
      alignment: ‘left’,
      // … and whatever else configuration options you want to use
      }
      },

      1 Reply Last reply Reply Quote 0
      • M Offline
        michael5r Module Developer @PhiDeltDexter
        last edited by Dec 18, 2018, 5:40 PM

        @phideltdexter My bad - there’s a typo in the Read Me, the token should be a string, not an int (I have updated the module now to reflect this).

        Try this in your config:

        {
            module: "mmm-nest-status",
            position: "lower_third",
            config: {
                token: "c.XXXXXXXXXX",
            }
        },
        

        where, of course, you replace c.XXXX with your actual token.

        P 1 Reply Last reply Dec 19, 2018, 8:31 PM Reply Quote 0
        • P Offline
          PhiDeltDexter @michael5r
          last edited by Dec 19, 2018, 8:31 PM

          @michael5r

          Just wanted to update you. I needed to update both the mmm-nest-status and MM overall and now it appears to be working fine. Thank you for your clarification!

          0_1545251500930_7743642c-42de-4207-af76-7d84e60c458b-image.png

          M 1 Reply Last reply Dec 19, 2018, 8:36 PM Reply Quote 0
          • M Offline
            michael5r Module Developer @PhiDeltDexter
            last edited by Dec 19, 2018, 8:36 PM

            @phideltdexter Great to hear - thanks for the update!

            1 Reply Last reply Reply Quote 0
            • P Offline
              PhiDeltDexter
              last edited by Dec 19, 2018, 10:09 PM

              Would you have any way to add the outdoor temperature reading that the Thermostat has?

              M 1 Reply Last reply Dec 19, 2018, 10:17 PM Reply Quote 0
              • M Offline
                michael5r Module Developer @PhiDeltDexter
                last edited by Dec 19, 2018, 10:17 PM

                @phideltdexter said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:

                Would you have any way to add the outdoor temperature reading that the Thermostat has?

                Unfortunately, no - the outdoor temperature reading on a Nest thermostat isn’t actually coming from Nest; they send your location data to the Weather Channel (yes, really!) and then show the returned value on the thermostat itself.

                As such, they don’t include the outdoor temperature as part of their API data.

                1 Reply Last reply Reply Quote 1
                • M Offline
                  michael5r Module Developer
                  last edited by Dec 28, 2018, 4:45 AM

                  Just wanted to announce that there’s a new version out of both my Nest modules!

                  I added functionality to support Paviro’s MMM-PIR-Sensor module meaning that the modules can now be suspended & resumed based on movement detected through a PIR sensor (or whatever else you’re using for motion detection).

                  Check out the release notes here:
                  https://github.com/michael5r/mmm-nest-status/releases/tag/1.4.0

                  And for mmm-nest-cameras:
                  https://github.com/michael5r/mmm-nest-cameras/releases/tag/1.1.0

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    eawalker1
                    last edited by Dec 28, 2018, 7:58 PM

                    This is my first module I am attempting to install, and keep getting a Nest API Error:null. Total noob here, but I have registered as a developer, obtained Nest token/pincode, and believe I input code correctly into config.js file per below.

                    module: "mmm-nest-status",
                    position: "top_right",
                    config: {
                        token: "my8characterpinfromnest",
                        displayType: "grid",
                        displayMode: "all",
                        thermostatsToShow: "all",
                    

                    Any ideas how to resolve the API issue?

                    M 1 Reply Last reply Dec 28, 2018, 8:20 PM Reply Quote 0
                    • M Offline
                      michael5r Module Developer @eawalker1
                      last edited by michael5r Dec 28, 2018, 8:22 PM Dec 28, 2018, 8:20 PM

                      @eawalker1 If your token is 8 characters long, it’s not the correct Nest token. It should be a long-ass string that usually begins with c. I think you’re confusing the token with the PIN you get from Nest.

                      Did you run the getToken.sh bash script in the module? It has multiple steps - you start by entering the client id and client secret which then generates a URL you need to open in a browser to get a PIN.

                      You then enter the PIN in the bash script and on the next screen, it should display your actual token.

                      E 1 Reply Last reply Dec 28, 2018, 8:52 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 4 / 7
                      • 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