MagicMirror² v2.8.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!


  • Module Developer

    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


  • Project Sponsor Module Developer

    @michael5r

    Nicely done. 👍


  • Project Sponsor

    @michael5r
    Beautiful style!



  • 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?



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


  • Module Developer

    @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).


  • Module Developer

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



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


  • Module Developer

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



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