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.

    Magic Mirror minus the mirror

    Scheduled Pinned Locked Moved General Discussion
    28 Posts 10 Posters 31.1k Views 15 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.
    • J Offline
      jaymichael78
      last edited by

      Nice I am working on it now

      1 Reply Last reply Reply Quote 0
      • B Offline
        billp100
        last edited by

        That was my original purpose of this project. This is where I am at right now, I’m still adding things, and stylizing. Pay no attention to the colors, just practicing css and helping see the different sections.
        I plan on building a frame to mount this to the side panel of my fridge.

        0_1488818805338_InfoDisplay4.jpg

        J M 2 Replies Last reply Reply Quote 3
        • J Offline
          jaymichael78 @billp100
          last edited by

          @billp100 That is awesome. I am just working with the config file. How to you change the icons? Also trying to figure out how to add the electron options in correctly. I need to change the screen size.

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            billp100 @jaymichael78
            last edited by

            @jaymichael78 I’m not home, so I don’t have my config file, but in the config.js under the first calendar module, I added 3 calendars so far, plan on adding 2 more for the other kids, but for each one, you can choose a color and icon from FontAwesome. Just add the config option defaultSymbol and pick your icon. The default one is a calendar icon.

            I was also able to edit the header to color code the names and their calendar, by adding some html style coding.

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jaymichael78 @billp100
              last edited by

              @billp100 That is awesome! I would love to take a look at your config file if you are willing to share. Thanks!

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                billp100 @jaymichael78
                last edited by

                @jaymichael78 When I get home, I will upload the config file

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  jaymichael78 @billp100
                  last edited by

                  @billp100 Thumbs up

                  B 2 Replies Last reply Reply Quote 0
                  • B Offline
                    billp100 @jaymichael78
                    last edited by

                    @jaymichael78 Here you go…

                    /* Magic Mirror Config Sample
                     *
                     * By Michael Teeuw http://michaelteeuw.nl
                     * MIT Licensed.
                     */
                    
                    var config = {
                    	port: 8080,
                    	ipWhitelist: ["192.168.1.18", "::ffff:127.0.0.1", "::1"],
                    
                    	language: 'en',
                    	timeFormat: 12,
                    	units: 'imperial',
                    
                    	modules: [
                    		{
                    			module: 'alert',
                    		},
                    		{
                    			module: 'clock',
                    			position: 'top_left'
                    			
                    		},
                    		{
                    			module: 'calendar_monthly',
                    			position: 'top_left',
                    			config: {
                    				cssStyle:'slate'
                    				}
                    		},
                    		{
                    			module: 'calendar',
                    			header: ' Bill  Janice  Vinny ',
                    			position: 'top_left',
                    			config: {
                    				colored: 'true',
                    				calendars: [
                    					{
                    						symbol: 'male',
                    						url: 'Calendar link',
                    						color:'#4286f4'
                    					},
                    					{
                    						symbol: 'child',
                    						url: 'Calendar link',
                    						color:'#33cc33'
                    					},
                    					{
                    						symbol: 'female',
                    						url: 'Calendar link',
                    						color:'#eb42f4'
                    					}
                    					],
                    				        }
                    		},
                    		{
                    			module: 'calendar',
                    			header: 'Important Dates',
                    			position: 'top_left',
                    			config:{
                    				colored: 'true',
                    				calendars: [
                    					{
                    						symbol: 'users',
                    						url: 'Calendar link',
                    						color: '#ffff00'
                    					},
                    					{	symbol: 'birthday-cake',
                    						url: 'Calendar link',
                    						color: '#b380ff'
                    					}
                    					],
                    					}
                    		},
                    		{
                    			module: 'MMM-Wunderlist',
                    			position: 'bottom_center',
                    			header: 'To-Do List',
                    			config: {
                    				accessToken: 'your access token',
                    				clientID: 'your client id',
                    				lists: ["MM List"]
                    				}
                    		},			
                    		{
                    		
                    			module: 'MMM-WunderGround',
                        			position: 'top_right',
                        			config: {
                            		apikey: 'your api key', // private; don't share!
                            		pws: 'pws:KNYHUNTI41', //culemborg
                            		coloricon: 'true',
                    			hourly: '1',
                            		fctext: '1',
                            		layout: "horizontal",
                    			fcdaycount: "3",
                            		fcdaystart: "0",
                            		hourlyinterval: "3",
                            		hourlycount: "2",
                            		alerttime: 10000,
                            		alerttruncatestring: "english:",
                        			roundTmpDecs: 1,
                        			UseCardinals: 0,
                        			layout: "horizontal",
                        			sysstat: 0
                    		    		}
                    		},
                    		{
                    			module: 'newsfeed',
                    			position: 'bottom_center',
                    			config: {
                    				feeds: [
                    					{
                    						title: "Fox News",
                    						url: "http://feeds.foxnews.com/foxnews/latest?format=xml"
                    					}
                    				],
                    				showSourceTitle: true,
                    				showPublishDate: true
                    			}
                    		},
                    {
                                            module: 'MMM-Traffic',
                                            position: 'bottom_center',
                                            classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
                                            config: {
                                            api_key: 'your api key',
                                            mode: 'driving',
                                            origin: 'starting address',
                                            destination: 'destination address',
                                            route_name: 'nickname',
                                            show_summary: true,
                                            changeColor: true,
                                            showGreen: true,
                                            limitYellow: 5, //Greater than 5% of journey time due to traffic
                                            limitRed: 20, //Greater than 20% of journey time due to traffic
                                            traffic_model: 'pessimistic',
                                            interval: 120000 //2 minutes
                                        		}
                    },
                    {
                    			module: 'MMM-MTA',
                      			position: 'bottom_center',
                      			config: {
                        			sStation: 'DPK',
                        			mtaAPIKey: '9e9374cf6751033431c1f54a4e7576c3' //API KEY needs to be requested from datamine.mta.info
                      },                        
                    },
                    {
                    			module: 'MMM-NHL',
                    			position: 'top_right',
                    			config: {
                    				colored: 'true',
                    				focus_on: [2],
                    				datesToLookAhead: '7',
                    				}
                    },
                    	]
                    
                    };
                    
                    /*************** DO NOT EDIT THE LINE BELOW ***************/
                    if (typeof module !== 'undefined') {module.exports = config;}
                    
                    yawnsY P 2 Replies Last reply Reply Quote 1
                    • B Offline
                      billp100 @jaymichael78
                      last edited by

                      @jaymichael78 Here is the custom css

                      /*****************************************************
                       * 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. *
                       *****************************************************/
                       header {
                       text-transform: uppercase;
                       font-family: "Roboto Condensed";
                       font-size: 20px;
                       font-weight: 300;
                       }
                       body {
                       margin: 30px;
                       position: absolute;
                       height: calc(100%-50px);
                       width: calc(100%-50px);
                       background-image: url('bg1.jpg'); 	
                       backgroung-repeat: no-repeat;
                       background-size: 1920;
                       }
                      
                      .newsfeed, div#module_7_newsfeed {
                       width: 550px;
                       font-size: 12px;
                      }
                      
                      
                      J 1 Reply Last reply Reply Quote 1
                      • yawnsY Offline
                        yawns Moderator @billp100
                        last edited by yawns

                        @billp100
                        Boolean values and numbers should be written without " or ’

                        B 1 Reply Last reply Reply Quote 1
                        • J Offline
                          jaymichael78 @billp100
                          last edited by

                          @billp100 thanks! This really is nice. You did good work. I appreciate you sharing this seeing the two side by side really helps me understand how to manage this better. Big week, will get back fo it this weekend.

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            billp100 @yawns
                            last edited by

                            @yawns Thank you for the clarification. I wasn’t sure why some values needed the " or ', basically if the config file loaded, I counted that as a success

                            @jaymichael78 Thanks for the compliment. Next step is building a frame for it to mount on the fridge. Plus I’ll be still tinkering away at the contents.

                            1 Reply Last reply Reply Quote 0
                            • yawnsY Offline
                              yawns Moderator
                              last edited by

                              Some explanation from @strawberry-3-141

                              'false' is a string and a string always represents the boolean true, so 'test', 'true' and 'false' all become true it doesn’t matter what the content of the string is.

                              There are multiple types:

                              • object {}
                              • array []
                              • number 2, -17 and 3.14
                              • string "I am a string" and 'me too'
                              • boolean true or false
                              1 Reply Last reply Reply Quote 2
                              • ooom416354O Offline
                                ooom416354
                                last edited by

                                @billp100 this is spectacular.

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  cyberphox
                                  last edited by

                                  i use Wunderground weather…why can i not get these fabulous weather icons!
                                  going to compare your CSS and config files! thanks

                                  Full time Dad, DJ and entertainer and lover of technology.

                                  strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                  • strawberry 3.141S Offline
                                    strawberry 3.141 Project Sponsor Module Developer @cyberphox
                                    last edited by

                                    @cyberphox coloricon: true

                                    Please create a github issue if you need help, so I can keep track

                                    C 1 Reply Last reply Reply Quote 1
                                    • C Offline
                                      cyberphox @strawberry 3.141
                                      last edited by

                                      @strawberry-3.141 definitely have that set in my config file. cleared out everything in my custom.css so nothing would interfere…maybe my location doesn’t get pretty realistic icons…sigh

                                      Full time Dad, DJ and entertainer and lover of technology.

                                      yawnsY 1 Reply Last reply Reply Quote 0
                                      • yawnsY Offline
                                        yawns Moderator @cyberphox
                                        last edited by

                                        @cyberphox
                                        Please share your config file

                                        1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          cyberphox
                                          last edited by

                                          Actually I have solved the issue! Anyone else having this problem - I solved it with two words - git pull.

                                          Yup…I i was using an older version of the MMM-WunderGround module…doh!

                                          Full time Dad, DJ and entertainer and lover of technology.

                                          1 Reply Last reply Reply Quote 1
                                          • P Offline
                                            pflodo @billp100
                                            last edited by

                                            @billp100 The photo shows your Calendar module with a header that matches your calendar colours, like a legend, which is great. But how did you do that? It is not reflected in the config you posted, unless I am missing something.

                                            strawberry 3.141S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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