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.

    Displaying two calendars in the standard calendar in one list

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 4 Posters 980 Views 4 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.
    • K Offline
      Klinge
      last edited by

      I would like to display two Google calendars in the default calendar. However, both calendar should be displayed in one list on the mirror.

      I try to realize it with the following config

                             module: "calendar",
                              header: "Termine",
                              position: "top_left",
                              config: {
                                      timeFormat: 'absolute',
                                      maximumEntries: 10,
                                      dateFormat: 'ddd DD MMM HH:mm',
                                      fullDayEventDateFormat: 'ddd DD MMM',
                                      showEnd: false,
                                      urgency: 0,
                                      getRelative: 0,
                                      calendars: [
                                              {
                                                      fetchInterval: 7 * 24 * 60 * 60 * 1000,
                                                      symbol: "calendar-check",
                                                      url: "https://calendar.google.com/calendar/ical/******/basic.ics"
      
                                              },
                                              {
                                                      fetchInterval: 7 * 24 * 60 * 60 * 1000,
                                                      symbol: "calendar-check",
                                                      url: "https://calendar.google.com/calendar/ical/******/basic.ics"
                                              },
                                      ]
                              }
                      },
      
      

      But when the MMM starts the module first shows the first configured URL and a few seconds later the module only shows the appointments from the second URL.

      But as I wrote I need the entries from both calendars in one list.

      Please can you help me.

      Thank you in advance.
      Lars

      B L 2 Replies Last reply Reply Quote 0
      • B Offline
        bdream @Klinge
        last edited by

        @Klinge I have a configuration as you but the fetchInterval:
        May it help butting this up to the config-part as:

        config: {
                fetchInterval: 7 * 24 * 60 * 60 * 1000,
        

        –
        cheers, bdream

        K 1 Reply Last reply Reply Quote 0
        • L Offline
          lif @Klinge
          last edited by

          @Klinge

          I use this to display 3 calendars in the same column

          {
          module: “calendar”,
          header: “Our Calendar”,
          position: “top_left”,
          config: {
          calendars: [
          {
          fetchInterval: 7 * 24 * 60 * 60 * 1000,
          symbol: “calendar-check”,
          url: ‘https://calendar.google.com/calendar/ical/en.uk%23holiday%40group.v.calendar.google.com/public/basic.ics’,
          },

          {
          color: ‘#FFFF00’,
          symbol: “calendar”,
          url: ‘https://calendar.google.com/calendar/ical/fr.french%23holiday%40group.v.calendar.google.com/public/basic.ics’,
          },
          {
          color: ‘#00FF00’,
          symbol: “calendar”,
          url: ‘https://calendar.google.com/calendar/ical/xxxx%40gmail.com/private-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics’,

                                              },					
          			]
          		}
          	},
          
          1 Reply Last reply Reply Quote 0
          • K Offline
            Klinge @bdream
            last edited by

            @bdream Thank you for you answer. Now I delete the second fetch line. So my config is

            module: "calendar",
                                    header: "Termine",
                                    position: "top_left",
                                    config: {
                                            timeFormat: 'absolute',
                                            maximumEntries: 10,
                                            dateFormat: 'ddd DD MMM HH:mm',
                                            fullDayEventDateFormat: 'ddd DD MMM',
                                            showEnd: false,
                                            urgency: 0,
                                            getRelative: 0,
                                            calendars: [
                                                    {
                                                            fetchInterval: 7 * 24 * 60 * 60 * 1000,
                                                            symbol: "calendar-check",
                                                            url: "https://calendar.google.com/calendar/ical/******/basic.ics"
            
                                                    },
                                                    {
                                                            symbol: "calendar-check",
                                                            url: "https://calendar.google.com/calendar/ical/******/basic.ics"
                                                    },
                                            ]
                                    }
                            },
            

            But now it’s getting really crazy. The mirror shows me an appointment at 12.20pm today as the first entry. That’s also correct. But after that it only shows me from both calendars all-day appointments. It no longer shows appointments that start at a certain time, for example at 1 pm.

            Why are only all-day appointments displayed?

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

              @Klinge fall back to the prior calendar parser

              cd ~/MagicMirror
              npm install [email protected]
              

              restart mm

              your config looks ok

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              K 1 Reply Last reply Reply Quote 1
              • K Offline
                Klinge @sdetweil
                last edited by

                @sdetweil That´s it. Now it works. Thank you for your help again.

                @bdream @lif Thank you for your support as well.

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  lif @Klinge
                  last edited by

                  @Klinge

                  I typed too soon, just after I posted that I applied a MagicMirror upgrade, now it doesn’t display my personal calendar.

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

                    @lif can you do this
                    https://forum.magicmirror.builders/post/114622

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @lif

                      Thanks, that worked.

                      1 Reply Last reply Reply Quote 0
                      • 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
                        OSZAR »