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: My Custom Smart Mirror.

      @dawees

      You could use MMM-EasyPix as a background module but that is really not its purpose. Just try this module.

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

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Browser access in LAN not working

      @Albert2002

      Add address: "0.0.0.0", to your config:

      var config = {
          port: 8080,
          address: "0.0.0.0",
          ipWhitelist: [], // Set [] to allow all IP addresses.
          language: "en",
          timeFormat: 12,
          units: "imperial",
      
      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: Rotating Module in Fullscreen (100%)

      @userloris

      You might try changing the config position of each module to fullscreen_above, as such:
      position: 'fullscreen_above',

      I don’t know how each module will react to such a setting. You might see some odd formatting in the display of modules that were not designed/intended to be displayed this way.

      posted in Custom CSS
      Mykle1M
      Mykle1
    • RE: My Family Info Board

      @dæmoneyes said in My Family Info Board:

      Woh, imagine if you could have a floating rotating stormtrooper helmet as a module…any creators here who could make that???

      Done! :-)

      Here’s a picture but you can’t see it rotating. Below the picture is a video link.

      0_1549937631024_IMG_1502.JPG

      Video link,

      https://youtu.be/oYNiWt-Zh2Q

      This is done with my MMM-EasyPix module. You can use any animated.gif or mp4 files.

      posted in Show your Mirror
      Mykle1M
      Mykle1
    • RE: Disable ipWhitelist

      @greda

      Try:

      var config = {
      port: 8080,
      address: "0.0.0.0",
      ipWhitelist: [],
      
      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: Module Developer Challenge - I surrender!

      I am happy to report that the module ran for the last 11 hours without a hitch. The visual image shows day and night exactly where it should.

      posted in Development
      Mykle1M
      Mykle1
    • RE: keep running against a wall

      @noiz13 said in keep running against a wall:

      https://www.nu.nl/rss/Algemeen.xml

      Ok, I took a look at this at Peter’s request, so you can thank him. A number of things wrong with this config.

      1. This calendar url fails to load
        https://calendar.google.com/calendar/ical/8tjs1qac4300edu3evdqsh3gp8%40group.calendar.google.com/public/basic.ics

      2. This calendar url:
        https://calendar.google.com/calendar/ical/ferrynoiz%40gmail.com/public/basic.ics

      Only returns this
      0_1516051365022_1.PNG

      1. This newfeed url is not working
        https://www.nu.nl/rss/Algemeen.xml

      2. The author of “rainfc” created the repo in the name of MMM-rainfc. This is a problem because the module files are named “rainfc.js” and “rainfc.css”. So, for now, you can simply rename your MMM-rainfc folder to “rainfc” to coincide with your config.js entry. You can message the author about the error.

      3. the rainfc module loaded once for me with a black and white graph. The very next time I tried to run it I saw the message “NO DATA” and this:
        0_1516052020800_2.PNG

      I highly suspect that the API for this module is having troubles, at least at the moment of my testing.

      1. I have no idea where all those double dashes in your config came from. Those have to go. If you can simply copy and paste you can use this, saved as a js file and named “config.js”
      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "en",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      		module: "rainfc",
      		position: "top_right",
                  	header: "Rain forecast",
      		config: {
      			lat: "52.37",
      			lon: "4.90", 
      			width: 200,
      			height: 150,
      			lineWidth: 2,
      			lineColor: "#e0ffe0",
      			fillColor: "#e0ffe0",
      			maxPower: 300,
      			rainText: "Tot: ",
      			noRainText: "Geen regen tot: ",
      			nrOfTimeLabels: 5 // advised values: 2-5
      		}
      	},
      		{
      			module: "calendar",
      			header: "US Holidaysz",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check-o ",
      						url: "https://calendar.google.com/calendar/ical/ferrynoiz%40gmail.com/public/basic.ics"
      					//	url: "https://calendar.google.com/calendar/ical/8tjs1qac4300edu3evdqsh3gp8%40group.calendar.google.com/public/basic.ics"
      					//	url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
      					}
      				]
      			}
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "New York",
      				locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "YOUR_OPENWEATHER_API_KEY"
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "New York",
      				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "YOUR_OPENWEATHER_API_KEY"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "New York Times",
      					//	url: "https://www.nu.nl/rss/Algemeen.xml",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      
      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: MMM-PIR-Sensor Guide with Edits and Updates

      @StacheEnthusiast

      I like people who write guides! I don’t use a PIR sensor but I do appreciate the time and effort you put in on everyone’s behalf.

      posted in Development
      Mykle1M
      Mykle1
    • RE: Can't view MM page from PC after update [Fixed]

      @FlatPepsi

      This should work, although it whitelists all IP’s

              address: "0.0.0.0",
              port: 8080,
              ipWhitelist: [],
      
      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: Prepping my first build. Care to check my work?

      Or, you can do it the lazy old man’s way. :-)

      Mini power strip (inside mirror frame) your monitor and Pi both plug into and you still have an outlet available for something else. The power strip has an on/off switch which comes in very handy as a power switch for the Pi and only 1 wire comes out of the frame from the power strip.

      Peace!
      0_1516968927810_11.jpg

      posted in Development
      Mykle1M
      Mykle1
    • RE: Not sure what doing wrong :( adding modules

      You had a bunch of syntax problems. Missing } , and ;

      You can compare yours to this if you like, but this should work for you.

      var config = {
      	address: "localhost", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      
      language: "en",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: 'uptimerobot',
      			position: 'top_right',
                  		config: {
      			useColors: true
      			api_key:'u505342-b40737465f0eada9bb8a',
      					}
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: 'MMM-Globe',
      			position: 'lower_third',
      			config: {
      			style: 'geoColor',
      			imageSize: 400,
      			ownImagePath:'',
      			updateInterval: 10*60*1000
      		}
      		},
      		{
      			module: "calendar",
      			header: "UK Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check-o ",
      						url: "webcal://www.calendarlabs.com/ical-calendar/ics/75/UK_Holidays.ics"
      					}
      				]
      			}
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "Spain",
      				locationID: "2514169",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "825910983bae6910153f11c5"
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "UK",
      				locationID: "2514169",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "825910983bae6979766611c5"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "BBC UK",
      						url: "http://feeds.bbci.co.uk/news/video_and_audio/news_front_page/rss.xml?edition=uk"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      		{
      		    module: 'MMM-Hue',
      		    position: 'top_right',
      		    config:{
                      bridgeip: "192.168.1.4",
      		        userid: "V1mkM0KAT2qi2Z0LUIET-UFp47GZpxJyJB1R58j0",
                      colour: true
                  }
      		},
      	]
      
      };
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      

      For future reference, this should help you add modules.

      https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: Change newsfeed title to image/logo?

      @cyberphox said in Change newsfeed title to image/logo?:

      again that might be a limitation of the Pi

      It is

      posted in Development
      Mykle1M
      Mykle1
    • RE: Faster Reload after changing config.js

      @lavolp3

      Control + R will reload the page

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: MMM-NOAA - Another Weather Module

      Editorial

      It dawned on me, after reading through the 154 posts in this topic, that people may not know what they are asking of a developer. Yes, this is an open format, and you’re supposed ask for a module, ask for features, voice your opinion (that’s what I’m doing) etc… But think about it. What seems like a simple request might mean hours (or more) of work for someone who does this for the fun of it. Someone who worked all day and came home to a list of requests. It’s like being married twice. Now, who the hell wants that? :^)

      The beauty of this format is this. You can fork any repo of any module. Now it’s yours! You can make, or attempt to make, any modifications you like. After all, all the work is already done, right?

      I think at this point, if you became stuck with a modification, you could ask for help on how to proceed. I did just that the other day. I worked for 4 days on a problem and could not solve it. It was only then that I asked for help and I felt rewarded knowing that I did all of the work. I was also deeply appreciative of help that was given me.

      Where am I going with this?

      The hell if I know!

      Peace!

      posted in System
      Mykle1M
      Mykle1
    • RE: Needing testers and feedback... and possibly an answer or 2!

      @justjim1220

      @justjim1220

      I can’t help you with the issue you’re having but I will test my ubuntu dev machine.

      First, the config entry in your repo has the module name misspelled.

      module: "MMM-RandomYoutubePlayer",

      needs to be

      module: "MMM-RandomYouTubePlayer",

      And the closing } needs a comma. I only mention this because a new user might not notice this.

      After correcting these, the module works fine on my ubuntu dev machine. It’s going through the playlist. However, there is one error in the dev console.

      Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://localhost:8080').

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: MMM-NOAA - Another Weather Module

      @cowboysdude said in MMM-NOAA - Another Weather Module:

      Thank you @tbbear for ALL the work on this!!! Excellent addition!

      Then I guess everyone should thank him, including me. Thanks Robert! How nice of you to contribute. You rock!

      posted in System
      Mykle1M
      Mykle1
    • RE: Change Compliments

      @dgregory19

      Or, use a remote file (as per the compliments readme) so as not to encumber the config.js file with a lengthy entry.

      posted in Troubleshooting
      Mykle1M
      Mykle1
    • RE: MMM-NOAA - Another Weather Module

      @yawns said in MMM-NOAA - Another Weather Module:

      I did not like the old look, but the new one is very nice. Well done!

      I don’t like that he wrote the most popular module. ;-)

      59.1k views!

      posted in System
      Mykle1M
      Mykle1
    • RE: Integration with Aftership API

      @stephenmelody said in Integration with Aftership API:

      would someone mind building an integration with Aftership? This is a site that allows you to view all of your shipments from multiple carriers in one place and has an API…

      I’ve done what I could for you @stephenmelody. I hope it is, in some small way, satisfactory.

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

      posted in Requests
      Mykle1M
      Mykle1
    • RE: MMM-NOAA - Another Weather Module

      @cowboysdude

      I’d appreciate it if you would stop making this module better and better and let some of us little guys get some air time. ;-)

      https://www.youtube.com/watch?v=_cW4lW_KiIw

      posted in System
      Mykle1M
      Mykle1
    • 1 / 1