• 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 213.9k 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 Feb 19, 2023, 10:15 PM

    @BKeyport
    How can you distinguish? The target team name is included in the title of the event?

    B 1 Reply Last reply Feb 19, 2023, 11:46 PM Reply Quote 0
    • B Offline
      BKeyport Module Developer @MMRIZE
      last edited by Feb 19, 2023, 11:46 PM

      @MMRIZE 🏈 in the title for the one I want, and/or calendar name is “XFL”

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

      S 2 Replies Last reply Feb 20, 2023, 12:56 AM Reply Quote 0
      • S Away
        sdetweil @BKeyport
        last edited by Feb 20, 2023, 12:56 AM

        @BKeyport

        eventFilter: (ev) => {
        	if (ev.title.search('XFL') > -1) {Set color, whatever; }
        	return true
        },
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Feb 20, 2023, 1:45 AM Reply Quote 0
        • B Offline
          BKeyport Module Developer @sdetweil
          last edited by Feb 20, 2023, 1:45 AM

          @sdetweil XFL isn’t in the title - just the calendar name.

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

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @BKeyport
            last edited by Feb 20, 2023, 2:29 AM

            @BKeyport said in MMM-CalendarExt3Agenda:

            in the title for the one I want,

            XFL isn’t in the title

            ???
            which is it,?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Feb 20, 2023, 5:51 AM Reply Quote 0
            • B Offline
              BKeyport Module Developer @sdetweil
              last edited by Feb 20, 2023, 5:51 AM

              @sdetweil finish reading my statement. What’s unique abou that calendar is two things:

              1. In the title, the football emoji. (stripped by a transform)
              2. The calendar name is “XFL”

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

              M 1 Reply Last reply Feb 20, 2023, 10:55 AM Reply Quote 0
              • M Offline
                MMRIZE @BKeyport
                last edited by Feb 20, 2023, 10:55 AM

                @BKeyport
                You may use “calendarSet: [ … ]” in configuration to allow specific calendars only.
                Or you can use “calendarName” property in the transformer function.

                1 Reply Last reply Reply Quote 0
                • L Offline
                  luisestrada @MMRIZE
                  last edited by luisestrada Feb 21, 2023, 9:13 PM Feb 21, 2023, 8:14 PM

                  @MMRIZE Sorry I could not reply sooner.

                  The Tesla module is the module below

                  MMM-TeslaLogger https://github.com/spitzlbergerj/MMM-TeslaLogger

                  I use Teslamate to extract the data from the car.

                  I will send you my calendar code to your email.

                  I also realized the last event (Saturday, Feb 18, in my screenshot) shows in my calendar but not in the agenda, If I take less days it does not show the last event. I did not see the issue when the last day was the 23rd, probably because the event started on the 22nd.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MMRIZE
                    last edited by May 2, 2023, 2:17 PM

                    1.2.0 (2023-04-25)

                    • ADDED: weatherNotification, eventNotification - To get data from 3rd party module which is not compatible with default modules.
                    • ADDED: weatherPayload, eventPayload - To manipulate or to convert received payload itself on time. (e.g. Convert Celcius unit to Fahrenheit unit)
                    • ADDED: Hiding day cell which has no event : onlyEventDays: n
                    • CHANGED : Display whole month events in miniCalendar regardless of agenda showing (despite endDayIndex or onlyEventDays)
                    • CHANGED: Shared library to fix many issues.
                    • CHANGED: Timing of eventFilter and eventTransformer is delayed for better-handling event data after regularized
                    • FIXED : Pooling events with multi-calendar modules’ notification
                    • FIXED: position issue (I hope so…)
                    • FIXED: some typo.
                    • FIXED: flickering for many reasons (logic error to treat notifications)

                    sc

                    B 1 Reply Last reply May 2, 2023, 9:30 PM Reply Quote 0
                    • B Offline
                      BKeyport Module Developer @MMRIZE
                      last edited by May 2, 2023, 9:30 PM

                      @MMRIZE

                      Broke: My install… Nothing is coming up. I’ve attempted removing my custom CSS, which doesn’t help, so I’m figuring it’s something in my config. Here’s one of the 3 instances.

                      Nothing showing up in the logs, which are set for info, log, warn, error, and debug.

                      		{
                      			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("⚾") > -1) {
                      						ev.title = ev.title.replace("⚾️ ","");
                      					}
                      					if (ev.title.search("Bowling") > -1) {
                      						ev.color = 'yellow';
                      					}
                      					if (ev.title.search("🏈") > -1) {
                      						ev.title = ev.title.replace("🏈 ","");
                      					}
                      					return ev
                      				},
                      			},
                      		},
                      

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

                      S 1 Reply Last reply May 2, 2023, 10:17 PM 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