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.

    My 1st MagicMirror2

    Scheduled Pinned Locked Moved Show your Mirror
    21 Posts 10 Posters 22.6k Views 10 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.
    • S Offline
      sithlordhood @Cato
      last edited by

      @Cato It always triggers when it should. The sensor is quite powerful though in that it will work through stud walls… even with the sensitivity at the lowest setting! Not really a problem as the Mirror is downstairs in the house so when people are in the mirror is ‘on’ but come bed time and when the house is unoccupied the mirror turns off.

      1 Reply Last reply Reply Quote 0
      • S Offline
        sithlordhood @djdwayneanthony
        last edited by sithlordhood

        @djdwayneanthony Sure,

        Here is my config.js:

        /* Magic Mirror Config fILE
        *

        • By Michael Teeuw http://michaelteeuw.nl
        • MIT Licensed.
          */

        var config = {
        port: 8080,

        language: 'en',
        timeFormat: 24,
        units: 'metric',
        
        modules: [
        	{
        		module: 'alert',
        		config: {
        			welcome_message: 'Welcome, Magic Mirror boot-up successful!',
        			},
        	},
        	{
        		module: 'MMM-Remote-Control',
        

        //uncomment for url position: ‘top_left’,
        },
        //uncomment {
        //for module: ‘MMM-Snow’,
        //s position: ‘fullscreen_above’,
        //n config: {
        //o flakeCount: 50,
        //w }
        //! },
        {
        module: ‘clock’,
        position: ‘top_left’
        },
        {
        module: ‘calendar’,
        position: ‘top_left’,
        header: ‘The Hoods Calendar’,
        config: {
        maximumEntries: 25,
        maximumNumberOfDays: 365,
        maxTitleLength: 25,
        animationSpeed: 0,
        fadePoint: 1,
        timeFormat: ‘absolute’,
        urgency: 7,
        calendars: [
        {
        symbol: ‘calendar’,
        url: ‘GOOGLE CALENDAR URL’
        }
        ]
        }
        },
        {
        module: ‘currentweather’,
        position: ‘top_right’,
        config: {
        location: ‘Portchester,United Kingdom’,
        locationID: ‘2649692’, //ID from http://www.openweathermap.org
        appid: ‘API KEY’,
        },
        },
        {
        module: ‘weatherforecast’,
        position: ‘top_right’,
        header: ‘Weather Forecast’,
        config: {
        fadePoint: 1,
        location: ‘Portchester,United Kingdom’,
        locationID: ‘2649692’, //ID from http://www.openweathermap.org
        appid: ‘API KEY’,
        showRainAmount: true,
        },
        },
        {
        module: ‘MMM-NetworkScanner’,
        position: ‘top_right’,
        header: ‘Hood Family Mobile Phones’,
        config: {
        devices: [
        { macAddress: “MAC1”, name: " Internet Router", icon: “wifi”},
        { macAddress: “MAC2”, name: “Simon”, icon: “mobile”},
        { macAddress: “MAC3”, name: “Emma”, icon: “mobile”},
        { macAddress: “MAC4”, name: “Jacob”, icon: “mobile”},
        { macAddress: “MAC5”, name: “Rhiannon”, icon: “mobile”},
        ],
        showUnknown: false,
        showOffline: true,
        keepAlive: 240,
        updateInterval: 10,
        },
        },
        {
        module: ‘calendar_monthly’,
        position: ‘top_right’,
        config: {
        fadeSpeed: 2,
        showHeader: ‘true’,
        cssStyle: ‘custom’, //block, clean, slate or custom
        updateDelay: 5,
        },
        },
        {
        module: ‘newsfeed’,
        position: ‘bottom_bar’,
        config: {
        showDescription: true,
        feeds: [
        {
        title: “BBC News”,
        url: “http://feeds.bbci.co.uk/news/rss.xml?edition=uk”
        },
        ],
        showSourceTitle: true,
        showPublishDate: true
        }
        },
        {
        module: ‘MMM-Traffic’,
        position: ‘bottom_bar’,
        classes: ‘dimmed medium’,
        config: {
        api_key: ‘API KEY’,
        mode: ‘driving’,
        origin: ‘ORIGIN’,
        destination: ‘DESTINATION’,
        // arrival_time: ‘0730’, //optional, but needs to be in 24 hour time if used.
        route_name: ‘Simon - Home to Work’,
        changeColor: ‘true’,
        showGreen: ‘true’,
        limitYellow: 15, //Greater than 15% of journey time due to traffic
        limitRed: 30, //Greater than 30% of journey time due to traffic
        traffic_model: ‘pessimistic’,
        interval: 120000 //2 minutes
        },
        },
        {
        module: ‘MMM-Traffic’,
        position: ‘bottom_bar’,
        classes: ‘dimmed medium’, //optional, default is ‘bright medium’, only applies to commute info not r$
        config: {
        api_key: ‘API KEY’,
        mode: ‘driving’,
        origin: ‘ORIGIN’,
        destination: ‘DESTINATION’,
        // arrival_time: ‘0730’, //optional, but needs to be in 24 hour time if used.
        route_name: ‘Emma - Home to Nursery’,
        changeColor: ‘true’,
        showGreen: ‘true’,
        limitYellow: 15, //Greater than 15% of journey time due to traffic
        limitRed: 30, //Greater than 30% of journey time due to traffic
        traffic_model: ‘pessimistic’,
        interval: 120000 //2 minutes
        },
        },
        {
        module: ‘MMM-Traffic’,
        position: ‘bottom_bar’,
        classes: ‘dimmed medium’, //optional, default is ‘bright medium’, only applies to commute info not r$
        config: {
        api_key: ‘API KEY’,
        mode: ‘driving’,
        origin: ‘ORIGIN’,
        destination: ‘DESTINATION’,
        // arrival_time: ‘0730’, //optional, but needs to be in 24 hour time if used.
        route_name: ‘Home to Nana & Grandad Hoods’,
        changeColor: ‘true’,
        showGreen: ‘true’,
        limitYellow: 15, //Greater than 15% of journey time due to traffic
        limitRed: 30, //Greater than 30% of journey time due to traffic
        traffic_model: ‘pessimistic’,
        interval: 120000 //2 minutes
        },
        },
        {
        module: ‘mmm-systemtemperature’,
        position: ‘bottom_bar’,
        classes: ‘small dimmed’,
        config: {
        prependString: 'CPU Temp: ',
        updateInterval: 5000,
        animationSpeed: 0,
        },
        },
        {
        module: ‘updatenotification’,
        position: ‘bottom_bar’,
        },
        ]

        };

        /*************** DO NOT EDIT THE LINE BELOW ***************/
        if (typeof module !== ‘undefined’) {module.exports = config;}
        bolded text


        I have removed api keys, destinations, etc so anything in ITALICS you would require adding your own variable here as described in the modules.

        The Modules I used are:
        alert (default module)
        MMM-Remote-Control
        MMM-Snow (I only configure this ON during the holiday period!)
        clock (default module)
        calendar (default module)
        currentweather (default module)
        weatherforecast (default module)
        MMM-NetworkScanner
        calendar_monthly
        newsfeed (default module)
        MMM-Traffic (used three times, for different commutes)
        mmm-systemtemperature
        updatenotification (default module)

        1 Reply Last reply Reply Quote 2
        • brobergB Offline
          broberg Project Sponsor
          last edited by

          You could remove the margins of the MM body, that way you would utilize more of the screen itself, since you have more mirror on the sides of the monitor :)

          S schlachtkreuzer6S 4 Replies Last reply Reply Quote 0
          • S Offline
            sithlordhood @broberg
            last edited by

            @broberg I will look into this - will give me a little more room. Cheers!

            1 Reply Last reply Reply Quote 0
            • S Offline
              sithlordhood @djdwayneanthony
              last edited by

              @djdwayneanthony Also here is my custom.css - it is only colour changes for the Weather forecast and not my work - copied from someone else’s post here…

              #/*****************************************************

              • Magic Mirror *
              • Custom CSS *
              •                                               *
                
              • By Michael Teeuw http://michaelteeuw.nl *
              • MIT Licensed. *
              •                                               *
                
              • Add any custom CSS below. *
              • Changes to this files will be ignored by GIT. *
                *****************************************************/

              body {
              }

              .dimmed {
              color: #666;
              }

              .normal {
              color: #999’
              }

              .bright {
              color: #fff;
              }

              .brightb {
              color: #55acee;
              }
              .currentweather .wi-sunrise {
              color: #ffd700;
              }
              .currentweather .wi-sunset {
              color: #ffa500;
              }
              .currentweather .wi-day-sunny {
              color: #ffff00;
              }
              .currentweather .wi-night-showers {
              color: #55acee;
              }
              .currentweather .wi-degrees {
              color: #415;
              }
              .currentweather .wi-rain {
              color: #55acee;
              }
              .currentweather .wi-showers {
              color: #55acee;
              }
              .currentweather .wi-night-showers {
              color: #55acee;
              }
              .currentweather .wi-night-alt-cloudy-windy {
              color: #aaa;
              }
              .currentweather .wi-night-cloudy {
              color: #aaa;
              }
              .currentweather .wi-cloudy {
              color: #aaa;
              }
              .currentweather .wi-day-cloudy {
              color: #aaa;
              }
              .currentweather .wi-cloudy {
              color: #aaa;
              }
              .currentweather .wi-cloudy-windy {
              color: #aaa;
              }
              .currentweather .wi-showers {
              color: #55acee;
              }
              .currentweather .wi-thunderstorm {
              color: #ff00ff;
              }
              .currentweather .wi-snow {
              color: #fff;
              }
              .currentweather .wi-fog {
              color: #999;
              }
              .currentweather .wi-night-clear {
              color: #fff;
              }
              .currentweather .wi-night-rain {
              color: #55acee;
              }
              .currentweather .wi-night-thunderstorm {
              color: #ff00ff;
              }
              .currentweather .wi-night-snow {
              color: #fff;
              }

              .weatherforecast .wi-sunrise {
              color: #ffd700;
              }
              .weatherforecast .wi-sunset {
              color: #ffa500;
              }
              .weatherforecast .wi-day-sunny {
              color: #ffff00;
              }
              .weatherforecast .wi-night-showers {
              color: #55acee;
              }
              .weatherforecast .wi-degrees {
              color: #415;
              }
              .weatherforecast .wi-rain {
              color: #55acee;
              }
              .weatherforecast .wi-showers {
              color: #55acee;
              }
              .weatherforecast .wi-night-showers {
              color: #55acee;
              }
              .weatherforecast .wi-night-alt-cloudy-windy {
              color: #aaa;
              }
              .weatherforecast .wi-night-cloudy {
              color: #aaa;
              }
              .weatherforecast .wi-cloudy {
              color: #aaa;
              }
              .weatherforecast .wi-day-cloudy {
              color: #aaa;
              }
              .weatherforecast .wi-cloudy {
              color: #aaa;
              }
              .weatherforecast .wi-cloudy-windy {
              color: #aaa;
              }
              .weatherforecast .wi-showers {
              color: #55acee;
              }
              .weatherforecast .wi-thunderstorm {
              color: #ff00ff;
              }
              .weatherforecast .wi-snow {
              color: #fff;
              }
              .weatherforecast .wi-fog {
              color: #999;
              }
              .weatherforecast .wi-night-clear {
              color: #fff;
              }
              .weatherforecast .wi-night-rain {
              color: #55acee;
              }
              .weatherforecast .wi-night-thunderstorm {
              color: #ff00ff;
              }
              .currentweather .wi-night-snow {
              color: #fff;
              }

              }

              1 Reply Last reply Reply Quote 3
              • D Offline
                djdwayneanthony
                last edited by

                Legend! Will play about with this tomorrow! Thank you, and once again, well done!

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sithlordhood @broberg
                  last edited by

                  This post is deleted!
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sithlordhood @sithlordhood
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sithlordhood @broberg
                      last edited by

                      @broberg Borderless Layout

                      Looks better - plus can get more calendar entries on the screen now! Thanks for the tip.

                      brobergB 1 Reply Last reply Reply Quote 0
                      • brobergB Offline
                        broberg Project Sponsor @sithlordhood
                        last edited by

                        @sithlordhood no probs! glad I could give useful tips :D

                        On my raspberry I also noticed my 1920 background didn’t display correctly, I had black borders around the workspace that cut off some graphics, so I followed this :
                        http://www.opentechguides.com/how-to/article/raspberry-pi/28/raspi-display-setting.html

                        And gained a couple of more pixels :) (ie I got the full 1920 resolution again)

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          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