MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!

    Utilities
    nest thermostat protect smoke detector
    18
    65
    13743
    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.
    • michael5r
      michael5r Module Developer last edited by michael5r

      Hi there,

      Just created & released my first MM module - it’s called mmm-nest-status and displays your Nest thermostats and protect smoke detectors on your magic mirror. There are a couple of other Nest modules out there, but I found them be either buggy, ugly or unmaintained, so I thought it was time for a brand new module.

      It shows all states of your thermostats and protects, but also supports multiple view modes, sizes and designs, so there’s a good chance you’ll be able to use it no matter how you’ve set up your mirror.

      Check it out here:

      There are a ton of screenshots in the repo, showing all the different view modes, but here’s a couple of representative ones:

      0_1544198378033_c82f4ea1-33e1-4aa1-9b0a-09c3eb27cd8c-image.png

      0_1544198609821_3dbd8f66-a552-4303-8234-520fb0fd033b-image.png

      0_1544198391391_a0c653dc-8bb3-472d-8b6e-d10dca80e9d7-image.png

      0_1544198404952_13757140-9aa8-4711-900d-46f967217100-image.png

      Hope you find it useful!
      Michael


      UPDATES

      12-09-2018: Version 1.2.0
      Refactors the data-getting to use the socket system built into the magic mirror project - this will allow my upcoming mmm-nest-cameras module to use the same Nest data without having to do multiple calls to the Nest API.

      12-12-2018: Version 1.3.0
      Socket updates, small tweaks.

      12-27-2018: Version 1.4.0
      Adds motionSleep and motionSleepSeconds options which allow you to suspend this module when no movement has been detected for X number of seconds.

      12-28-2018: Version 1.4.1
      Changes motionSleep to tie into the regular suspend and resume functions exposed by MM

      Mykle1 1 Reply Last reply Reply Quote 6
      • Mykle1
        Mykle1 Project Sponsor Module Developer @michael5r last edited by

        @michael5r

        Nicely done. 👍

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • rudibarani
          rudibarani Project Sponsor last edited by

          @michael5r
          Beautiful style!

          1 Reply Last reply Reply Quote 0
          • D
            dazza120 last edited by

            Great job this is what i have been looking for. I you have a dev account already is there anyway you can get that account to generate the token?

            D michael5r 2 Replies Last reply Reply Quote 0
            • D
              dazza120 @dazza120 last edited by

              @dazza120 Done just done a New Oth as from my limited understanding i would have to reauthorise the other devices of that Oth easier to do a new Oth. Anyway this just cost me 3 Magic Mirror modules as this is a must i would love to be able to shrink the text type down as when my Hue lights start going on they clash 😞 BRILIANT MODULE Love it!

              michael5r 1 Reply Last reply Reply Quote 0
              • michael5r
                michael5r Module Developer @dazza120 last edited by

                @dazza120 Run the getToken.sh script in your terminal, and simply skip over the initial steps (where you set up a Nest developer account). It shouldn’t be a problem to use your existing Nest account (I also had one before I started this project).

                1 Reply Last reply Reply Quote 0
                • michael5r
                  michael5r Module Developer @dazza120 last edited by

                  @dazza120 said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:

                  @dazza120 Done just done a New Oth as from my limited understanding i would have to reauthorise the other devices of that Oth easier to do a new Oth. Anyway this just cost me 3 Magic Mirror modules as this is a must i would love to be able to shrink the text type down as when my Hue lights start going on they clash 😞 BRILIANT MODULE Love it!

                  Thank you 🙂

                  Which texts are you trying to shrink?

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dazza120 @michael5r last edited by

                    @michael5r hi once again great module, it’s not really the text. I’m on the list display, it goes across the whole screen, I would at least like it to be reduced to the middle/centre so it leaves the weather display on the right that way when my hue lights turn on it doesn’t clash an two when I get more nest protects it doesn’t get into trouble does that make any sense? Once again thanks I saw other modules and I was like nope, saw yours and I had to do it lol 😂

                    michael5r 1 Reply Last reply Reply Quote 0
                    • michael5r
                      michael5r Module Developer @dazza120 last edited by

                      @dazza120 said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:

                      @michael5r hi once again great module, it’s not really the text. I’m on the list display, it goes across the whole screen, I would at least like it to be reduced to the middle/centre so it leaves the weather display on the right that way when my hue lights turn on it doesn’t clash an two when I get more nest protects it doesn’t get into trouble does that make any sense? Once again thanks I saw other modules and I was like nope, saw yours and I had to do it lol 😂

                      Sure - that’s not a problem. For the list view, I’m just using the default xsmall size (which gives you a font-size of 15px) from Magic Mirror, but it’s easy to change.

                      If you wish to set it to a smaller size, try adding this to your custom.css file in Magic Mirror:

                      .mmm-nest-status .nest-list.xsmall {
                          font-size: 12px;
                          line-height: 16px;
                      }
                      

                      You can change the font-size and line-height to whatever size you want in order for it to fit.

                      If that’s still not small enough and you have long names for your Nest Protects, try adding this:

                      .mmm-nest-status .nest-list.xsmall .name {
                          max-width: 100px;
                          white-space: nowrap;
                          overflow: hidden;
                          text-overflow: ellipsis;
                      }
                      

                      Again, you can change the 100px to whatever looks nice on your mirror.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dazza120 @michael5r last edited by

                        @michael5r cheers but its not that everything else is solid you know where you have the smoke co2 and temp for the themostat on the right i just need that whole thing pulling a little to the left towards the names of the devices, im failing at explaining myself lol

                        michael5r 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 1 / 7
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy