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

    Scheduled Pinned Locked Moved Utilities
    689 Posts 82 Posters 2.8m Views 86 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.
    • luisestradaL Offline
      luisestrada
      last edited by

      My code with the changes based on your feedback (and it seems to be working for now) Thank you!

      //Calendar hidden Module
              {
                  module: "calendar",
                  //position: "top_left",
                  header: "Eventos",
                  config: {
                      broadcastPastEvents: true, // <= IMPORTANT to see past events
                      instanceId: "WeeklyCalendar",
                      calendars: [
                          {
                              url: "URL1",
                              name: "Cal1", // <= RECOMMENDED to assign name
                              color: "#0760d1", // <= RECOMMENDED to assign color
                              symbol: false
                          },
                          {
                              url: "URL2",
                              name: "Cal2", // <= RECOMMENDED to assign name
                              color: "#2a4d56", // rgb(92%, 33%, 55%), // <= RECOMMENDED to assign color
                              symbol: "birthday-cake"
                          },
                          {
                              url: "URL3",
                              name: "Cal3", // <= RECOMMENDED to assign name
                              color: "#333", // rgb(92%, 33%, 55%), // <= RECOMMENDED to assign color
                              symbol: "bank"
                          },
                          {
                              url: "URL4",
                              name: "Cal4", // <= RECOMMENDED to assign name
                              color: "#3f0101", // <= RECOMMENDED to assign color
                              symbol: "flag"
                          },
                          {
                              url: "URL5",
                              name: "Cal5, // <= RECOMMENDED to assign name
                              color: "#765f02", //rgb(58%, 24%, 45%) // <= RECOMMENDED to assign color
                              symbol: "flag"
                          },
                          ],
                  }
              },
      // CX3 Module
              {
                  module: "MMM-CalendarExt3",
                  position: "bottom_bar",
                  title: "Calendario",
                  config: {
                      mode: "week",
                      instanceId: "WeeklyCalendar",
                      locale: 'es-CO',
                      maxEventLines: 3,
                      firstDayOfWeek: 0,
                      weekIndex: 0,
                      weeksInView: 4,
                      waitFetch: 1000 * 10, //	(ms) waiting the fetching of last calendar to prevent flickering view by too frequent fetching.
                      refreshInterval: 1000 * 60 * 10, //	(ms) refresh view by force if you need it.
                      glanceTime: 1000 * 60 * 10,	// (ms) Return to original view when you move to other moment by notification.
                      eventTimeOptions: {
                          timeStyle: "short"
                      },
                      //useSymbol: false,
                      calendarSet: ['Cal1', 'Cal2', 'Cal3', 'Cal4', 'Cal5'],
                      }
              },
      

      Now these 3 calendars seem not to be conflicting with CX3

      {
      			module: "calendar2",
      			header: "CAL2",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
                              url: "CAL2"
                          },
      				],
      				maximumEntries: "2",
                      wrapEvents: true
      			}
      		},
      {
      			module: "calendar2",
      			header: "CAL3",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
                              url: "CAL3"
                          },
      				],
      				maximumEntries: "3",
                      wrapEvents: true
      			}
      		},
      {
      			module: "calendar2",
      			header: "CAL",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
                              url: "CAL"
                          },
      				],
      				maximumEntries: "5",
                      wrapEvents: true
      			}
      		},
      

      Sorry for the long message

      luisestradaL 1 Reply Last reply Reply Quote 0
      • luisestradaL Offline
        luisestrada @luisestrada
        last edited by

        @luisestrada said in MMM-CalendarExt3:

        My code with the changes based on your feedback (and it seems to be working for now) Thank you!

        I talked too fast, I pressed submit and the issue came back :anxious_face_with_sweat:

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MMRIZE @luisestrada
          last edited by

          @luisestrada
          By your configuration;

          • It will be refreshed every refreshInterval by force. You’ve set up 10 minutes.
          • It will be refreshed after 10 seconds(waitFetch) of the last calendar parsed. a more frequent parsing of your calendar would be a more frequent updating view. If your 5 calendars finish their parsing in 10 seconds together, the view will be updated once. Meanwhile parsing your 5 calendars would take dozen seconds sequentially, the view will be flickering. In that case, set waitFetch longer.

          Anyway, I’ll release more improved version for frequent CALENDAR_EVENTS in a few days. Plz wait a little.

          luisestradaL 1 Reply Last reply Reply Quote 0
          • luisestradaL Offline
            luisestrada @MMRIZE
            last edited by

            @MMRIZE said in MMM-CalendarExt3:

            @luisestrada
            By your configuration;

            • It will be refreshed every refreshInterval by force. You’ve set up 10 minutes.
            • It will be refreshed after 10 seconds(waitFetch) of the last calendar parsed. a more frequent parsing of your calendar would be a more frequent updating view. If your 5 calendars finish their parsing in 10 seconds together, the view will be updated once. Meanwhile parsing your 5 calendars would take dozen seconds sequentially, the view will be flickering. In that case, set waitFetch longer.

            Anyway, I’ll release more improved version for frequent CALENDAR_EVENTS in a few days. Plz wait a little.

            Thank you @MMRIZE , I took your recommendations.

            1 Reply Last reply Reply Quote 0
            • luisestradaL Offline
              luisestrada
              last edited by

              Hi again,

              I read I did not have to do anything to get the weather displayed, however I still don’t see it. Any idea why?

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MMRIZE @luisestrada
                last edited by

                @luisestrada
                Displaying the weather icon is an experimental feature. It would be applied from the next version of MagicMirror (ver 2.20) which will be released the next July.

                At this moment(with the current MagicMirror 2.19), you can try like this;

                cd MagicMirror // Your MM installed directory
                git pull // to update latest version. If your MM was quite old, you might need additional command `npm install`
                git checkout develop // Change the branch to develop version.
                

                You don’t need this method after July.

                luisestradaL 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil
                  last edited by

                  @MMRIZE if they used my script to install they need a different command
                  see
                  https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • luisestradaL Offline
                    luisestrada @MMRIZE
                    last edited by

                    @MMRIZE I may prefer to wait until July then. :smiling_face_with_smiling_eyes:

                    And thank you so much for the recent update. Now the calendar works perfectly, no blinking and no black calendar as before. Works perfectly

                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      OliWer
                      last edited by

                      Hi, I’m using CalendarExt2 with the MMM-CalendarExtPlan Plugin. This totaly fits my needs with having several calendars next to each other with different type of information for the upcoming days. Currently it looks like this is not possible with CalendarExt3, right?
                      Is CalendarExt2 not going to be maintained anymore in the near future?

                      Thanks for the great work btw,!

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        MMRIZE @OliWer
                        last edited by

                        @OliWer

                        Thanks for using CX2. I think it is an almost-perfect module which I made. However, some people feel so difficult to use it. So I made a new one, CX3

                        While CX2 is enough for your purpose, just use it until you find a better alternative.
                        Anyway, I will not maintain it in near future. The most main reason is, that it is too heavy and severely dependent on other node-dependencies.

                        For the ExtPlan (and agenda view), I will provide an equivalent module for CX2 someday.

                        O 1 Reply Last reply Reply Quote 0
                        • O Offline
                          OliWer @MMRIZE
                          last edited by

                          @MMRIZE said in MMM-CalendarExt3:

                          For the ExtPlan (and agenda view), I will provide an equivalent module for CX2 someday.

                          Hope you mean CX3 ;)
                          Will wait until its done and closely monitor the evolution of CX3. Thanks again for your contribution, really good work!

                          M 1 Reply Last reply Reply Quote 0
                          • M Offline
                            MMRIZE @OliWer
                            last edited by

                            @OliWer
                            :) CX3 indeed.

                            BKeyportB 1 Reply Last reply Reply Quote 0
                            • BKeyportB Offline
                              BKeyport Module Developer @MMRIZE
                              last edited by

                              @MMRIZE When are you adding “upcoming” view in CX3? :rolling_on_the_floor_laughing:

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

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                Dav8574 @MMRIZE
                                last edited by

                                @MMRIZE
                                How to add a event where do you place.

                                {
                                  "title": "Leeds United - Chelsea",
                                  "startDate": 1650193200000,
                                  "endDate": 1650199500000,
                                  "fullDayEvent": false,
                                  "class": "PUBLIC",
                                  "location": false,
                                  "geo": false,
                                  "description": "...",
                                  "today": false,
                                  "symbol": ["calendar-alt"],
                                  "calendarName": "tottenham",
                                  "color": "gold",
                                  "calendarSeq": 1, // This would be the order from `calendarSet` of configuration
                                  "isPassed": true,
                                  "isCurrent": false,
                                  "isFuture": false,
                                  "isFullday": false,
                                  "isMultiday": false
                                }
                                
                                M S 2 Replies Last reply Reply Quote 0
                                • M Offline
                                  MMRIZE @Dav8574
                                  last edited by

                                  @Dav8574
                                  ??? I cannot understand what you meant. Explain in more detail what you want.

                                  1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @Dav8574
                                    last edited by

                                    @Dav8574 you add calendar entries to a Google or similar calendar system

                                    you use the ical url for that cake dar to the default calendar modules in mm, which download and parse the events, and then broadcast them to other modules

                                    where Ext3, picks them up and produces different views of the entries

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • luisestradaL Offline
                                      luisestrada
                                      last edited by

                                      Hi again,

                                      For some reason my calendars stopped working again, it seems it only shows two items in the past from two different calendars, but only once.

                                      Screen Shot 2022-07-06 at 4.31.02 PM.png

                                      And it seems to be the missing ones are private ics from google calendar. This occurred just right after the new update. I tried ever changing the private url in google and even reinstalling MagicMirror with no luck.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @luisestrada
                                        last edited by

                                        @luisestrada Ext3 gets entries broadcast from the default calendar.

                                        there was a change(me), that may have caused entry truncation, if you have maximumEntries set in any calendar entry

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        luisestradaL 1 Reply Last reply Reply Quote 0
                                        • luisestradaL Offline
                                          luisestrada @sdetweil
                                          last edited by

                                          @sdetweil it may sound funny but now, I see all the future events but the ones that already passed, disappeared.

                                          and just in case:

                                          broadcastPastEvents: true,
                                          
                                          S luisestradaL 2 Replies Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @luisestrada
                                            last edited by

                                            @luisestrada there is another setting to broadcast past events too ( not by default)

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            A 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 30
                                            • 31
                                            • 32
                                            • 33
                                            • 34
                                            • 35
                                            • 32 / 35
                                            • 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