• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Status - New module for your Nest thermostats and protect smoke detectors!

Scheduled Pinned Locked Moved Utilities
nestthermostatprotectsmoke detector
65 Posts 18 Posters 38.0k Views 18 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.
  • M Offline
    michael5r Module Developer
    last edited by michael5r Dec 28, 2018, 5:55 PM Dec 7, 2018, 4:20 PM

    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:
    [card:michael5r/mmm-nest-status]

    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

    M 1 Reply Last reply Dec 7, 2018, 10:11 PM Reply Quote 6
    • M Offline
      Mykle1 Project Sponsor Module Developer @michael5r
      last edited by Dec 7, 2018, 10:11 PM

      @michael5r

      Nicely done. :thumbsup:

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • R Offline
        rudibarani Project Sponsor
        last edited by Dec 8, 2018, 7:47 PM

        @michael5r
        Beautiful style!

        1 Reply Last reply Reply Quote 0
        • D Offline
          dazza120
          last edited by Dec 10, 2018, 12:38 PM

          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 M 2 Replies Last reply Dec 10, 2018, 5:18 PM Reply Quote 0
          • D Offline
            dazza120 @dazza120
            last edited by Dec 10, 2018, 5:18 PM

            @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!

            M 1 Reply Last reply Dec 10, 2018, 8:21 PM Reply Quote 0
            • M Offline
              michael5r Module Developer @dazza120
              last edited by Dec 10, 2018, 8:19 PM

              @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
              • M Offline
                michael5r Module Developer @dazza120
                last edited by Dec 10, 2018, 8:21 PM

                @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 Dec 10, 2018, 11:10 PM Reply Quote 0
                • D Offline
                  dazza120 @michael5r
                  last edited by Dec 10, 2018, 11:10 PM

                  @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 😂

                  M 1 Reply Last reply Dec 11, 2018, 12:23 AM Reply Quote 0
                  • M Offline
                    michael5r Module Developer @dazza120
                    last edited by Dec 11, 2018, 12:23 AM

                    @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 Dec 11, 2018, 1:01 AM Reply Quote 0
                    • D Offline
                      dazza120 @michael5r
                      last edited by Dec 11, 2018, 1:01 AM

                      @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

                      M 1 Reply Last reply Dec 11, 2018, 2:10 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 1 / 7
                      1 / 7
                      • First post
                        3/65
                        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