• 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 module fails to fetch data and discards old data, leaving nothing

Scheduled Pinned Locked Moved Unsolved Troubleshooting
2 Posts 2 Posters 280 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.
  • F Offline
    fribse
    last edited by Feb 13, 2022, 11:38 AM

    So I see this every morning:

    0|MagicMirror  | [13.02.2022 12:34.28.850] [ERROR]
    0|MagicMirror  | Calendar Error. Could not fetch calendar:  http://p01-calendarws.icloud.com/ca/subscribe/1/IsLh6fUURb4n_nA6vhWYUmlEe98rz2BN8BhioUPzrC2HVohwJIUCbGuGeTwczZWvXjTqU7vicBATXHojb1p5fn8ub3RCBUwKfHm3jXJDzFE Error: Service Unavailable
    0|MagicMirror  |     at NodeHelper.checkFetchStatus (/home/pi/MagicMirror/js/node_helper.js:121:9)
    0|MagicMirror  |     at processTicksAndRejections (node:internal/process/task_queues:96:5)
    

    Which gives this result in the mirror:
    32e2fdf4-a197-47c3-bc95-cb721275486a-billede.png

    Later in the day, the calendar days are fetched, and then updated on the screen.
    Why does the module discard the existing days when it can’t get the new download?
    My guess is that the calendar is somehow throttled, and thus rejects requests when there are too many, so how do I make the calendar module keep the old data until it can get new data?

    S 1 Reply Last reply Feb 13, 2022, 1:39 PM Reply Quote 0
    • S Away
      sdetweil @fribse
      last edited by Feb 13, 2022, 1:39 PM

      @fribse the module design is all or nothing.

      when it gets an error, theat is reported and the displayer has nothing.

      you would have to change the code

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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