• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

keep running against a wall

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 3 Posters 4.2k Views 2 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer
    last edited by Jan 15, 2018, 9:38 PM

    @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;}
    
    

    Create a working config
    How to add modules

    1 Reply Last reply Reply Quote 3
    • N Offline
      noiz13
      last edited by Jan 16, 2018, 6:59 AM

      thank you this is awesome much appreciated. now i can appropriated old laptop and use it as my test set.

      M 1 Reply Last reply Jan 16, 2018, 12:14 PM Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @noiz13
        last edited by Jan 16, 2018, 12:14 PM

        @noiz13

        Graag gedaan! (I googled that)

        Old laptops are an excellent choice for getting to know the MM software or for driving the mirror itself. In fact, they are all I use these days. They are widely available, relatively inexpensive and have everything you need built right in. I’ve made 2 mirrors using just a laptop. They perform exceptionally well.

        Peace.

        Create a working config
        How to add modules

        N 1 Reply Last reply Jan 17, 2018, 9:36 AM Reply Quote 0
        • N Offline
          noiz13 @Mykle1
          last edited by Jan 17, 2018, 9:36 AM

          @Mykle1 it works thank you for your code now i can learn more.

          regarding the os i have put raspian on the laptop because my thought is that works the best.
          however MM is seeing my laptop as a raspberry 1 witch is incompatible with MM can i use normal debian would that be better?

          M 1 Reply Last reply Jan 17, 2018, 12:17 PM Reply Quote 0
          • M Offline
            Mykle1 Project Sponsor Module Developer @noiz13
            last edited by Jan 17, 2018, 12:17 PM

            @noiz13 said in keep running against a wall:

            can i use normal debian would that be better?

            You sure can. I use ubuntu on my old laptops. It works perfectly for MM.

            Create a working config
            How to add modules

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