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 randomly stops updating itself

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 4 Posters 1.9k 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.
    • O Offline
      outlying
      last edited by

      Hi, I will start with I’m on 2.20.0 version of MM but this issue is bothering me for a long time so, the problem is … calendar randomly stops updating itself, I see mirror, and every other module is updated (date/time, weather, news, etc) but, for example, right now calendar is showing me, on its first position, event which ended yesterday (almost 24h ago).

      Sometimes I realize that the calendar is not working because the calendar event I added is not appearing on the mirror display.

      Configuration is not very complicated and it is working (if I restart MM), for obvious reason those are not full Google calendar URLs

       {
                              module: "calendar",
                              header: "Kalendarz",
                              position: "top_left",
                              config: {
                                      maximumNumberOfDays: 31,
                                      showLocation: true,
                                      wrapEvents: true,
                                      timeFormat: "absolute",
                                      fetchInterval: 120000,
                                      calendars: [
                                              {
                                                      symbol: "calendar-check",
                                                      url: "https://calendar.google.com/calendar/ical/"
                                              },
                                              {
                                                      symbol: "calendar-alt",
                                                      url: "https://www.thunderbird.net/media/caldata/PolishHolidays.ics"
                                              },
                                              {
                                                      symbol: "rocket",
                                                      url: "https://calendar.google.com/calendar/ical/"
                                              }
                                      ]
                              }
                      },
      

      Usually, I restart MM but thing keeps bothering me

      FoziF S 2 Replies Last reply Reply Quote 0
      • FoziF Offline
        Fozi Project Sponsor @outlying
        last edited by

        @outlying Just for assurance:
        The calendar URLs you’re posting are the real ones or just abbreviated for privacy here?

        HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

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

          @Fozi he said they were not actual.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @outlying can u tell us about your environment?
            I think if there is a fetch error, it’s not recoverable…

            u might be able to see this in the startup console if u change the config.js logLevel like this

            logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"],
            

            and start mm with

            npm start > somefile.txt

            (so u need to stop mm if using pm2 )

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • FoziF Offline
              Fozi Project Sponsor @sdetweil
              last edited by

              @sdetweil Yeah, I see… When I setup calendar quite some time ago I remember that I had some trouble, too.
              What I did -I cant’t remember why because it is undocumented- was to change
              from

              timeFormat: "absolute",
              

              to

              timeFormat: "HH:mm",
              

              That is a shot in the dark, but might help, too.

              HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

              O 1 Reply Last reply Reply Quote 0
              • O Offline
                outlying @Fozi
                last edited by

                Sure I will respond with the results in a couple of days but I moved to another apartment and my mirror is not yet running (I hoped it will not take that long).

                But the problem with logs is, that it might take a couple of days, usually, after the restart, it works fine for a week or two, maybe more, and suddenly stops.

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

                  @outlying ok, that sounds like a networking problem, causing an error and never recovering

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    DezHak
                    last edited by

                    I have noticed the same thing, or rather my Ma has on the one I made for her. Some times the news won’t update until it power cycles again. If nothing bad happens to the breaker sometimes will display same news from a month ago.

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 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