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.8k 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.
    • mochmanM Offline
      mochman Module Developer
      last edited by

      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
      • mochmanM Offline
        mochman Module Developer
        last edited by mochman

        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

          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.

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

            @willharwell Glad to hear it!

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

              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

                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
                • yawnsY Offline
                  yawns Moderator
                  last edited by

                  On the terminal type bash getToken.sh

                  1 Reply Last reply Reply Quote 0
                  • tidus5T Offline
                    tidus5
                    last edited by yawns

                    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%;
                    }
                    
                    mochmanM 1 Reply Last reply Reply Quote 1
                    • mochmanM Offline
                      mochman Module Developer @tidus5
                      last edited by

                      @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

                        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

                        mochmanM 1 Reply Last reply 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