MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Problems with MagicMirror modules, Calendar, weather-forecast, newsfeed

    Troubleshooting
    2
    3
    1434
    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.
    • ?
      A Former User last edited by

      Hello,
      I have some Problems with modules at my MagicMirror. Actually I use the default modules but they don’t work as I want.

      At first my Code in config.js

      var config = {
      
      	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: "de",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						url: "url google-Calendar",
      						fetchInterval: "60000",
      						timeFormat: "relative",
      						displaySymbol: "false"
      					},
      					{
      						url: "url 2nd google-Calendar",
      						fetchInterval: "60000",
      						timeFormat: "relative",
      						displaySymbol: "false"
      					}
      				]
      			}
      		},
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "Mering",
      				locationID: "2871813",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "My Appid from openweathermap"
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			config: {
      				location: "Mering",
      				locationID: "2871813",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "My Appid from openweathermap"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_left",
      			config: {
      				feeds: [
      					{
      						title: "Nachrichten",
      						url: "http://www.tagesschau.de/xml/rss2"
      					}
      				],
      				showPublishDate: "false",
      				showSourceTitle: "true",
      				showDescription: "true",
      				updateInterval: "15000"
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      

      My first problem is with the calendar-module
      It doesn’t matter what I use for config-parameter. I alwas get the calendar-symbol in front of the event.

      2nd Problem with weather-forecast.
      A lot of people have problems with this module. At least a lot of people say that it doesn’t show.
      At my program it also doesn’t work. But the currentweather is displayes. It’s the same appid. Also if I comment out the currentweather module the weather-forecast isn’t displayed.
      I also tried other weather-forecast modules but no one worked.

      My last problem is with the newsfed-module.
      The title isn’t displayed. The PublishDate is set “false”, but it’s displayed.

      So, I have a lot of problems with the configuration of the modules and I don’t know what I’m doing wrong.

      I hope anybody can help me with these problems.

      1 Reply Last reply Reply Quote 0
      • pjkoeleman
        pjkoeleman last edited by pjkoeleman

        @Johannes said in Problems with MagicMirror modules, Calendar, weather-forecast, newsfeed:

        First problem, I use MMM-MyCalendar witch has more options for config and is working great. Try this one. And there are errors in your config.sys

        {
        	module: "calendar",
        	position: "top_left",
        	config: {
        		calendars: [
        			{
        				url: "url google-Calendar",
        				fetchInterval: 60000,
        				timeFormat: "relative",
        				displaySymbol: false
        			},
        			{
        				url: "url 2nd google-Calendar",
        				fetchInterval: 60000,
        				timeFormat: "relative",
        				displaySymbol: false
        			}
        		]
        	}
        },
        

        There are problems with Weather forecast, there is work in progress. Link to News Item.

        For your last problem there are some errors in your config.sys. Number and false/true never use “…” or ‘…’

        {
          module: "newsfeed",
        	position: "bottom_left",
        	config: {
        		feeds: [
        			{
        				title: "Nachrichten",
        				url: "http://www.tagesschau.de/xml/rss2"
        			}
        		],
        		showPublishDate: false,
        		showSourceTitle: true,
        		showDescription: true,
        		updateInterval: 15000
        	}
        },
        
        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          Thank you for your answer.
          I’ll remove the quotes at numbers and true/false. I also will try MMM-MyCalendar .

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy