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

Scheduled Pinned Locked Moved Utilities
192 Posts 27 Posters 214.5k Views 29 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.
  • M Offline
    MMRIZE @BKeyport
    last edited by May 3, 2023, 12:47 AM

    @BKeyport
    I refactored all the duplicated logics in these modules and separate it with sub module named ‘CX3_Shared’.
    That message happens when that submodule is not loaded(with certain reason). Most suspicious thing would be that submodule is not installed properly. Could you check it again?

    https://github.com/MMRIZE/MMM-CalendarExt3Agenda#update-to-120

    B 1 Reply Last reply May 3, 2023, 5:32 PM Reply Quote 0
    • S sdetweil referenced this topic on May 3, 2023, 11:31 AM
    • N Named54 referenced this topic on May 3, 2023, 11:55 AM
    • B Offline
      BKeyport Module Developer @MMRIZE
      last edited by BKeyport May 4, 2023, 1:29 AM May 3, 2023, 5:32 PM

      @MMRIZE Oh, doh! you gave in and had to install a dependancy/submodule! 🤣🤣🤣

      Missed that.

      The "E" in "Javascript" stands for "Easy"

      B 1 Reply Last reply May 4, 2023, 12:58 AM Reply Quote 0
      • B Offline
        BKeyport Module Developer @BKeyport
        last edited by BKeyport May 4, 2023, 1:29 AM May 4, 2023, 12:58 AM

        Doing some clean up work and some things aren’t working.

        The module isn’t updating in my config.

        Here is the configs and details.

        		{
        			module: "MMM-CalendarExt3Agenda", // https://github.com/MMRIZE/MMM-CalendarExt3Agenda
        			position: "top_left",
        			config: {
        				instanceId: "1",
        				showMiniMonthCalendar: false,
        				firstDayOfWeek: 0,
        				startDayIndex: 0,
        				endDayIndex: 99,
        				minimalDaysOfNewYear: 1,
        				animationSpeed: 0,
        				useSymbol: false,
        				useWeather: false,
        				calendarSet: ["Main", "Utility"],
                                        eventTransformer: (ev) => {
        					if (ev.title.search("Bowling") > -1) {
        						ev.color = 'yellow';
        					}
        					return ev
        				},
        			},
        		},
        //top_center
        		{
        			module: "MMM-CalendarExt3Agenda", // https://github.com/MMRIZE/MMM-CalendarExt3Agenda
        			position: "top_center",
        			config: {
        				showMiniMonthCalendar: false,
        				instanceId: "2",
        				firstDayOfWeek: 0,
        				startDayIndex: 0,
        				endDayIndex: 99,
        				minimalDaysOfNewYear: 1,
        				animationSpeed: 0,
        				useSymbol: false,
        				useWeather: false,
        				calendarSet: ["Seahawks", "Sounders", "Bluejays", "Mariners", "Kraken", "Huskies", "XFL", "ARES", "Holdays"],
        				eventTransformer: (ev) => {
        					if (ev.title.search("⚾") > -1) {
        						ev.title = ev.title.replace("⚾","");
        					}
        					if (ev.title.search("🏈") > -1) {
        						ev.title = ev.title.replace("🏈 ","");
        					}
        					return ev
        				},
        			},
        		},
        		{
        			module: "MMM-CalendarExt3Agenda", // https://github.com/MMRIZE/MMM-CalendarExt3Agenda
        			position: "top_center",
        			config: {
        				instanceId: "3",
        				showMiniMonthCalendar: false,
        				firstDayOfWeek: 0,
        				startDayIndex: 0,
        				endDayIndex: 99,
        				minimalDaysOfNewYear: 1,
        				animationSpeed: 0,
        				useSymbol: false,
        				useWeather: false,
        				calendarSet: ["IRS"], 
        			},
        		},
        

        Here’s all the public calendars for testing. My “Main” calendar is a private google calendar.

        // First Calendar
        // Stand in public calendar to protect private data:
        					{ 
        						url: "https://calendar.google.com/calendar/ical/brendan.keyport%40gmail.com/public/basic.ics",
        						name: "Main",
        					},
        					{
        						url: "https://recollect.a.ssl.fastly.net/api/places/BC71002A-F27F-11E8-B5B7-6853A40EAB6C/services/579/events.en-US.ics?client_id=91264B66-7113-11ED-8C28-2101D6C077E5",
        						name: "Utility",
        					},
        // Second Calendar
        					{
        						url: "http://cal.events/VReW45.ics",
        						name: "Seahawks",
        						color: "#69BE28",
        					},
        					{
        						url: "https://calendar.google.com/calendar/ical/3vejg64nfe9hk5odcphufgis14%40group.calendar.google.com/private-ae3d986ef6488a425755baf7198a1c99/basic.ics",
        						name: "Sounders",
        						color: "#69BE28",
        					},
        					{
        						url: "https://calendar.google.com/calendar/ical/mp4efjqgjiq6hphri5ppkkm66k%40group.calendar.google.com/private-81bfdc024de66a7639ac010dfe56263a/basic.ics",
        						name: "Bluejays",
        						color: "#E8291C",
        					},
        					{
        						url: "https://calendar.google.com/calendar/ical/fgl0a1o8duc3quq3mpjlcopk50%40group.calendar.google.com/private-c55f9de420fe504de01c18f263d70fa7/basic.ics",
        						name: "Mariners",
        						color: "#69BE28",
        					},
        					{
        						url: "https://calendar.google.com/calendar/ical/a6fras24hof5ibrk9q1aeg0igg%40group.calendar.google.com/private-147cebc733aab31784e2ab7f18c13cbc/basic.ics",
        						name: "Kraken",
        						color: "#69BE28",
        					},
        					{
        						url: "https://gohuskies.com/calendar.ashx/calendar.ics?sport_id=3",
        						name: "Huskies",
        						color: "#69BE28",
        					},
        					{
        						url: "webcal://calendar.google.com/calendar/ical/d2dba52c05b47583471f0eccbdb79938b9b0d5ef7711298f4c3455fe64ae6ffa%40group.calendar.google.com/public/basic.ics",
        						name: "XFL",
        						color: "#e93b16",
        					},
        					{
        						url: "https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics",
        						name: "Holdays",
        					},
        					{
        						url: "https://calendar.google.com/calendar/ical/futpub9jb1fisumog0u68s9pdc%40group.calendar.google.com/public/basic.ics",
        						name: "ARES",
        						color: "#FF1493",
        					},
        					
        // Third Calendar
        					{
        						url: "https://calendar.google.com/calendar/ical/ufeoastn72l4rcaact44k3iff3pfcun5%40import.calendar.google.com/public/basic.ics",
        						name: "IRS",
        					},
        

        The "E" in "Javascript" stands for "Easy"

        M 1 Reply Last reply May 4, 2023, 7:48 AM Reply Quote 0
        • M Offline
          MMRIZE @BKeyport
          last edited by May 4, 2023, 7:48 AM

          @BKeyport
          6c183bb2-9786-49b3-94e2-d8d41be53a8b-image.png

          This is what I’ve got with your config.
          Is it different with what you want? Tell/Show me what you expected. (AS-IS and TO-BE)

          B 1 Reply Last reply May 4, 2023, 8:00 PM Reply Quote 0
          • B Offline
            BKeyport Module Developer @MMRIZE
            last edited by BKeyport May 4, 2023, 8:38 PM May 4, 2023, 8:00 PM

            @MMRIZE It seems to be loading everything now, but it’s not refreshing with the calendar app. If I add an event, it misses it until it refreshes at the top of the hour. This includes events going “live” - (bold).

            The "E" in "Javascript" stands for "Easy"

            S 1 Reply Last reply May 4, 2023, 8:02 PM Reply Quote 0
            • S Away
              sdetweil @BKeyport
              last edited by May 4, 2023, 8:02 PM

              @BKeyport what is the calendar refresh rate set to ?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply May 4, 2023, 8:03 PM Reply Quote 0
              • B Offline
                BKeyport Module Developer @sdetweil
                last edited by May 4, 2023, 8:03 PM

                @sdetweil

                			module: "calendar", // Built in
                			position: "top_center",
                			config: {
                				animationSpeed: 0,
                				broadcastEvents: true,
                				broadcastPastEvents: true,
                				fetchInterval: 30000,
                				maximumEntries: 99,
                ... 
                

                The "E" in "Javascript" stands for "Easy"

                S 1 Reply Last reply May 4, 2023, 8:03 PM Reply Quote 0
                • S Away
                  sdetweil @BKeyport
                  last edited by sdetweil May 4, 2023, 8:05 PM May 4, 2023, 8:03 PM

                  @BKeyport said in MMM-CalendarExt3Agenda:

                  30000

                  every 30 seconds?

                  default is 300000 ms, 5 minutes

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  B 1 Reply Last reply May 4, 2023, 8:06 PM Reply Quote 0
                  • B Offline
                    BKeyport Module Developer @sdetweil
                    last edited by May 4, 2023, 8:06 PM

                    @sdetweil did I miss a zero there. Damn. Worked fine until this release of MMM-CX3A, tho.

                    The "E" in "Javascript" stands for "Easy"

                    M 1 Reply Last reply May 5, 2023, 7:06 AM Reply Quote 0
                    • M Offline
                      MMRIZE @BKeyport
                      last edited by May 5, 2023, 7:06 AM

                      @BKeyport
                      I changed that logic also, because, with some certain circumstances, the disharmony of refresh schedules of each individual calendars and notifications might make too many refreshing/flickering. So I have to change the job.

                      B 1 Reply Last reply May 5, 2023, 7:15 PM Reply Quote 0
                      • 1
                      • 2
                      • 9
                      • 10
                      • 11
                      • 12
                      • 13
                      • 19
                      • 20
                      • 11 / 20
                      11 / 20
                      • First post
                        103/192
                        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