Read the statement by Michael Teeuw here.
Calendar events broadcasting, nothing showing...
-
@BKeyport broadcasting is different than using
Can you explain the setup and config you are running.
Is this multiple systems to one server?
We added a caching handler to reduce unnecessary sends to the same module
-
@BKeyport were you able to resolve this?? the 165 events could have been all in the past too
-
@sdetweil Sorry, I’ve been away due to work issues. It is multiple systems to one server, and still unsolved. Worked fine before “upgrade” to current MM version.
-
-
I tracked this down to a likely root cause: after the HTTPFetcher 304 change, some consumers were trying to process empty responses. In PR #4180, I fixed that for calendar and other consumers.
-
@sdetweil does not seem to affect anything.
if (notification === "CALENDAR_EVENTS") { // have we received events for this url if (!this.calendarData[payload.url]) { // no, setup the structure to hold the info this.calendarData[payload.url] = { events: null, checksum: null }; } // save the event list this.calendarData[payload.url].events = payload.events; this.error = null; this.loaded = true; if (this.config.broadcastEvents) { this.broadcastEvents(); } // if the checksum is the same /* if (this.calendarData[payload.url].checksum === payload.checksum) { // then don't update the UI return; } */ // haven't seen or the checksum is different this.calendarData[payload.url].checksum = payload.checksum; -
@BKeyport thanks… I see an other change submitted today
https://github.com/MagicMirrorOrg/MagicMirror/pull/4180
which references this topicif you want to try that do
cd ~/MagicMirror # restore calendar.js git checkout defaultmodules/calendar/calendar.js git fetch origin pull/4180/head:_fix_304 rm package-lock.json git switch _fix_304 npm run install-mm restart MM -
@sdetweil That fixed it here.
-
@BKeyport awesome!! Thanks for the feedback
-
S sdetweil has marked this topic as solved
-
@sdetweil When we get to the quarterly update, I’ll need to know how to update back to the main. LOL
-
@BKeyport yes. If you use my upgrade script it will move you back to the mainline, or I’ll give you instructions
-
@sdetweil oh, cool that you built that in the scripts - I use that.
-
@BKeyport yes, if I discover you are not on the master branch, I move you to master, then update from there.
For exactly this situation. Trying a specific fix or all of develop branch.
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
