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 38.5k 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @Mitch1138
      last edited by

      @Mitch1138 did you try .MMM-Nest table.xsmall.table { font-size: 20px; line-height: 25px; } ?

      Please create a github issue if you need help, so I can keep track

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

        @strawberry-3.141 said in MMM-Nest:

        .MMM-Nest table.xsmall.table { font-size: 20px; line-height: 25px; }

        I am impressed. This worked perfectly. By adding it to the custom.css I can change size and spacing by changing the px sizes. Many thanks.

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

          I updated the css using edits from @j-e-f-f. The nest display looks closer to what the actual nest thermostat looks like. 0_1496072888357_nest.png

          1 Reply Last reply Reply Quote 1
          • pugslyP Offline
            pugsly
            last edited by

            Any chance on integrating the nest protect smoke detectors?

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

              @pugsly Sure. What kind of info would you be looking for on it? From what I see on the API, we can read CO Alarm State, Smoke Alarm State, Battery Health, and some other things people probably don’t want to see.

              What I’m thinking right now is putting a colored ring (like the one on the smoke detector) around the thermostat circle to indicate good, warning, or emergency status. Any ideas?

              1 Reply Last reply Reply Quote 0
              • pugslyP Offline
                pugsly
                last edited by

                Well, I have 3 of them so not sure how to display but I do like the colored ring based on status. There are also alerts that could be displayed as well.
                0_1496267942592_IMG_7336.PNG

                0_1496267906419_IMG_7335.PNG

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

                  I made a separate branch if you want to check it out. I’ll merge it after I run some more tests.
                  https://github.com/mochman/MMM-Nest/tree/protect

                  You are going to have to edit your Nest developer settings to allow read access to the “protect” in order for this to work. When you do that, you’ll need to run getToken.sh again to get a new token.

                  I gave you the option to use a visual representation, or a list representation. If you use visual, you have the choice to display your nest, protect, or both together.

                  Here are some of the ways it displays to you.
                  0_1496436732416_Nest_Display.png

                  I can’t find the “Smoke is clearing” data or stuff like that, so it just shows if there is an alarm for smoke or carbon monoxide, or if your battery is low.

                  Please take a look and tell me what you think.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    alberttwong
                    last edited by

                    So I’m making modifications to support Nest Cams. The only catch is that the cameras have to be public. I can pull the calls and writing up a UI. It’s in my own github https://github.com/alberttwong/MMM-Nest and plan to do a PR soon.

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

                      @alberttwong That’s great! I don’t have a drop cam so I’m not really sure what information people would want to get from them.

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        alberttwong
                        last edited by

                        So there seems to be some gotchas. Basically, the Nest API doesn’t help yet. In the meantime, you can get the Nest Camera working through MMM-iFrame with caveats (https://github.com/alberttwong/MMM-iFrame).

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          caseyrcoughlin
                          last edited by

                          New here, about to start making mine. Have to wait until my raspberry pi gets here in a few days though. The module looks great, however, I was wondering if it is possible to add the function to adjust the temperature on it. Up/down arrows, change from A/C to heat, switch it off and so on.

                          Thanks! Hopefully I’ll have some information to provide soon.

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

                            @caseyrcoughlin It might be possible, but how would someone select the up/down arrows, etc? Are you setting up a touch screen mirror?

                            C 1 Reply Last reply Reply Quote 1
                            • C Offline
                              caseyrcoughlin @mochman
                              last edited by

                              @mochman Yes, it’ll be a touch screen. Adding a touchfoil to it. I’m still VERY new at this and haven’t had a chance to even play around with anything so most of it is out of context for me right now but I know it’s a feature I’d like to see incorporated. I’ll start tinkering with it myself soon hopefully.

                              1 Reply Last reply Reply Quote 1
                              • pyrosmileyP Offline
                                pyrosmiley
                                last edited by

                                Module works quite well for me as installed, but I do have one thing I can’t seem to puzzle out.

                                I may well be missing something - and my apologies if so - but I can’t seem to find it based on everything I’ve read. Is there a way to display multiple thermostats in a single row with a visual display? Right now I’ve enabled both by adding separate instances in the config, which works just fine to make them stack on top of each other, but it looks kinda silly having the two circles on top of each other with a big space to the side.

                                I’m assuming there’s some form of custom CSS magic involved, but I’m new to that and can’t seem to get a single module instance to display both thermostats in the first place.

                                Either way, thanks so much!!

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

                                  @pyrosmiley No, sorry. You’re doing it the way I would have recommended. If you want to throw a feature request on the githuib page, I’d be more than happy to try and figure something out.

                                  pyrosmileyP 1 Reply Last reply Reply Quote 0
                                  • pyrosmileyP Offline
                                    pyrosmiley @mochman
                                    last edited by

                                    @mochman Okay! I put up a request right here for it, and tossed up a picture for reference.

                                    Really appreciate you checking this out for me, what you have is already great

                                    O 1 Reply Last reply Reply Quote 0
                                    • O Offline
                                      onetwankyfive @pyrosmiley
                                      last edited by

                                      @pyrosmiley In the mean time, this might work for you.

                                      I did some dirty css to make this work with MMM-Tools
                                      0_1505420794085_Screen Shot 2017-09-14 at 4.25.48 PM.png

                                      Try adding this to your custom.css filers and make MMM-Tools your first MMM-Nest instance

                                      .MMM-Nest {
                                      margin-top : -190px;
                                      margin-left:350px;
                                      }

                                      .MMM-Tools {
                                      width : 320px;
                                      }

                                      you might need to make it margin-right if you are calling it on the right hand side… I’m am terrible at CSS

                                      pyrosmileyP 1 Reply Last reply Reply Quote 1
                                      • pyrosmileyP Offline
                                        pyrosmiley @onetwankyfive
                                        last edited by

                                        @onetwankyfive Quick update:
                                        I basically took your advice to use crazy negative CSS margins and it worked beautifully! I’m not actually sure how to address only one instance of a Thing in CSS so what I ended up doing was to clone the module into Nest2, and then used the CSS to bump that up next to the original. Sadly the headers don’t display leading spaces so I can’t really fix the alignment of the second instance but beyond that it looks pretty great!

                                        yes I am aware that I got no sleep

                                        Not sure if anyone else wanted to do this and wasn’t sure how, but in case there is someone: The duplicated Nest2 module can be found linked above. I’ll try my best to keep it up-to-date with the original, but in case I haven’t gotten to it yet it should be easy to do yourself – all I did was add a 2 next to every instance of the word Nest. Then I just added the following to Nest2.css, but you can even just add it to your custom CSS:

                                        .MMM-Nest2 {
                                          margin-top: -211px;
                                          margin-bottom: 65px;
                                          margin-left: 220px;
                                        }
                                        

                                        That theoretically should automatically line it up right? It looks a little janky when the MM app is loading but it all works out fine for me. It also is set to use a different font but I made sure to have it fall back on Roboto.

                                        For anyone smarter/better at computer than me, if there’s a way to achieve this without a whole forked module, let me know! Simpler is better!

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          eviljin
                                          last edited by

                                          After ran the getToken.sh, I got multiple thermostats detected. How do I add the 3 thermostats I have to the config.js?

                                          Thanks

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

                                            Please use these steps. If you have any questions after that, I’ll be happy to answer.

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • 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