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

Scheduled Pinned Locked Moved Utilities
109 Posts 40 Posters 113.7k 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 @Guest
    last edited by Oct 16, 2017, 1:10 AM

    @PCPAYN3 Two things:

    1. Your config is trying to configure the default calendar module, not MMM-MyCalendar. The config for MMM-MyCalendar looks something like this:
        {
          module: "MMM-MyCalendar",
          position: "top_left",
          classes: "default everyone",
          header: "Upcoming",
          disabled: false,
          config: {
            colored: true,
            maximumNumberOfDays: 30,
            maximumEntries: 5,
            fade: false,
            maxTitleLength: 500,
            useRelativeDates: false,
            dayOfWeekFormat: "dddd",
            timeFormat: "h:mm A",
            dateFormat: "MMMM D",
            joiningWord: "at",
            urgency: 1,
            calendars: [
              {
                url: "https://calendar.google.com/path/to/your/basic.ics",
                color: "#ffb350"
              },
              {
                url: "https://calendar.google.com/path/to/another/basic.ics",
                color: "#ff77d4"
              }
            ]
          }
        },    
    
    1. You should delete your post above. It contains your private ICS link – this is what I meant for you to hide when I mentioned it above – as well as you app id for the weather module. That’s all information you should keep secret, and edit out before you post your config in the forum.
    ? 1 Reply Last reply Oct 16, 2017, 3:47 PM Reply Quote 0
    • ? Offline
      A Former User @j.e.f.f
      last edited by Oct 16, 2017, 3:47 PM

      @j.e.f.f Hi jeff I have replaced the code as you said in the config file and still nothing :/ its showing the clock but nothing else on the page. Not even the loading anymore. Any ideas? & I think ive deleted my other post, it shows as greyed out now.

      J 1 Reply Last reply Oct 16, 2017, 3:52 PM Reply Quote 0
      • J Offline
        j.e.f.f Project Sponsor Module Developer @Guest
        last edited by Oct 16, 2017, 3:52 PM

        @PCPAYN3 Can you confirm you installed the module by following these steps:

        1. Navigate to the MagicMirror/modules directory
        2. Execute git clone https://github.com/jclarke0000/MMM-MyCalendar.git
        3. Add the relevant configuration to config.js
        4. Restart Magic Mirror

        And yes, your post shows as deleted.

        ? 3 Replies Last reply Oct 16, 2017, 3:56 PM Reply Quote 0
        • ? Offline
          A Former User @j.e.f.f
          last edited by Oct 16, 2017, 3:56 PM

          @j.e.f.f Thanks @j-e-f-f no I didn’t do that, I have done it now. And trying it out. Sorry im new to this, and really appreciate your help.

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @j.e.f.f
            last edited by Oct 16, 2017, 4:01 PM

            @j.e.f.f After reboot it is now showing the second calendar i entered for UK holidays but not the top one which was my google calendar :( any ideas?

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @j.e.f.f
              last edited by Oct 16, 2017, 5:23 PM

              @j.e.f.f Sorry to keep bothering you, i have everything on the screen now apart from the google calender. Can i embed in as an iframe on the html page? As i am familiar with html.

              J 1 Reply Last reply Oct 16, 2017, 6:32 PM Reply Quote 0
              • J Offline
                j.e.f.f Project Sponsor Module Developer @Guest
                last edited by Oct 16, 2017, 6:32 PM

                @PCPAYN3 google calendar should work – I’m using two separate google calendars with mine.

                You can confirm that you got your ics link by following these instructions?
                0_1508178715895_255553ea-d9fd-4b86-876a-b77aa2374741-image.png

                (full instructions here: https://www.smsclientreminders.com/how_to_share_your_calendar_with_other_applications#google)

                ? 1 Reply Last reply Oct 16, 2017, 7:08 PM Reply Quote 0
                • ? Offline
                  A Former User @j.e.f.f
                  last edited by Oct 16, 2017, 7:08 PM

                  @j.e.f.f Hi jeff yes thats what ive done and got that link and still not showing. Do i edit the module to show this link? Or in the config file? As i tried to also edit the .js file in the MMM-Calendar module but it said permission denied when saving.

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by Oct 16, 2017, 7:18 PM

                    As I know, private calendar sharing works only in Google Calendar. If you want to use calendar in other application, you should use public calendar. (I might be wrong.)

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      j.e.f.f Project Sponsor Module Developer
                      last edited by j.e.f.f Oct 17, 2017, 6:42 PM Oct 17, 2017, 6:41 PM

                      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 Nov 2, 2017, 1:34 AM Reply Quote 3
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 10
                      • 11
                      • 5 / 11
                      5 / 11
                      • First post
                        44/109
                        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