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

    Posts

    Recent Best Controversial
    • RE: -=]!Show Your Module Setup![=-

      @akhil said in -=]!Show Your Module Setup![=-:

      could u please post your code ,it looks great bro,good job

      How many mirrors are going to wind up looking like mine now? ;-)

      var config = {
      	port: 8080,
      	ipWhitelist: [], 
      
      	language: 'en',
      	timeFormat: 12,
      	units: 'imperial',
      
      	modules: [
      		{
      			module: 'helloworld',
      			position: 'top_bar',	// This can be any of the regions.
      			classes: 'small bright',
      			config: {
      			text: 'Bottle Pop welcomes you to his very own Magic Mirror! You could have one if you were brilliant and talented and cool like him!'
      		}
      		},
      		{
      			module: 'updatenotification',
      			position: 'top_bar',	// This can be any of the regions.
      			config: {
      			updateInterval: 600000 // (10 minutes)
      		}
      		},
      		{
                  module: 'motiondetector',
                  config: {
                  timeout: 600000 // time in milliseconds (10 minutes) to switch off after last movement is detected.
              }
              },
      		{
      			module: 'MMM-Remote-Control',
      			position: 'lower_third'
      		},
      		{
      			module: 'compliments',
      			position: 'lower_third'
      		},
      		{
      			module: 'planetrise',
      			position: 'lower_third',	// This can be any of the regions.
      			// header: 'Join pop in looking at the heavens through his telescope',
              	config: {
      				latitude: 12.345678,   // Place the latitude and longitude of your mirror
                  	longitude: -12.345678,   // Place the latitude and longitude of your mirror
                  	bodies: {'Sun': '☉',
                          	'Moon': '☽',
                          	'Mercury': '☿',
                          	'Venus': '♀',
                          	'Mars': '♂',
                          	'Jupiter': '♃',
                          	'Saturn': '♄',
                  	}
              	}
      		},
      		{
      			module: 'alert',
      			config: {
      			timer: 3500,
      			effect: 'jelly', // Possible values: scale slide genie jelly flip exploader bouncyflip
      			alert_effect: 'flip', // Same as above
      			position: 'middle_center',
      		}
      		},
      		{
      			module: 'MMM-SimpleLogo',
      			position: 'bottom_left',	// This can be any of the regions.
      			fileUrl: "modules/MMM-SimpleLogo/public/yes.jpg",
      			config: {
      			width: "260px",
      		}
      		},
      		{
      			module: 'MMM-SimpleLogo',
      			position: 'bottom_right',	// This can be any of the regions.
      			config: {
      			width: "260px",
      			fileUrl: "modules/MMM-SimpleLogo/public/starship.jpg",
      			}
      		},
      		{
      			module: 'MMM-Globe',
      			position: 'bottom_center',
      			config: {
      			style: 'natColor', // natColor, geoColor, airMass, fullBand, europeDiscNat, europeDiscSnow, centralAmericaDiscNat
      			imageSize: 175,
      			updateInterval: 10*60*1000
      		}
      		},
      		{
      			module: 'clock',
      			position: 'top_center'
      		},
      		{
      			module: 'calendar',
      			position: 'top_left',
      			config: {
      			urgency: 0,
      			getRelative: 0,
      			fadePoint: 0.25, // Start on 1/4th of the list.
      				calendars: [
      					{
      						symbol: 'calendar-check-o ',
      						url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
      					},
      					{	// YOU GET THE FOLLOWING URL FROM YOUR GOOGLE CALENDAR PAGE
      						url: 'https://calendar.google.com/calendar/ical/xxxxxxxxxxxxxxxxxxxxx/private-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics'
      					},
      				],
      			}
      		},
      		{
                  module: 'calendar_monthly',
                  position: 'top_left',
                  config: {
                  showHeader: false,
      			cssStyle: 'custom', // block, clean, custom, (slate is for no mirror)
      			updateDelay: 5 // 5 secs default
              }
              },
      		{
      			module: 'MMM-SystemStats',
      			position: 'top_left', // This can be any of the regions.
      			classes: 'small bright', // Add your own styling. Optional.
      			config: {
      			updateInterval: 10000,
      			animationSpeed: 0,
              }
          	},
      		{
              	module: 'MMM-NetworkScanner',
              	position: 'top_left', 
              	config: {
                  devices: [
                      { ipAddress: "192.168.1.2", name: "Dove", icon: "medkit"},
                      { ipAddress: "192.168.1.8", name: "BottlePop", icon: "globe"},
                      { ipAddress: "192.168.1.11", name: "Donna", icon: "venus"},
      				{ ipAddress: "192.168.1.10", name: "Nikki", icon: "coffee"},
      				{ ipAddress: "192.168.1.7", name: "Jason", icon: "fire-extinguisher"},
      				{ ipAddress: "192.168.1.18", name: "MJD", icon: "child"}
                      	 ],
                  	showUnknown: false,
                  	showOffline: true,
      				showLastSeen: false,
                  	keepAlive: 1200, // in seconds (20 min)
                  	updateInterval: 30, // in seconds
                  	residents: []
      		}        
       		},
      		{
          		module: 'MMM-WunderGround', // Just for current weather w/css entry
          		position: 'top_center',
          		config: {
              	apikey: 'YOUR API KEY GOES HERE', // private; don't share!
              	pws: 'pws:KNYNEWYO103', // Richmondtown Weather Station - Just around the corner. Very Cool!
      			currentweather: 1,
              	coloricon: true,
      			animationSpeed: 5000,
          		roundTmpDecs: 0,
          		UseCardinals: 1,
      			windunits: "mph", // bft or mph
      		}
      		},
      		{
          		module: 'MMM-WunderGround', // Just for forecast w/css entry
          		position: 'top_right',
          		config: {
              	apikey: 'YOUR API KEY GOES HERE', // private; don't share!
              	pws: 'pws:KNYNEWYO103', // Richmondtown Weather Station - Very Cool
      			currentweather: 0,
              	coloricon: true,
              	hourly: '1',
              	fctext: '1',
              	fcdaycount: "10",
              	fcdaystart: "0",
              	hourlyinterval: "2",
              	hourlycount: "1",
      			animationSpeed: 5000,
              	alerttime: 10000,
              	alerttruncatestring: "english:",
          		roundTmpDecs: 0,
          		UseCardinals: 1,
          		layout: "vertical",
      			windunits: "mph",
          		sysstat: "0"
      		}
      		},
      		{
          		module: 'MMM-doomsDay',
          		position: 'top_right', // This can be any of the regions, best results in center regions
          		config: {
              	doomsDay: "2017-04-11 24:00:00", // the end day of the countdown, format is YYYY-MM-DD HH:MM:SS, default is "2018-02-23 24:00:00", recommend that you don't alter the hour, keep it at 24:00:00
              	toWhat: 'Mark B-Day!', // the title of your countdown event
      			present: 'Call Him!',
      			updateInterval: 1 * 3600000,
      			singular: 'more day!', // what it should say when it's only one day left, default is `Day Left`
      			plural: 'more days', // what it should say when it's more days left, default is `Days Left`
      		}
      		},
      		{
      			module: 'camera',
          		position: 'top_right',
          		config: {
      			selfieInterval: 3,  // Time interval in seconds before the photo will be taken.
              	emailConfig: {
                  service: 'iCloud', // Email provider to use to send email with a photo.
                  auth: {
                  user: 'YOUR EMAIL ADDRESS',  // Your email account
                  pass: 'YOUR EMAIL PASSWORD'  // Your password for email account
              }
              }
      		}
      		},
      		{
          		module: 'voicecontrol',
          		position: 'top_right',
          		config: {
              		models: [
                  	{
                      	keyword: "Show Camera",
                      	description: "Say 'Show Camera' to display camera",
                      	file: "showCamera.pmdl",
                      	message: "SHOW_CAMERA"
                  	},
                  	{
                      	keyword: "Hide Camera",
                      	description: "Say 'Hide Camera' to hide camera",
                      	file: "hideCamera.pmdl",
                      	message: "HIDE_CAMERA"
                  	},
                  	{
                      	keyword: "Selfie",
                      	description: "Say 'Selfie' when camera is visible",
                      	file: "selfie.pmdl",
                      	message: "SELFIE"
                  	},
              ],
          }
      },
      		{
      			module: 'newsfeed',
      			position: 'bottom_bar',
      			config: {
      				feeds: [
      					{
      						title: "NASA",
      						url: "https://www.nasa.gov/rss/dyn/solar_system.rss"
      					},
      					{
      						title: "Reuters Science News",
      						url: "http://feeds.reuters.com/reuters/scienceNews"
      					},
      					{
      						title: "New York Times",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					},
      					{
                          	title: "BBC World News",
                          	url: "http://feeds.bbci.co.uk/news/world/us_and_canada/rss.xml"
                      	},
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== 'undefined') {module.exports = config;}
      
      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Best way to display recipe

      @rts58 said in Best way to display recipe:

      Where do the recipes come from?

      http://www.themealdb.com

      Second thought was to save page as an image

      If you were to do this you could use any module that can display an image file. There are several. You could then use one of the voice modules to hide all other modules and display just the module that displays the image

      posted in Development
      Mykle1M
      Mykle1
    • RE: Two Instances in PM2

      @shazglass

      Hey shaz. I’m well, thanks. How are things down under? :-)

      Sounds like you might be in node server only mode, perhaps.

      What happens if you navigate to the MagicMirror folder in your terminal and type npm start? Does the mirror run as expected then?

      Worst case scenario (I think) is you would have to delete PM2 altogether and re-install using the guide from the MM repo. Unless someone has a better idea. (They usually do) :-)

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: Finally finished

      @johnnyboy said in Finally finished:

      Lets hope support for MM lasts eh?

      By then, “you’ll” be the support.

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: MMM-MealViewer

      @cowboysdude

      0_1550373395899_dr-evil-austin-said-no-memes.jpg

      posted in Development
      Mykle1M
      Mykle1
    • RE: Can you help me about this error

      @fonfon said in Can you help me about this error:

      is it the good method ?

      This is how I disable modules without copying and pasting and moving things around. You can simply add disabled: false, at the beginning of all your config.js entries. true will disable the module.

      {
                  disabled: false,
                  module: 'MMM-EventHorizon',
                  position: 'bottom_left',
                  config: {
                      date: "2018-09-17", // (YYYY-MM-DD)  Date timer will end
                      time: "00:01:00", // (HH:MM:SS)    Exact time you want timer to end
                      text1: "Lucy's Birthday", // 2 lines of text during timer
                      text2: "Tempus Fugit", // 2 lines of text during timer
                      endText1: "Lucy is 1 today!", // 2 lines of text when timer ends
                      endText2: "What a big girl!", // 2 lines of text when timer ends
                  }
              },
      
      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: Working on the ole 32"...

      @johnnyboy

      That’s not an icon. That’s a poster!

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Prioritize loading specific module

      @seann

      Dude, cool idea! :thumbsup:

      posted in Development
      Mykle1M
      Mykle1
    • RE: MagicMirror sleep in 5 minutes

      @matimilko

      Fantastic! Now if you would mark the post that solved your issue. :-)

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: Working on the ole 32"...

      @johnnyboy said in Working on the ole 32"...:

      I added in .towards and from - deg and I’m not sure they do anything, but been to busy to try them out again to see if they are relevant or not? everything else works as it should so just change your colors to suit yourself.

      Thank you Mister! :thumbsup_tone2:

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Mmm aurora

      @chassain-0

      Ok, I have added your code to the module and it works nicely. If you want multiple displays of the module you can simply add another config entry.

      {
              disabled: f,
              module: 'MMM-Aurora',
              position: 'top center',
              config: {
                  pole: "sunX", // north, south, solar, coronal or sunX.
                  maxWidth: "55%", // Adjusts size of image
                  updateInterval: 5 * 60 * 1000, // Image source updates about every 10 minutes
                  animationSpeed: 3000 // fade in/out speed. 0 = no fade in/out
            }
         },
              {
                  disabled: f,
                  module: 'MMM-Aurora',
                  position: 'top center',
                  config: {
                      pole: "solar", // north, south, solar, coronal or sunX.
                      maxWidth: "55%", // Adjusts size of image
                      updateInterval: 5 * 60 * 1000, // Image source updates about every 10 minutes
                      animationSpeed: 3000 // fade in/out speed. 0 = no fade in/out
                }
             },
      

      Gets you this:
      0_1573441559550_212.png

      And finally, if you look at the updated readMe, you’ll find a credit in your name. :-)

      git pull in the MMM-Aurora directory or install as per the readMe.

      https://github.com/mykle1/MMM-Aurora

      posted in Development
      Mykle1M
      Mykle1
    • RE: MagicMirror sleep in 5 minutes

      @yawns said in MagicMirror sleep in 5 minutes:

      I did that on behalf of @matimilko

      That’s because you’re awesome! :-)

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: -=]!Show Your Module Setup![=-

      @michael24h said in -=]!Show Your Module Setup![=-:

      that greate x4, can we change font colour in css ?

      Yes, you can change the color and the size

      }
      
      .newsfeed div.light.small.dimmed {
        color: #99F;          /* color for newsfeed **source** */
        font-size: 24px;      /* size for newsfeed **source** */
      }
      

      and, if I’m not mistaken

      }
      
      .newsfeed div.bright.medium.light {
        color: #99F;          /* color for newsfeed **headline** */
        font-size: 24px;      /* size for newsfeed **headline** */
      }
      
      Change the `color:` values and the `font-size:` values
      Please let me know if these work for you
      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Develop module with API

      @rick93

      Give me your email in a private chat message and I’ll send you the fixed files.

      You’re doing well. Don’t worry about making mistakes or being new. Everyone here has, at one time or another, been right where you are. I still struggle with coding. I’m just too old and too stupid to stop trying.

      posted in Development
      Mykle1M
      Mykle1
    • RE: NFL is still in 2017

      Props to the author(s) and the quick fix!

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: -=]!Show Your Module Setup![=-

      @johnnyboy This? Install it like any other module. Easy as Pi

      https://github.com/KirAsh4/calendar_monthly/

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Develop module with API

      @rick93

      Ok, I’ll take a look at it. :-)

      posted in Development
      Mykle1M
      Mykle1
    • RE: Conncting to MM from outside

      @janne

      If that is the case then you can always install an earlier version of MM. I would wait a bit to see if someone else has a solution for you. I’m pretty sure that issue was resolved or a work-around was found. Try doing a forum search for whiteListing.

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: -=]!Show Your Module Setup![=-

      @johnnyboy

      {
      module: 'calendar_monthly',
                      	position: 'top_left',
                      	config: {
                              showHeader: false,
      			cssStyle: 'custom', // block, clean, custom, (slate is for no mirror)
      			updateDelay: 5 // 5 secs default
                      }
                  	},
      

      Thought this might be your next question

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Develop module with API

      Screenshot from 2021-01-01 10-03-14.png

      posted in Development
      Mykle1M
      Mykle1
    • 1 / 1