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.

    [INFO] Be careful to use iCal sample of config.js

    Scheduled Pinned Locked Moved Forum
    26 Posts 5 Posters 8.2k Views 6 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 @ankonaskiff17
      last edited by

      @ankonaskiff17 this issue with refresh rate per calendar is because you can do

      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
                                       updateInterval:  7*24*60*60*1000  // 7days
      				coloredSymbol:true,
      				calendars: [
      					{
      
      					symbol: 'calendar',
      					//symbolClassName: "fas fa-fw fa-",
      					color: 'pink',
      						url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics",
      						name:"holidays"
      					},
                                              {
      						url: "some otherr url ",
      					},
                                              {
      						url: "some otherr url  again",
      					}
      				]
      			}
      		},
      

      and ALL those calendars get the SAME/ONLY refresh rate
      so currently u would have to do

      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
                                       updateInterval:  7*24*60*60*1000  // 7days
      				coloredSymbol:true,
      				calendars: [
      					{
      
      					symbol: 'calendar',
      					//symbolClassName: "fas fa-fw fa-",
      					color: 'pink',
      						url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics",
      						name:"holidays"
      					}
                                      ]
                              }
                    },
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
                                       updateInterval: 6*60*60*1000  // 6 hours
      				coloredSymbol:true,
      				calendars: [
      					{
      						url: "some other url ",
      					},
                                      ]
                               }
                     }, 
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
                                       updateInterval:  1*60*60*1000  // 1 hour
      				coloredSymbol:true,
      				calendars: [
      					{
      						url: "some other url again"
      					},
                                      ]
                               }
                       }
      

      now you have three separate lists, not merged

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      ankonaskiff17A 1 Reply Last reply Reply Quote 0
      • ankonaskiff17A Offline
        ankonaskiff17 @sdetweil
        last edited by

        @sdetweil I had used a second calendar module to pull in my personal calendar information and was using the ical link that you can get off of Google if I remember correctly.
        Sort of along the lines of using multiple weather modules for daily and hourly.

        Then Google did something that broke the module. I fought with it for a while, gave up and have never tried to get it back running again.

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

          @ankonaskiff17 google changed their url content a while back, so u had to go get it again

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          ankonaskiff17A 2 Replies Last reply Reply Quote 0
          • ankonaskiff17A Offline
            ankonaskiff17 @sdetweil
            last edited by

            @sdetweil My issue was a bit more complicated.
            My PRIMARY calendar is my phone but it is Samsungs built in calendar not Google calendar
            I was hopping in and out Samsung, Google and Outlook although I don’t remember the sequence of hops.
            I was dumbfounded that it even worked at the time.
            One of those things where only so many minutes in the day so it was relegated to back burner status.

            1 Reply Last reply Reply Quote 0
            • ankonaskiff17A Offline
              ankonaskiff17 @sdetweil
              last edited by

              @sdetweil That was a good memory jogger because I had completely forgotten about the broken calendar issue.
              I suspect I will go with a second calendar module like before

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

                @ankonaskiff17 we are adding interval by url too

                        { 
                           fetchInterval:
                            url: 
                       }
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                ankonaskiff17A 2 Replies Last reply Reply Quote 0
                • ankonaskiff17A Offline
                  ankonaskiff17 @sdetweil
                  last edited by

                  @sdetweil Any functional difference between updateInterval and fetchInterval

                  1 Reply Last reply Reply Quote 0
                  • ankonaskiff17A Offline
                    ankonaskiff17 @sdetweil
                    last edited by

                    @sdetweil I asked question because I learned way back that programs are VERY unforgiving when you put a period, colon, semicolon, anything out of place. you have no idea how often things like colons or semi-colons have whipped me for hours.

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

                      @ankonaskiff17 computers do things very fast. EXACTLY as you tell them…

                      figuring out WHAT you told them is always a challenge!

                      the devil is in the details…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      ankonaskiff17A 1 Reply Last reply Reply Quote 0
                      • ankonaskiff17A Offline
                        ankonaskiff17 @sdetweil
                        last edited by ankonaskiff17

                        @sdetweil I’m going to take a crack at loading a personal calendar but have a question that maybe you can answer. really relates to the Google side of things.

                        Google has public and or share with certain people that I equate to a private view.
                        In a home network environment is there a tangible benefit of one over the other. Both are hopefully behind a firewall, you are using good password security.
                        Everyone in IT security always going to default to private being safer and I do not disagree but curious if there is a real difference since you are hopefully doing the proper security within your home network

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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