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

              @fox I don’t have a camera so I’m not too sure how to program for it. The API does allow you to get data from the camera as well as take snapshots. The API also gives you the video URL which I imagine you can use to get video on the mirror.

              1 Reply Last reply Reply Quote 0
              • Mitch1138M Offline
                Mitch1138
                last edited by

                I just installed this and everything worked as described. I have two thermostats, is there a way to increase the font size of the “list” view (it looks like the css only applies to the thermostat graphic view?). Thanks

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

                  @Mitch1138 You may be able to change the .center part of the css to change the font size. I’m not to sure though, I don’t know much about CSS. Sorry.

                  1 Reply Last reply Reply Quote 0
                  • Mitch1138M Offline
                    Mitch1138
                    last edited by

                    Thanks for the suggestion. I couldn’t get this to work and couldn’t find the css setting that changes the font size, it looks like most of the settings are for the thermostat graphic, not the list.

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

                      You might have to add some custom css to MagicMirror itself to get this to work the way you want it to. I’m not entirely sure how to do that, but I bet there are a bunch of posts in this forum with the answer.

                      Mitch1138M 1 Reply Last reply Reply Quote 0
                      • S Offline
                        soqueen
                        last edited by soqueen

                        I know this is a dumb question but is the Pin you get when you run the getToken script the same as the token that you put into the config file? If not where do I get a token from? I seem to only have a pin, a product id and a product secret…

                        When I added in the Pin to the token field and run mm… I get a Loading… where the module should be…

                        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