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-MyCalendar

    Scheduled Pinned Locked Moved Utilities
    109 Posts 40 Posters 130.9k Views 38 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.
    • J Offline
      j.e.f.f Project Sponsor Module Developer
      last edited by j.e.f.f

      I worked with @PCPAYN3 over chat to figure out this issue. For anyone else this might help, the problem was as follows:

      The following error came up in the log:
      Error: dates lower than Thu Jan 01 1970 00:00:00 GMT-0500 (EST) are not supported

      A bit of Googling pointed me to this thread:
      https://forum.magicmirror.builders/topic/2208/calendar-shows-no-entries-after-mm-update/29?page=3

      Apparently the problem is that there is an entry in the calendar that has a date prior to Jan 1, 1970. The solution was to edit the following file:

      /home/pi/MagicMirror/node_modules/rrule-alt/lib/rrule.js

      and change the ORDINAL_BASE property on line 56 to an earlier date.

      example, I changed:
      ORDINAL_BASE: new Date(1970, 0, 1),

      to
      ORDINAL_BASE: new Date(1900, 0, 1),

      and then the calendar worked.

      Z B 2 Replies Last reply Reply Quote 3
      • Z Offline
        zzaidi148 @j.e.f.f
        last edited by

        @j.e.f.f Hi Jeff! I love your module and its been easily booting up nicely. However, I tried adding two of my google calendars on it, and as I booted the module it up, it loaded and said no upcoming events. While today I dont have any events, tomorrow I do. I set the max number of days in the future to a huge number but stilll nothing. Any ideas?

        J C 2 Replies Last reply Reply Quote 1
        • J Offline
          j.e.f.f Project Sponsor Module Developer @zzaidi148
          last edited by

          @zzaidi148 Can you confirm that you got your Gmail ICS link by following the instructions here?
          https://www.smsclientreminders.com/how_to_share_your_calendar_with_other_applications#google

          If so, send me a private message and I’ll troubleshoot your config.

          1 Reply Last reply Reply Quote 1
          • B Offline
            bmarofsky @j.e.f.f
            last edited by

            @j.e.f.f Thank You! Spent 3 days trying to figure this out after my SD card corrupted and I had to rebuild my MM.
            (making sure I remember where I store my backup .img)

            1 Reply Last reply Reply Quote 0
            • B Offline
              Buggy
              last edited by

              Hi all. Has someone seen this? Today ist the 4th. The second term is wrong “heute” (today) and the third term is correct “morgen” (tomorrow)
              0_1512379363418_foto1.jpg

              ? 1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User @Buggy
                last edited by

                @Buggy
                I don’t know why creater leave this issue until now, but there is a hot-fix about that.
                https://github.com/jclarke0000/MMM-MyCalendar/issues/3

                B J 2 Replies Last reply Reply Quote 1
                • B Offline
                  Buggy @Guest
                  last edited by

                  @Sean Thank you. I will apply this hot-fix.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @Guest
                    last edited by

                    @Sean I’m currently moving to the UK, so I haven’t had time to fix this. If the hot fix worked for you, then great! I probably won’t get around to addressing this until sometime in the new year.

                    N 1 Reply Last reply Reply Quote 0
                    • N Offline
                      nitram @j.e.f.f
                      last edited by

                      @j.e.f.f Hi all, firstly thanks for this module - it’s fab. I’m having the exact same issue as above with today/tomorrow not working properly. I tried applying the hotfix, but it didn’t seem to work for me (though that was quite a way beyond my skill level so I could have done that wrong!). Has anyone else got this sorted?

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        rrrene
                        last edited by

                        Hello,

                        first of all thanks for the great looking module.
                        Unfortunately I don‘t get it up on my side…

                        It doesnt‘t show anything no matter if I load your example ics or my iCloud calendar Url (is this supposed to work?)

                        Below you can see my module config, maybe someone can help me out :)

                        {
                        		module: "MMM-MyCalendar",
                        		position: "top_left",
                        		config: {
                        			maximumEntries: 6,
                        			calendars: [
                        				{
                        					url: "http://calendarlabs.com/templates/ical/US-Holidays.ics"
                        			}
                        			]
                        		}
                        	},
                        

                        Thanks in advance.

                        Best regards,
                        René

                        H 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 11
                        • 6 / 11
                        • 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