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

    Scheduled Pinned Locked Moved Utilities
    486 Posts 83 Posters 829.6k Views 83 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.
    • R Offline
      rmcelwee @djpoirrier
      last edited by

      @djpoirrier said in MMM-CalendarExt2:

      Well i ended up figuring out how to do this

      I’d like to see a picture of what this looks like.

      1 Reply Last reply Reply Quote 0
      • L Offline
        luke1
        last edited by

        Hi, i have a problem with my scanInterval I want it to update every 2 hours but it keeps updating every minute. (disappears for one second)
        I already tried different time formats but it didn’t work.
        Thanks,
        Luke

        module: 'MMM-CalendarExt2',
                                config: {
                                        calendars : [
                                                {
                                                        name: „Ich",
                                                        url: „***********“,
                                                        scanInterval: 7200000, (already tried: 1000*60*60*2, 2*60*60*1000, )
                                                },
                                                {
                                                        name: "Feiertage",
                                                        url: „***********",
                                                        scanInterval: 7200000, (already tried: 1000*60*60*2, 2*60*60*1000, )
                                                },
                                                 {
                                                        name: "Uni",
                                                        url: „**********"
                                                        scanInterval: 7200000, (already tried: 1000*60*60*2, 2*60*60*1000, )
                                                },
                                        ],
                                        views: [
                                                {
                                                        name: "view1",
                                                        mode: "week",
                                                        calendars: [],
                                                        hideOverflow: false,
                                                        position: "bottom_bar",
                                                        slotCount: 3,
                                                        filterPassedEvent: true,
                                                        locale: "de-DE",
                                                },
                                                {
                                                        name: "upcoming",
                                                        mode: "upcoming",
                                                        position: "top_left",
                                                        maxItems: 5,
                                                        maxDays: 7,
                                                        locale: "de-DE",
                                                        hideOverflow: false,
                                                        filterPassedEvent: true,
                                                },
                                        ],
                                        scenes: [
                                                {
                                                        name: "DEFAULT",
                                                },
                                        ],
                                },
                        },
        
        
        BKeyportB 1 Reply Last reply Reply Quote 0
        • V Offline
          Vandrasky
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • BKeyportB Online
            BKeyport Module Developer @luke1
            last edited by

            @luke1 I believe it refreshes every minute anyway, but don’t ping the servers for the time you specify. If you want it to stop animating as a stopgap, you can use this:

            /* Stop animating */ 
            
            .CX2.hidden {
              display: block;
              opacity: 1;
              animation-name: none;
              animation-iteration-count: 0;
              animation-timing-function: none;
              animation-duration: 0s;
            }
            
            .CX2.shown {
              display: block;
              opacity: 1;
              animation-name: none;
              animation-iteration-count: 0;
              animation-timing-function: none;
              animation-duration: 0s;
            }
            

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

            L 1 Reply Last reply Reply Quote 1
            • L Offline
              luke1 @BKeyport
              last edited by

              @bkeyport Thanks a lot! :)

              1 Reply Last reply Reply Quote 0
              • V Offline
                Vandrasky
                last edited by

                Hi

                Just wondering if it’s possible to change the date format in the upcoming view.

                Its currently giving me how many days until the event. I’m looking for the date of the event.

                I’ve tried (useEventTimeRelative: “false”)

                any other thoughts?

                Jeremy

                1 Reply Last reply Reply Quote 0
                • A Offline
                  almightyyoshi
                  last edited by

                  Is there a way to show the next month in the “month” view? I want to rotate between the current month and next month. If it can be done, is there a way to show it without having to manually filter it each month (i.e filter = currentMonth + 1 … or something like that)?

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    almightyyoshi @almightyyoshi
                    last edited by

                    @almightyyoshi NM. I was way overthinking that. Found the “fromNow” setting.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Marva82 @BKeyport
                      last edited by

                      @bkeyport
                      That is not correct. If you want to get rid of the week count create a css/custom.css file, never change the main.css! And add this line
                      .CX2 .weeksmark {
                      display:none;
                      }

                      BKeyportB 1 Reply Last reply Reply Quote 0
                      • BKeyportB Online
                        BKeyport Module Developer @Marva82
                        last edited by

                        @marva82 My statement was functionally correct. Yeah, I forgot to use the overused “Use custom.css” mantra

                        (Which in this case, don’t really matter, as if you’d adjust MMM-CX2’s css stub, it’ll likely never get overwritten as the projects effectively dead)

                        And yes, you can remove the Week of the year with your stub.

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

                        1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 48
                        • 49
                        • 2 / 49
                        • 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