• 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

Scheduled Pinned Locked Moved Productivity
198 Posts 45 Posters 204.2k Views 45 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.
  • R Offline
    redink
    last edited by Jun 23, 2018, 10:28 PM

    I am having problems with my mirror, and I can’t figure out which module is the culprit. In my logs, I am seeing something related to this one, so maybe someone could help me out. Any ideas what the error below means?

    0|mm       | Whoops! There was an uncaught exception...
    0|mm       | TypeError: Cannot read property 'replace' of null
    0|mm       |     at new Calendar (/home/pi/MagicMirror/modules/MMM-CalendarExt/components/Calendar.js:38:32)
    0|mm       |     at Calendars.registerCalendar (/home/pi/MagicMirror/modules/MMM-CalendarExt/components/Calendars.js:37:18)
    0|mm       |     at Class.cmd_ADD_CALENDAR (/home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js:45:20)
    0|mm       |     at Class.socketNotificationReceived (/home/pi/MagicMirror/modules/MMM-CalendarExt/node_helper.js:36:14)
    0|mm       |     at Socket. (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:113:11)
    0|mm       |     at emitTwo (events.js:125:13)
    0|mm       |     at Socket.emit (events.js:213:7)
    0|mm       |     at /home/pi/MagicMirror/node_modules/socket.io/lib/socket.js:528:12
    0|mm       |     at _combinedTickCallback (internal/process/next_tick.js:131:7)
    0|mm       |     at process._tickCallback (internal/process/next_tick.js:180:9)
    0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    
    1 Reply Last reply Reply Quote 0
    • V Offline
      Vauxdvihl
      last edited by Sep 2, 2018, 8:22 PM

      @Sean
      I have done an update from your module.
      But know the view of my “bank holidays” does not work anymore (the google calender dates are still working fine)
      Can it be that there is some problem accordingly.
      I am using via “webcal” these datas from the following adress:
      www.ecoline-media.de/ics/bayern_gf.ics

      Thanks for you help and your great work
      Cheers

      ? 1 Reply Last reply Sep 3, 2018, 6:56 AM Reply Quote 0
      • ? Offline
        A Former User @Vauxdvihl
        last edited by Sep 3, 2018, 6:56 AM

        @vauxdvihl
        In my system, it works.
        0_1535957696844_전체화면_2018__9__3__08_53.png

        Log:

        [CALEXT] http://www.ecoline-media.de/ics/bayern_gf.ics  >> Fetch starts.
        [CALEXT] http://www.ecoline-media.de/ics/bayern_gf.ics  >>
        { state: 'renewed',
          lastFetchedTime: '18-09-03 08:52:25',
          lastFetchedEvents: 8,
          lastFetchedOldEvents: 0,
          lastServedEvents: 8,
          error: null }
        

        Config:

        {
              //disabled:true,
              module: 'MMM-CalendarExt',
              position: "top_left",
              config: {
                system: {
                  show: ['monthly']
                },
                views: {
                  monthly: {
                    counts:6
                  }
                },
                calendars: [
                  {
                    url: "http://www.ecoline-media.de/ics/bayern_gf.ics"
                  }
                ]
              }
            },
        

        Is there any symptom (eg. error logs) for your issue?

        1 Reply Last reply Reply Quote 0
        • V Offline
          Vauxdvihl
          last edited by Sep 8, 2018, 7:14 AM

          @Sean
          It is strange
          I have copied the file to the system

          Log:

          [CALEXT] http://localhost:8080/modules/bayern_gf.ics  >> 
          0|mm       | { state: 'renewed',
          0|mm       |   lastFetchedTime: '18-09-08 09:07:31',
          0|mm       |   lastFetchedEvents: 17,
          0|mm       |   lastFetchedOldEvents: 0,
          0|mm       |   lastServedEvents: 17,
          0|mm       |   error: null }
          
          

          Config:

          calendars: [
          				  {
          					name: "Ferien Bayern",
          					url: "http://localhost:8080/modules/bayern_gf.ics",
          					styleName: "style1",
          					symbol: 'de@em',
          				    maxEntries: 50,
          					maxDays:365,
          					interval: 24*60*60*1000,
          				  },
          

          But the module will not show the datas in the calendar.
          Other google calendars are shown

          Any idea?

          Thank

          ? 1 Reply Last reply Sep 8, 2018, 8:58 AM Reply Quote 0
          • ? Offline
            A Former User @Vauxdvihl
            last edited by Sep 8, 2018, 8:58 AM

            @vauxdvihl
            Show me the full config of this module.

            1 Reply Last reply Reply Quote 0
            • V Offline
              Vauxdvihl
              last edited by Sep 8, 2018, 12:01 PM

              @Sean
              Here u r

              Thanks

              {
              				module: 'MMM-CalendarExt',
              				position: "lower_third", //anywhere. It is not related to real position of view
              				config: { // Read below
              				system: {
              				  show: [/*'current','upcoming',*/'weeks'],
              				  locale: 'de', //when omitted, default value would be your system default locale by moment.js
              				  showEmptyView: 0,
              				  fullDayEventLocalize: 1,
              				  redrawInterval: 30*60*1000, //minimum 60000
              				  useProfileConfig: 0,
              				  startProfile: ''
              				},
              				
              				 views: {
              						current: {
              						  position: "top_center",
              						  title: "Heute",
              						  limit: 2,
              						},
              						upcoming: {
              						  position: "top_center",
              						  title: "Demnächst",
              						  limit: 2,
              						},
              						weeks: {
              						  position: "bottom_bar",
              						  title: "Überblick",
              						  counts: 2,
              						}
              					  },
              		  calendars: [
              				  {
              					name: "Ferien Bayern",
              					url: "http://localhost:8080/modules/bayern_gf.ics",
              					styleName: "style1",
              					symbol: 'de@em',
              				    maxEntries: 50,
              					maxDays:365,
              					interval: 24*60*60*1000,
              				  },
              				 {
              					name: "Müllabfuhr",
              					url: "http://localhost:8080/modules/abfallkalender.ics",
              					classPattern: [["/Gelber Sack/g", "style7"], ["/Restmülltonne/g", "style18"], ["/Biotonne/g", "style20"],["/Papiertonne/g", "style5"],["/Problemabfälle/g", "style1"]],
              					symbol: 'put_litter_in_its_place@em',
              					maxEntries: 50,
              					maxDays:365,
              					interval: 24*60*60*1000,
              				  },
              				  {
              					name: "Sascha",
              					url: "https://calendar.google.com/calendar______",
              					styleName: "style19",
              					symbol: 'guitar@em',
              				    maxEntries: 50,
              					maxDays:365,
              					interval: 24*60*60*1000,
              				  },
              				  {
              					name: "Familie Warneke",
              					url: "https://calendar.google.com/calendar______",
              					styleName: "style6",
              					symbol: 'man-woman-boy-boy@em',
              				    maxEntries: 50,
              					maxDays:365,
              					interval: 24*60*60*1000,
              				  },
              				  {
              					name: "Benjamin",
              					url: "https://calendar.google.com/calendar_____",
              					styleName: "style11",
              					symbol: 'bike@em',
              				    maxEntries: 50,
              					maxDays:365,
              					interval: 24*60*60*1000,
              				  },
              				   {
              					name: "Geburtstag",
              					url: "https://calendar.google.com/calendar_____",
              					styleName: "style12",
              					symbol: 'birthday@em',
              				    maxEntries: 50,
              					maxDays:365,
              					interval: 24*60*60*1000,
              				  },
              				  	{
              					name: "Steffi",
              					url: "https://calendar.google.com/calendar______",
              					styleName: "style12",
              					symbol: 'crown@em',
              				    maxEntries: 50,
              					maxDays:365,
              					interval: 24*60*60*1000,
              				  },
              				  	{
              					name: "Elyas",
              					url: "https://calendar.google.com/calendar____",
              					styleName: "style11",
              					symbol: 'baby@em',
              				    maxEntries: 50,
              					maxDays:365,
              					interval: 24*60*60*1000,
              				  },
              				],
              				 },
              
              ? J 2 Replies Last reply Sep 8, 2018, 1:10 PM Reply Quote 0
              • ? Offline
                A Former User @Vauxdvihl
                last edited by Sep 8, 2018, 1:10 PM

                @vauxdvihl
                Hmmm, in my memory of last test, there is no event of Byern holiday in September. Your config would show events in 2 weeks. I think it seems to be normal. Isn’t it?

                1 Reply Last reply Reply Quote 0
                • V Offline
                  Vauxdvihl
                  last edited by Sep 8, 2018, 7:43 PM

                  @Sean
                  Sorry no
                  Currently school is out (summer)
                  Starts again on tuesday next week
                  So there should be an entry called “Sommerferien” in the calendar for this week and for next monday.
                  But i will set it like your request

                  Thanks

                  ? 1 Reply Last reply Sep 10, 2018, 6:59 AM Reply Quote 0
                  • ? Offline
                    A Former User @Vauxdvihl
                    last edited by Sep 10, 2018, 6:59 AM

                    @vauxdvihl I’ve found what was wrong and fixed it. sorry. update and try again.

                    V 1 Reply Last reply Sep 16, 2018, 6:28 PM Reply Quote 0
                    • S Offline
                      SK4018
                      last edited by Sep 12, 2018, 8:34 PM

                      Hi all,
                      stupid question for you guys. How do I update the module? My mirror says I’m behinde two updates. Thanks!

                      ? 1 Reply Last reply Sep 13, 2018, 7:17 AM Reply Quote 0
                      • 1
                      • 2
                      • 7
                      • 8
                      • 9
                      • 10
                      • 11
                      • 19
                      • 20
                      • 9 / 20
                      • First post
                        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