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

Scheduled Pinned Locked Moved Utilities
654 Posts 77 Posters 1.8m Views 81 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.
  • L Offline
    luisestrada @almightyyoshi
    last edited by Jun 6, 2022, 7:24 PM

    @almightyyoshi Every time i think this is fixed then it comes back again…

    I have 3 calendars so I renamed calendar1 and calendar2, as I don’t want these calendars to conflict with CX3.
    Then I have my calendar module and dropped the position as I don’t want to show it.
    My CX3 loads empty and after a while the information appears, then it goes and then it comes back. I think I have not set up properly the refresh. I’ve tried many combinations but nothing works

    {
    module: “MMM-CalendarExt3”,
    position: “bottom_bar”,
    title: “Calendario”,
    waitFetch: 10000, // (ms) waiting the fetching of last calendar to prevent flickering view by too frequent fetching.
    refreshInterval: 1000 * 60 * 1, // (ms) refresh view by force if you need it.
    glanceTime: 1000 * 60 * 1, // (ms) Return to original view when you move to other moment by notification.
    //animationSpeed: 2000, // (ms) Refreshing the view smoothly.
    rotateInterval: 0,
    eventTimeOptions: {
    timeStyle: “short”
    },
    fetchInterval: 1000,
    config: {
    mode: “week”,
    instanceId: “WeeklyCalendar”,
    locale: ‘es-CO’,
    maxEventLines: 3,
    firstDayOfWeek: 0,
    weekIndex: 0,
    weeksInView: 4,
    broadcastPastEvents: true, // <= IMPORTANT to see past events
    calendarSet: [‘Cal1’, ‘Cal2’, ‘Cal3’, 'Cal4, ‘Cal5’],
    }
    },

    And Go Jays Go!! :beaming_face_with_smiling_eyes:

    Screen Shot 2022-06-06 at 3.14.02 PM.png

    S 1 Reply Last reply Jun 6, 2022, 7:47 PM Reply Quote 0
    • S Offline
      sdetweil @luisestrada
      last edited by Jun 6, 2022, 7:47 PM

      @luisestrada do you have 3 instances of
      module:‘calendar’
      ?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      L 1 Reply Last reply Jun 6, 2022, 8:01 PM Reply Quote 0
      • L Offline
        luisestrada @sdetweil
        last edited by Jun 6, 2022, 8:01 PM

        @sdetweil said in MMM-CalendarExt3:

        @luisestrada do you have 3 instances of
        module:‘calendar’
        ?

        Yes, I have 3 modules, the holidays (shows 3), the birthday calendar (shows 2) and the normal calendar (shows 8).

        S 1 Reply Last reply Jun 6, 2022, 8:51 PM Reply Quote 0
        • S Offline
          sdetweil @luisestrada
          last edited by Jun 6, 2022, 8:51 PM

          @luisestrada each sends out its own list of entries. maybe calext3 is replacing a with b with c

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          L 1 Reply Last reply Jun 6, 2022, 9:31 PM Reply Quote 0
          • L Offline
            luisestrada @sdetweil
            last edited by Jun 6, 2022, 9:31 PM

            @sdetweil said in MMM-CalendarExt3:

            @luisestrada each sends out its own list of entries. maybe calext3 is replacing a with b with c

            That’s exactly what i thought, so thats why I created 3 different modules by copying the entire module in a separate folder and renaming it, similar to this: https://forum.magicmirror.builders/topic/14724/run-two-instances-of-the-same-module-sometimes-tutorial

            but still, if I have 3 modules called, calendar, calendar1 and calendar2, it does it

            M S 3 Replies Last reply Jun 6, 2022, 10:28 PM Reply Quote 0
            • M Offline
              MMRIZE @luisestrada
              last edited by Jun 6, 2022, 10:28 PM

              @luisestrada
              Well, I was worried about just that case when I developed this module - multiple calendar instances. I thought Nobody would use the calendar module like that. So I haven’t considered supporting that case. But I was wrong.

              The current behaviour of this module is replacing whole events when the notification arrives, not combining each. So you cannot get proper whole events from multi-emitter of notifications.

              I’ll modify the module in a few days to stack each event not replace it. Wait for a little.

              S 1 Reply Last reply Jun 6, 2022, 11:59 PM Reply Quote 0
              • M Offline
                MMRIZE @luisestrada
                last edited by Jun 6, 2022, 11:29 PM

                @luisestrada
                By the way, your configuration is not quite effective. Some options are located in the wrong place, some are invalid.

                • All module-specific user configuration should be placed in config: { ... }. Your waitFecth or eventTimeOptions and something more would not be applied.

                • there is no fetchInterval or rotateInterval option in CX3.

                • broadcastPastEvents is not for CX3 module but for calendar module.

                • refreshInterval: 1000 * 60 * 1 means redraw calendar every 1 minute. Is it really needed?

                L 1 Reply Last reply Jun 7, 2022, 2:38 AM Reply Quote 0
                • S Offline
                  sdetweil @luisestrada
                  last edited by sdetweil Jun 6, 2022, 11:58 PM Jun 6, 2022, 11:56 PM

                  @luisestrada the info inside(event broadcast) is still the same
                  and u didn’t need to do the rename. it supports multiple instances

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  L 1 Reply Last reply Jun 7, 2022, 2:44 AM Reply Quote 0
                  • S Offline
                    sdetweil @MMRIZE
                    last edited by Jun 6, 2022, 11:59 PM

                    @MMRIZE u can see in config if multiple instances and maybe the ‘from’ on notification

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      luisestrada @MMRIZE
                      last edited by Jun 7, 2022, 2:38 AM

                      @MMRIZE said in MMM-CalendarExt3:

                      @luisestrada
                      Well, I was worried about just that case when I developed this module - multiple calendar instances. I thought Nobody would use the calendar module like that. So I haven’t considered supporting that case. But I was wrong.

                      The current behaviour of this module is replacing whole events when the notification arrives, not combining each. So you cannot get proper whole events from multi-emitter of notifications.

                      I’ll modify the module in a few days to stack each event not replace it. Wait for a little.

                      Thank you, I will show you my code so you all can understand the mess I did :beaming_face_with_smiling_eyes:

                      @MMRIZE said in MMM-CalendarExt3:

                      @luisestrada
                      By the way, your configuration is not quite effective. Some options are located in the wrong place, some are invalid.

                      • All module-specific user configuration should be placed in config: { ... }. Your waitFecth or eventTimeOptions and something more would not be applied.

                      • there is no fetchInterval or rotateInterval option in CX3.

                      • broadcastPastEvents is not for CX3 module but for calendar module.

                      • refreshInterval: 1000 * 60 * 1 means redraw calendar every 1 minute. Is it really needed?

                      It was supposed to be ten minutes but because I was trying and adding and testing, I forgot to change it back

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 65
                      • 66
                      • 4 / 66
                      4 / 66
                      • First post
                        32/654
                        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