• 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
  1. Home
  2. michael5r
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

michael5r

@michael5r

Module Developer

Ex-founder of Cuban Council, Frontend Architect at Fiverr, maker of websites, reader of comic books, crafter of wood.

23
Reputation
1.5k
Profile views
77
Posts
2
Followers
0
Following
Joined Dec 7, 2018, 3:52 PM
Last Online Mar 25, 2022, 4:42 PM
Website www.fiverr.com
Location Vernon Hills, IL

michael5r Unfollow Follow
Module Developer

Best posts made by michael5r

  • 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
    M
    michael5r
    Dec 7, 2018, 4:20 PM
  • 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
    M
    michael5r
    Dec 23, 2018, 6:19 PM
  • 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
    M
    michael5r
    Dec 19, 2018, 10:30 PM
  • 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
    M
    michael5r
    Dec 28, 2018, 10:32 PM
  • 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
    M
    michael5r
    Dec 24, 2018, 3:45 PM
  • 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
    M
    michael5r
    Dec 8, 2018, 4:23 AM
  • 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
    M
    michael5r
    Jan 3, 2019, 7:29 PM
  • 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
    M
    michael5r
    Dec 24, 2018, 7:42 PM
  • 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
    M
    michael5r
    Dec 11, 2018, 2:25 PM
  • 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
    M
    michael5r
    Dec 20, 2018, 7:17 PM

Latest posts made by michael5r

  • RE: electron-rebuild and MagicMirror v2.18 (and more)

    Thanks for doing this - much appreciated!

    posted in Development
    M
    michael5r
    Mar 16, 2022, 1:57 PM
  • RE: MMM-dropbox - new module to show Dropbox photos on your mirror!

    Hi guys - there’s a new version of the module out that should fix the Dropbox API issue. Please try it out and see if it works for you.

    posted in Entertainment
    M
    michael5r
    Mar 15, 2022, 11:52 PM
  • RE: MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!

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

    @michael5r
    Is this the same token obtained doing this .??

    https://github.com/USA-RedDragon/badnest

    No - the token my module needs is the old “Works with Nest API”-token.

    posted in Utilities
    M
    michael5r
    May 25, 2020, 9:26 PM
  • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

    @jasim Sorry, I don’t speak German - can you please post in english?

    posted in Utilities
    M
    michael5r
    May 21, 2020, 5:26 PM
  • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

    @jasim Yeah, but you must have set it up at some time - for instance, I use pm2 on my mirrors, so I can do pm2 stop mm to stop my magic mirror instance.

    posted in Utilities
    M
    michael5r
    May 21, 2020, 5:18 PM
  • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

    @jasim You already have another instance of Magic Mirror running (that’s the EADDRINUSE error) - you’ll need to stop that before running npm start dev. How do you normally start/stop your mirror?

    posted in Utilities
    M
    michael5r
    May 21, 2020, 4:55 PM
  • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

    @jasim You need to be in the folder of your Magic Mirror installation when you run these commands.

    posted in Utilities
    M
    michael5r
    May 21, 2020, 3:57 PM
  • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

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

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

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

    I updated the module and tested it for several hours. The module fails after 45 - 60 minutes (API ERROR) and no longer works.
    And not only that, the entire mirror no longer works.
    After removing the module from the mirror, the mirror works again.

    Can you try running your mirror in dev mode and post some logs?

    Would you tell me what to do, I am a layperson and not a professional.

    Instead of running npm run start in your Magic Mirror folder to start the mirror, try running npm start dev which will open a browser console next to your mirror instance. Then look for any errors (marked in red) in there.

    posted in Utilities
    M
    michael5r
    May 21, 2020, 3:26 PM
  • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

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

    I updated the module and tested it for several hours. The module fails after 45 - 60 minutes (API ERROR) and no longer works.
    And not only that, the entire mirror no longer works.
    After removing the module from the mirror, the mirror works again.

    Can you try running your mirror in dev mode and post some logs?

    posted in Utilities
    M
    michael5r
    May 21, 2020, 1:27 PM
  • RE: MMM-Hue-Lights - new module for your Philips Hue lights!

    I’ve released a new 1.4.0 version of this module that will hopefully help with the refresh issue - it now automatically reschedules an update, no matter whether there’s an error or not. Thanks to @ulrichwisser for pushing this fix.

    Please download the version and see if that solves your issues.

    posted in Utilities
    M
    michael5r
    May 20, 2020, 7:36 PM
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