• 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 Utilities
nestthermostatutility
37 Posts 15 Posters 31.0k Views 14 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 May 27, 2016, 3:32 AM

    https://github.com/mochman/MMM-Nest

    I just took a wack at making a Nest Module. It works, but it’s a pain to set up.

    Nest has you walk through a bunch of hoops to get an account so you can get a token for your nest. I made a simple script that walks you through it in the root folder. The Module is very basic right now. It just displays your current temp, requested temp, and humidity.
    I am using the REST format to get all the data. If someone knows how to use firebase, please contribute.

    1 Reply Last reply Reply Quote 0
    • M Offline
      mochman Module Developer
      last edited by mochman May 27, 2016, 1:55 PM May 27, 2016, 1:55 PM

      Here is the current display for the module.

      The first show that the current temp is 75 and the system is cooling to 72. The second shows it’s 68 and heating to 74. The last is just that it’s 74 with the HVAC off. The humidity is displayed at the bottom.

      0_1464357198948_nest.png

      1 Reply Last reply Reply Quote 0
      • W Offline
        willharwell
        last edited by Oct 7, 2016, 5:53 PM

        After spending 15 minutes trying to figure exactly what Nest wanted from me during product creation, I got the module installed and it works great.

        M 1 Reply Last reply Oct 7, 2016, 6:08 PM Reply Quote 0
        • M Offline
          mochman Module Developer @willharwell
          last edited by Oct 7, 2016, 6:08 PM

          @willharwell Glad to hear it!

          1 Reply Last reply Reply Quote 0
          • M Offline
            mochman Module Developer
            last edited by Oct 18, 2016, 8:48 PM

            I’ve updated the module for all of those that use multi-thermostat setups. You now have the option to select the thermostat you want to see in “nest mode”, or you’re able to see all of your thermostats in a “grid mode”.

            Thermostat Select
            Grid Mode

            [card:mochman/MMM-Nest]

            1 Reply Last reply Reply Quote 0
            • E Offline
              eugekiller
              last edited by Nov 22, 2016, 5:07 PM

              Hi I was wondering if some one can give me a hand with this Module.
              So i am trying to set this up and have a dum question. How do you “Run getToken.sh”

              How would i put that in to the terminal?

              I Know i would direct it to the MMM-Nest folder and then from there would i put “npm start getToken.sh”

              1 Reply Last reply Reply Quote 0
              • Y Offline
                yawns Moderator
                last edited by Nov 22, 2016, 6:48 PM

                On the terminal type bash getToken.sh

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tidus5
                  last edited by yawns Jan 22, 2017, 9:00 PM Dec 13, 2016, 3:28 PM

                  0_1481642822085_Screen Shot 2016-12-13 at 16.25.04.png

                  changed the CSS

                  for who want

                  .heating {
                  width: 130px;
                  height: 130px;
                  background: red;
                  background: radial-gradient(#571d1d, #b30000);
                  -moz-border-radius: 50px;
                  -webkit-border-radius: 50px;
                  border-radius: 70px;
                  line-height: 130px;
                  font-size: 50px;
                  text-align: center;
                  position: relative;
                  border: 4px solid #FFF;
                  }
                  
                  .cooling {
                  width: 130px;
                  height: 130px;
                  background: blue;
                  background: radial-gradient(#0a237a, #436cc0);
                  -moz-border-radius: 50px;
                  -webkit-border-radius: 50px;
                  border-radius: 70px;
                  line-height: 130px;
                  font-size: 50px;
                  text-align: center;
                  position: relative;
                  border: 4px solid #FFF;
                  }
                  
                  .heatingHC {
                  width: 130px;
                  height: 130px;
                  background: red;
                  background: radial-gradient(#571d1d, #b30000);
                  -moz-border-radius: 50px;
                  -webkit-border-radius: 50px;
                  border-radius: 70px;
                  line-height: 130px;
                  font-size: 40px;
                  text-align: center;
                  position: relative;
                  border: 4px solid #FFF;
                  }
                  
                  .coolingHC {
                  width: 130px;
                  height: 130px;
                  background: blue;
                  background: radial-gradient(#0a237a, #436cc0);
                  -moz-border-radius: 50px;
                  -webkit-border-radius: 50px;
                  border-radius: 70px;
                  line-height: 130px;
                  font-size: 40px;
                  text-align: center;
                  position: relative;
                  border: 4px solid #FFF;
                  }
                  
                  .off {
                  width: 130px;
                  height: 130px;
                  border: 4px solid white;
                  background: black;
                  -moz-border-radius: 50px;
                  -webkit-border-radius: 50px;
                  border-radius: 70px;
                  line-height: 130px;
                  font-size: 50px;
                  text-align: center;
                  position: relative;
                  }
                  
                  .heatingText {
                    font-size:medium;
                    position: absolute;
                  top: -5px;
                  right: 40px;
                    width: 0;
                  }
                  
                  .coolingText {
                    font-size:medium;
                    position: absolute;
                  top: -5px;
                  right: 40px;
                    width: 0;
                  }
                  
                  .humidityText {
                    position:absolute;
                    font-size:large;
                    top: 35%;
                    width: 100%;
                  }
                  
                  .nameText {
                   font-size:medium;
                   text-align:center;
                   width:33%;
                  }
                  
                  .center {
                   text-align:center;
                  }
                  
                  .heatingCell {
                   background:red;
                   background:linear-gradient(to right, #990000 , red, #990000);
                  }
                  
                  .coolingCell {
                   background-color:blue;
                   background:linear-gradient(to right, #000099 , blue, #000099);
                  }
                  
                  .fanIcon {
                   height:15px;
                   width:15px;
                   position:absolute;
                   top: 72%;
                   right: 42%;
                  }
                  
                  M 1 Reply Last reply Dec 15, 2016, 11:12 PM Reply Quote 1
                  • M Offline
                    mochman Module Developer @tidus5
                    last edited by Dec 15, 2016, 11:12 PM

                    @tidus5 Thanks! I’m terrible at CSS, I just keep changing numbers until it looks right to me.

                    1 Reply Last reply Reply Quote 1
                    • foxF Offline
                      fox
                      last edited by Jan 22, 2017, 7:38 PM

                      I am looking forward when Nest sells officially in germany.

                      Whats about the cameras? Also Nest outdoor camera supported?

                      Issues With MMM-WatchDog known?

                      https://forum.magicmirror.builders/post/29827

                      Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

                      M 1 Reply Last reply Jan 22, 2017, 10:14 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      • 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