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.

    default Calender Two calender with different update time

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 443 Views 2 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.
    • S Offline
      sdetweil @Blackmirror
      last edited by

      @Blackmirror you can run multiple instances of the calendar with different refresh intervals…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        Blackmirror @sdetweil
        last edited by

        @sdetweil

        How?

        The fetchinverall is only in the config menu not for the menu of the differnet calenders.

        Blackmirror

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Blackmirror
          last edited by sdetweil

          @Blackmirror

          {
                module:"calendar",
                 .
                  .
                        config:{
                                 fetchInterval: yyyyyyy,
                                calendars: [
                                          {
                                                url:"cal1"
                                           }
                                  ]
                          }
          },
          {
                module:"calendar",
                 .
                  .
                        config:{
                                 fetchInterval:  xxxxx,
                                calendars: [
                                          {
                                                url:"cal2"
                                           }
                                  ]
                          }
          },
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            Blackmirror @sdetweil
            last edited by

            @sdetweil

            okay.

            I was hoping there would be a solution to integrate this into a calendar

            Blackmirror

            S 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @Blackmirror
              last edited by sdetweil

              @Blackmirror for the default calendar, all calendars:[] in the list use the same fetchInterval.

              you could use one of the other calendar modules that display a wall type
              MMM-CalendarMonthly, MMM-CalendarExt3 (or its siblings, Agenda, Timeline,…),
              or others… search calendar on the 3rd party module list linked in the header above

              those modules collect results from the default calendar and present them in different formats

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Blackmirror
                last edited by

                @Blackmirror i am wrong.

                based on the code (not the doc)

                you can have a unique fetchInterval by url to override the base config value

                so you only need one calendar instance

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S sdetweil has marked this topic as solved on
                • 1 / 1
                • 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