• 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.

MMM-CalendarExt cant get the calendar to show

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 8 Posters 13.1k Views 9 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.
  • N Offline
    ninjabreadman @cruunnerr
    last edited by Jan 13, 2018, 9:55 PM

    @cruunnerr Did you try the solution I suggested here? https://forum.magicmirror.builders/topic/6047/calendar-module-won-t-show-all-events/4

    Problem with config or JavaScript? Copy/paste it into JSHint.
    Check out the detailed walkthroughs on install, config, modules, etc.

    1 Reply Last reply Reply Quote 0
    • C Offline
      cruunnerr
      last edited by Jan 14, 2018, 6:59 AM

      Yeah i saw this and tried it. Works great :) Thank you

      1 Reply Last reply Reply Quote 0
      • T Offline
        Turtle
        last edited by Jan 21, 2018, 4:37 AM

        Hello my name is TL and I’m very very very new. I’m just trying to get something to show up and it seems that when I start the MagicMirror that I get all the other modules but the CalendarExt module. For some odd reason I have a feeling I’m missing something rather simple. Below is a copy of my config file and my npm start dev below:.

         *
         * 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: 'MMM-CalendarExt',
        			position: "top_left", //anywhere. It is not related to real position of view
        			config: { // Read below
        			  system:{
        			    show: ['daily'],
        			    locale: '', //when omitted, default value would be your system default locale by moment.js
        			    showEmptyView: 1,
        			    fullDayEventLocalize: 1,
        			    redrawInterval: 30*60*1000, //minimum 60000
        			    useProfileConfig: 0,
          			    startProfile: ''
        			  },
        			  defaultView: {
        			    position: 'bottom_bar',
        			    positionOrder: -1,
        			    overflowRolling: 0,
        			    overflowHeight: 0,
        			    overflowDuration: 2,
        			    timeFormat: 'HH:mm',
        			    dateFormat: "MMM Do",
        		    	    fullDayEventDateFormat: "MMM Do",
        			    ellipsis: 0,
        			    limit:0,
        			    oneLineEvent:0,
        			    replaceTitle:[],
        			    classPattern:[],
        			    classPatternWhere:["title"],
        			    symbolPattern:[],
        			    symbolPatternWhere:["title"]
        			  },
        			  views: {
                                     month: {
        				showWeeks: 1,
        				weeksTitle: 'weeks',
        				weeksFormat: 'wo',
        				weekdayFormat: 'dd',
        				titleFormat : 'D',
        				overTitleFormat : 'MMM D',
        				monthTitleFormat: "MMMM",
        			     },
        			     weeks: {
        				showWeeks: 1,
        				weeksTitle: 'weeks',
        				weeksFormat: 'wo',
        				weekdayFormat: 'dd',
        				titleFormat : 'MMM D',
        				overTitleFormat : 'MMM D',
        				counts: 4,
        			     },
        			     daily: {
        			        direction: 'row',
        			        counts: 5,
        			        titleFormat: "D",
        			        overTitleFormat: "MMM D",
        				subtitleFormat: "ddd",
        			     },
        			     weekly: {
        			        direction: 'row',
        			    	counts: 4,
        			    	titleFormat: "wo",
        			    	overTitleFormat: "gggg wo",
        			    	subtitleFormat: "MMM Do",
        			     },
        			     monthly: {
        			    	direction: 'row',
        			    	counts: 3,
        			    	titleFormat: "MMMM",
        			    	overTitleFormat: "YYYY MMM",
        				subtitleFormat: "YYYY",
          			     },
        			     current: {
        				title: 'Current',
            				useRelative: 1
        			     },
        			     upcoming: {
        				title: 'Upcoming',
            				useRelative: 1
        			     },
        			  },
        		          defaultCalendar: {
        			     profiles: [],
        				views: [],
        				symbol: "",
        				styleName: "",
        				replaceTitle:[],
        				classPattern: [],
        				classPatternWhere: ["title"],
        				symbolPattern: [],
        				symbolPatternWhere: ["title"],
        				maxEntries:50,
        				maxDays:180,
        				interval: 1800000,
        			  },
        			  calendars: [
        			    {
        			      name: "Schooldays of John",
        				url: "https://school.com/schedule.ics",
        				auth: {
        				user:'john',
        				pass:'abcd1234',
        				method:'bearer'
            			  }
        			},
        		        {
        			      name: "US Holiday",
        				url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics",
        				profile: ['daddy'],
        				views: ['month', 'upcoming'],
        				styleName: "style1",
        				symbol: 'us@fi',
        				maxEntries: 50,
        				maxDays:365,
        				interval: 24*60*60*1000,
        			}
        			    
        		],
        			  profileConfigs: {
        			    "Tom" : {},
        		         
        			  }
        			},
        		},
        
        		{
        			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: "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;}
        
        

        Here is my npm start dev:

        pi@raspberrypi:~/MagicMirror $ npm start dev
        npm ERR! Error: ENOENT: no such file or directory, open '/home/pi/MagicMirror/node_modules/dev/package.json'
        npm ERR!     at Error (native)
        npm ERR! If you need help, you may report this *entire* log,
        npm ERR! including the npm and node versions, at:
        npm ERR!     
        
        npm ERR! System Linux 4.9.59-v7+
        npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "start" "dev"
        npm ERR! cwd /home/pi/MagicMirror
        npm ERR! node -v v4.8.2
        npm ERR! npm -v 1.4.21
        npm ERR! path /home/pi/MagicMirror/node_modules/dev/package.json
        npm ERR! syscall open
        npm ERR! code ENOENT
        npm ERR! errno -2
        npm ERR! 
        npm ERR! Additional logging details can be found in:
        npm ERR!     /home/pi/MagicMirror/npm-debug.log
        npm ERR! not ok code 0
        pi@raspberrypi:~/MagicMirror $ 
        

        Thank you.

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