• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 962 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 Jul 27, 2022, 12:26 PM

    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

    F S 2 Replies Last reply Jul 27, 2022, 12:40 PM Reply Quote 0
    • F Offline
      Fozi Project Sponsor @outlying
      last edited by Jul 27, 2022, 12:40 PM

      @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 Jul 27, 2022, 3:19 PM Reply Quote 0
      • S Offline
        sdetweil @Fozi
        last edited by Jul 27, 2022, 3:19 PM

        @Fozi he said they were not actual.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Jul 27, 2022, 3:24 PM Reply Quote 0
        • S Offline
          sdetweil @outlying
          last edited by sdetweil Jul 27, 2022, 3:26 PM Jul 27, 2022, 3:24 PM

          @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
          • F Offline
            Fozi Project Sponsor @sdetweil
            last edited by Jul 27, 2022, 3:24 PM

            @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 Jul 30, 2022, 4:44 PM Reply Quote 0
            • O Offline
              outlying @Fozi
              last edited by Jul 30, 2022, 4:44 PM

              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 Jul 30, 2022, 4:59 PM Reply Quote 0
              • S Offline
                sdetweil @outlying
                last edited by Jul 30, 2022, 4:59 PM

                @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 Jul 31, 2022, 3:13 AM

                  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
                  • 1 / 1
                  1 / 1
                  • First post
                    4/8
                    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