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.4k 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 @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
                • Mitch1138M Offline
                  Mitch1138 @mochman
                  last edited by

                  @mochman Many thanks. For now, changing the table font size in Nest.js seems to work (table.classList.add(“xsmall”, “table”); to table.classList.add(“small”, “table”);). I will keep looking at how to get this into custom.css.

                  strawberry 3.141S 1 Reply Last reply Reply Quote 0
                  • 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

                                            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
                                            • 1 / 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