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.

    Calendar Logic Changes

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 2 Posters 1.7k 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.
    • BKeyportB Offline
      BKeyport Module Developer @sdetweil
      last edited by

      @sdetweil I see the problem, I think.

      The logs I was using was in the console, those logs don’t show the source - PM2’s logs do.

      I think something has changed in how it’s putting together the entries.

      It used to be that maximumEntries: 99 - now it’s appearing to sort different or reach back further, so I need maximumEntries: 999 to see all my calendars show up.

      I do have past events active - as I like to see where I had things happen, just in case I need it…

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

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

        Ok, Sam - here’s what I got so far:

        Calendar Entries Calendar
        Huskies 12 https://gohuskies.com/calendar.ashx/calendar.ics?sport_id=3.
        Kraken 44 https://calendar.google.com/calendar/ical/a6fras24hof5ibrk9q1aeg0igg%40group.calendar.google.com/private-147cebc733aab31784e2ab7f18c13cbc/basic.ics.
        Main 334 [Not public]
        Mariners 247 https://calendar.google.com/calendar/ical/61db9ccd2c8e6f23041e3f43c30e7427f6bada47d75a73f673085d9cdbb02a03%40group.calendar.google.com/private-9781d54d004a17abd9f8647eabfa7e68/basic.ics.
        Seahawks 20 https://www.seahawks.com/api/addToCalendar/ag/d?text=Seattle+Seahawks+Games.
        Sounders No Data https://calendar.google.com/calendar/ical/3vejg64nfe9hk5odcphufgis14%40group.calendar.google.com/private-ae3d986ef6488a425755baf7198a1c99/basic.ics.
        Utilities 107 https://recollect.a.ssl.fastly.net/api/places/BC71002A-F27F-11E8-B5B7-6853A40EAB6C/services/579/events.en-US.ics?client_id=91264B66-7113-11ED-8C28-2101D6C077E5.
        ARES Parsing https://calendar.google.com/calendar/ical/5hsiiq8t4lh01m2fge21688vtjmj6e6s%40import.calendar.google.com/public/basic.ics.
        Holidays 55 https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics.

        The calendar marked “No data” isn’t currently working from host, It can be ignored.
        The calendar marked “Parsing” is spitting out data in debug mode, but when calendar turns around and broadcasts, it’ll broadcast zero entries. Only truly private URL has been blanked.

        here’s my config - minus the calendars:

                        {
                                module: "calendar", // Built in
                                //position: "top_center",  // Currently hidden
                                classes: "page1 page2 page3",
                                config: {
                                        animationSpeed: 0,
                                        broadcastEvents: true,
                                        broadcastPastEvents: true,
                                        fetchInterval: 60000, // minimum 1 minute. 
                                        maximumEntries: 999999,
        

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

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

          @BKeyport fetch every minute is too often. also we increased the fetch timeout to 30 seconds, so there may not be enough tine to parse before another fetch

          if running w pm2 ALL console messages are captured as you dont have an active console running.

          i would stop using pm2 while diagnosing, just use npm start

          what do you mean one cal is outputing debug? w default cal its all or nothing per instance
          id like to see that log, email to me

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @BKeyport fix see
            https://forum.magicmirror.builders/topic/19282/version-2-30-0-calendar-fix-for-clipping-broadcast-events

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            BKeyportB 1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @sdetweil
              last edited by BKeyport

              @sdetweil That fix helped. A minor configuration error fix helped too. I think I’ve got it back working the way I wanted it.

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

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

                @BKeyport awesome

                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