MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. michael5r
    3. Posts
    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
    • RE: Is there a way . . .

      @bkeyport said in Is there a way . . .:

      dang. For some reason, that brings it even tighter to the edges than %. Weird.

      I highly recommend the following for use on the official 7" touchscreen display. Gets you the maximum screen usage.

      (I have a mini-display magic mirror for work.) :)

      body {
      margin: 0px;
      height: calc(100vh - 10px);
      width: calc(100vw - 5px);
      }

      If your margin is 0px, there’s no need to subtract anything from the height and width - they could just be 100vh and 100vw respectively.

      posted in Troubleshooting
      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-TelegramBot : Control MM on Telegram

      This is a great module - I’m adding Telegram support to all my modules shortly :thumbs_up:

      posted in System
      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-Nest-Status - New module for your Nest thermostats and protect smoke detectors!

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

      The modules not update after the recent upgrade ???

      Both the nest-status and nest-cameras modules should be working just fine - what issue are you having?

      Bear in mind that the latest 1.3.0 update added socket notifications for data - which means you will need to restart your MagicMirror application in order for it to receive data, you can’t just reload the browser page (you’ll only have to do this this one time, though).

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

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

      @michael5r

      Could you give an example of how this is added to the config.js? Please and thank you.

      electronOptions: {
          webPreferences: {
              webSecurity: false
          }
      }
      

      Sure - it’s just another object, just like modules:

      0_1544975211760_0b3046c5-0fa1-416a-a1cc-efd9f7065e54-image.png

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

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

      @michael5r

      Is Nest Lock status next on your agenda?

      I’d love to, but, unfortunately, Nest doesn’t provide API access to their security system.

      It seems silly - I mean, at the very least providing the current status (home, home guarding, away guarding) seems like it should be a no-brainer, but for now it’s a no-go.

      posted in Utilities
      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
    • RE: MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!

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

      Love the module. (and I tried them all)

      2 humble requests:

      1. Any way to add a transparency setting to the entire graphic so that an underlying background pic can partially show through? (Can that be done via custom.css?)

      2. Can you add a “initial polling delay” config option? (similar to what is in the weather forecast module). My use case is a vertical monitor where I have two instances of the module loaded. One in top-right (Upstairs) and one in bottom right (Downstairs). Nest recommends polling of not more than once per minute with separate device per hour and token limits. I set up each instance of the module to use a different token, but as you can only set the ‘updateInterval’ it’s a challenge to get the two modules to stagger the calls. (And I think this is why i was getting “null” response displayed after a while… )

      1 observation: when using the “alignment” option, both text and graphics are justified according to the setting. This is OK for “center” and even looks OK for “left”, but it does look odd for “right” where the thermostat graphic itself is flush right of the allocated space (e.g., top-right), but the title text is also right justified (.e.g., Upstairs) and not aligned with the graphic itself. IMHO the text above and below the graphic would look best centered with the graphic, and then the whole block is “aligned” according to the setting chosen.

      Again…great work.

      1. Certainly - add this to your custom.css file and the dial becomes transparent:
      .mmm-nest-status .thermostat .circle {
          background: transparent !important;
      }
      
      .mmm-nest-status .thermostat .dial-classic .dial-circle {
          fill: transparent !important;
      }
      

      The !important means that this will also apply when the thermostat is heating or cooling (eg. it will no longer have the blue or orange background). If you only wish for the grey version of the dial to be transparent, remove the !important.

      If you’re using the classic mode of the thermostat, setting the styles above means you get a nice colored glow when the thermostat is heating or cooling:

      0_1544558664428_8f27c027-ffec-4e95-917f-d92cf4c7148e-image.png

      1. It’s already there - for some reason I just forgot to add it to the documentation. Just add initialLoadDelay with whatever value you want to your configuration. The value is in ms, so if you want a 1 minute delay, set the value to be 60000.

      2. In regards to your observation - that’s a legit bug, thanks for spotting it! The alignment setting should only apply to the graphic itself, not the text inside it. I have pushed an update that fixes it, so if you pull the latest version of the module from github, it should be fixed.

      It’s an interesting usecase you have - I hadn’t even thought about using 2 instances of the module to have separate thermostats displayed on the screen in separate locations.

      The reason you’re getting the null response is because of this:
      https://developers.nest.com/guides/api/data-rate-limits

      (I’ve updated the module to display a more helpful error message when that happens.)

      Anyway … it’s not a good idea to make 2 separate calls to the Nest API to get the data (that gives you even more of a chance to get that null error), so check out the latest version (1.3.0) I just pushed - if you use the same token in both module instances, they’ll only do 1 call to the Nest API and use the sockets to update both thermostats at the same time :thumbs_up:

      Thanks for the comments!

      posted in Utilities
      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
    • 1 / 1