MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. michael5r
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 2
    • Topics 4
    • Posts 77
    • Groups 1

    Posts

    Recent Best Controversial
    • MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!

      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

      posted in Utilities nest thermostat protect smoke detector
      michael5rM
      michael5r
    • RE: One-line switch to enable / disable modules

      I’ve done this in my config.js file:

      const DISABLED = {};
      
      if (RPI_DEV) { // I'm setting this value automatically based on the system
          DISABLED.weather = false;
          DISABLED.clock = false;
          DISABLED.calendar = false;
          DISABLED.tools = false;
          DISABLED.hue = true;
          DISABLED.newsfeed = true;
          DISABLED.nest_cameras = true;
          DISABLED.nest_status = true;
          DISABLED.telegram = true;
          DISABLED.hotword = true;
      } else {
          DISABLED.weather = false;
          DISABLED.clock = false;
          DISABLED.calendar = false;
          DISABLED.tools = false;
          DISABLED.hue = false;
          DISABLED.newsfeed = false;
          DISABLED.nest_cameras = false;
          DISABLED.nest_status = false;
          DISABLED.telegram = false;
          DISABLED.hotword = false;
      }
      

      And then for each module you can do something like this:

      {
          module: 'clock',
          position: 'top_left',
          config: {
              displaySeconds: false,
              displayType: 'digital',
              dateFormat: 'dddd, MMM D, YYYY'
          },
          disabled: DISABLED.clock
      },
      
      posted in Feature Requests
      michael5rM
      michael5r
    • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

      @phideltdexter said in MMM-Hue-Lights - new module for your Philips Hue lights!:

      I also thought about that. I had 2 entertainment areas setup already. One in living room and another generic one. I removed them just to make sure, it removed one duplicate of Living Room, but not the others.

      0_1545258167601_fb9cd85e-ecf5-4baa-b98c-46fe6de8a8e4-image.png

      In addition when I disable all the filters I have a list of groups that takes up almost my entire screen. The majority of which are not in the Hue App, which is why initially I thought it had to be pulling from somewhere else besides the Hue App.

      0_1545257913567_94c5c66c-e72e-4ce5-ab71-c5c8820d0a48-image.png

      Ahhh … I think I know what this is - I think these are multisource groups and lightsources. Give me a minute to come up with a fix that ignores them from the group list.

      posted in Utilities
      michael5rM
      michael5r
    • MMM-Energy-Saver - an easy way to suspend/resume modules based on a PIR sensor.

      Hi,

      Just released a new, small module called mmm-energy-saver.

      This module works in conjunction with MMM-Pir-Sensor to automatically suspend & resume all your modules based on movement detection. Furthermore, this module allows you to specify times when all the modules are suspended and your HDMI-connected screen is turned off as well.

      Please note that the movement detection will not work unless you have the MMM-Pir-Sensor module installed (and working).

      By design, this module has fairly limited functionality - which is nice because it makes it very easy to set up & use. If you, however, want a lot more control over the individual modules including setting specific timers based on days or showing alerts, I’d recommend checking out the MMM-ModuleScheduler module instead.

      Anyway, check out the new module here:
      [card:michael5r/mmm-energy-saver]

      posted in System
      michael5rM
      michael5r
    • RE: One-line switch to enable / disable modules

      @sebi76 No, it needs to be before that.

      Place it at the top of the file, before this line:

      var config = {
      
      posted in Feature Requests
      michael5rM
      michael5r
    • RE: MMM-DarkSkyForecast - Yet ANOTHER weather module

      Great module - I really liked the fact that you had everything classed out, so it was super easy to manipulate the UI without having to screw with your JS.

      Looks very nice on my mirror:

      0_1544242929790_0921efcf-1970-4d02-9783-d59a612322b1-image.png

      posted in Utilities
      michael5rM
      michael5r
    • RE: Updated to MM v2.6.0 now all I get is only a black Electron screen...

      In case someone else has this problem, instead of rebooting just run the following in your terminal:

      kill -9 $(lsof -t -i :8080)
      

      That’ll kill the current process on port 8080.

      posted in Troubleshooting
      michael5rM
      michael5r
    • RE: One-line switch to enable / disable modules

      @sebi76 Your syntax is wrong - you have this:

      const DISABLED = {};
         
          DISABLED.clock = false;
      
      },
      

      It should just be this:

      const DISABLED = {};
      DISABLED.clock = false;
      

      It’s that last }, that’s breaking your code.

      posted in Feature Requests
      michael5rM
      michael5r
    • RE: MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!

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

      @michael5r Hi yeah thats what i mean but that has shifted it further to the right and only the Nest protect battery stuff i need to move it in the opposite direction finally figure how to take a screen capture lol here is what i mean hue status lower right, the more bulbs you have the worse it will get as it moves up when bulbs are turned on! PS speeds aren’t this slow changed the config file for the speed test and it knocked of a zero so it was a 4 second test lol 0_1544518147439_2018-12-11-084242_1824x984_scrot.png

      It looks like the module is in the middle_center or bottom_bar position, though - which is why it it takes up the entire width of the page. Shouldn’t it be using bottom_left?

      posted in Utilities
      michael5rM
      michael5r
    • MMM-dropbox - new module to show Dropbox photos on your mirror!

      Hi,

      Just wanted to share a new module I published recently - it’s called mmm-dropbox and allows you to grab images from a Dropbox folder, have them automatically scaled down and displayed in 1 or more rows on your mirror.

      As I also point out in the Read Me this is a module with a pretty specific focus - it does exactly what I describe above (and does it well), but it doesn’t support stuff like videos, setting a Dropbox image as the background of your mirror, displaying information about the image, etc. I built this for my wife & this is what she wanted - but, hey, there’s no reason you can’t use it on your mirror as well!

      Here’s the repo:
      https://github.com/michael5r/mmm-dropbox

      And here’s a screenshot of what it looks like on the mirror with the default configuration:

      image

      Enjoy!

      posted in Entertainment
      michael5rM
      michael5r
    • RE: Troubles updating to 2.6.0

      Your version of npm is way too old - install the latest version through the terminal:
      sudo npm install -g npm

      posted in Troubleshooting
      michael5rM
      michael5r
    • RE: MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!

      Btw, for those of you with Nest cameras as well, I’ve just published a new module called mmm-nest-cameras which shows your camera streams on the mirror as well.

      When both of my Nest modules are installed on the same mirror and you use the same Nest token for both, they’ll share data streams to avoid unnecessarily pinging the Nest API.

      Check it out here:
      [card:michael5r/mmm-nest-cameras]

      posted in Utilities
      michael5rM
      michael5r
    • MMM-Hue-Lights - new module for your Philips Hue lights!

      Hi there,

      Just released another new MM module - this one is mmm-hue-lights and shows the current status of your Philips hue lights and light groups on your magic mirror. It’s a nice way to check whether you forgot to turn the lights on or off :)

      Just like my Nest modules, you have multiple view options and designs, so hopefully you can find a version that looks good on your particular mirror.

      Check it out here:
      [card:michael5r/mmm-hue-lights]

      The read me has examples of what it looks like in all the states & modes, but here’s a couple of representative screenshots:

      image

      image

      image

      Enjoy!


      UPDATES

      12-18-2018: Version 1.1.0
      This adds a hideFilter option which allows you to filter out lights and light groups you don’t want displayed. It’s the opposite of the displayFilter option.

      12-19-2018: Version 1.2.0
      When viewing groups, this now only shows groups with a type of room.

      12-27-2018: Version 1.3.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.3.1
      Changes motionSleep to tie into the regular suspend and resume functions exposed by MM

      posted in Utilities
      michael5rM
      michael5r
    • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

      @dazza120 said in MMM-Hue-Lights - new module for your Philips Hue lights!:

      @michael5r ohhhhhh! ***** now your showing off, your making me get all your modules lol, that looks good that will compliment your nest muddle perfectly! Thank you Sir!!!

      You’re very welcome - I’m basically just building stuff that I need for my own mirrors :)

      posted in Utilities
      michael5rM
      michael5r
    • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

      @dazza120 said in MMM-Hue-Lights - new module for your Philips Hue lights!:

      Hi is it possible to do a hide light or group that you don’t want to be seen rather than adding all the ones you have? As my hue stuff is in its infancy and it’s always having more bulbs added I would rather that it populated new bulbs rather than input the name in the model, I don’t even know if this is possible with your module? But it’s staying on my mirror thanks again for a beautiful module 👌🏾

      There wasn’t the option to do so previously, but there is now.

      If you pull the latest version of the module, you’ll find a new setting called hideFilter. It works exactly the same way as the displayFilter setting, but in reverse - any names you add to hideFilter will be hidden on your mirror.

      Like this:

      hideFilter: ['living room'],
      

      Any lights or light groups named living room will now be hidden.

      Check it out and see if it works for you.

      posted in Utilities
      michael5rM
      michael5r
    • RE: MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!

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

      Would you have any way to add the outdoor temperature reading that the Thermostat has?

      Unfortunately, no - the outdoor temperature reading on a Nest thermostat isn’t actually coming from Nest; they send your location data to the Weather Channel (yes, really!) and then show the returned value on the thermostat itself.

      As such, they don’t include the outdoor temperature as part of their API data.

      posted in Utilities
      michael5rM
      michael5r
    • 1 / 1