• 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.

MMM-CalendarExt3

Scheduled Pinned Locked Moved Utilities
670 Posts 80 Posters 2.2m Views 84 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.
  • M Offline
    MMRIZE @pastormingle
    last edited by Jul 28, 2023, 2:09 PM

    @pastormingle
    Did you test with my example URL or yours?
    I need the real URL of calendar feeds to diagnose. send URLs to my email. (eouia0819@gmail.com)

    P 1 Reply Last reply Jul 28, 2023, 2:25 PM Reply Quote 0
    • P Offline
      pastormingle @MMRIZE
      last edited by Jul 28, 2023, 2:25 PM

      @MMRIZE should be in your email box… thanks.

      M 1 Reply Last reply Jul 28, 2023, 2:50 PM Reply Quote 0
      • M Offline
        MMRIZE @pastormingle
        last edited by Jul 28, 2023, 2:50 PM

        @pastormingle replied. From now on, let’s discuss this with email. I’ll leave the summary here later.

        1 Reply Last reply Reply Quote 0
        • P Offline
          pastormingle @pastormingle
          last edited by Aug 3, 2023, 1:27 PM

          @pastormingle Seems that when i loaded the outlook.ics it takes it about 10 min loaded when add addiational calendars. I have not errors in the log but it just slow to load when you restart if you have other calendars. What could it be? Do you have a fix for this?

          M 1 Reply Last reply Aug 3, 2023, 1:54 PM Reply Quote 0
          • M Offline
            MMRIZE @pastormingle
            last edited by Aug 3, 2023, 1:54 PM

            @pastormingle
            Is fetching slow? Or is drawing slow? Different reason, different solution.
            If fetching is slow; That is not my bad. Adjust interval of fetching calendar in calendar module.
            If drawing is slow(after fetched normally); Adjust waitFetch and refreshInterval. This thing is not “FIX”, just “configuration”

            However more frequent Fetching would give the ics host server more traffic.
            10mins late change, I think it’s sufficiently affordable. Your mirror is not the train time signboard of the station.

            P 1 Reply Last reply Aug 3, 2023, 4:59 PM Reply Quote 0
            • P Offline
              pastormingle @MMRIZE
              last edited by Aug 3, 2023, 4:59 PM

              @MMRIZE Not sure which is just doesn’t work till after 10 min passes… If i only put the outlook calendar in it’s instentances. where do you abjust the fetch?

              1 Reply Last reply Reply Quote 0
              • W Offline
                whimsicality @MMRIZE
                last edited by Aug 12, 2023, 3:52 PM

                @MMRIZE thank you so much for this! I successfully hid the times with the CSS you gave. But when I input the eventtransformer code, it causes NaN:NaN to show before all the events. Do you have any insight?
                )

                M 1 Reply Last reply Aug 12, 2023, 6:54 PM Reply Quote 0
                • M Offline
                  MMRIZE @whimsicality
                  last edited by Aug 12, 2023, 6:54 PM

                  @whimsicality
                  Show me what you did.

                  W 1 Reply Last reply Aug 16, 2023, 2:19 AM Reply Quote 0
                  • W Offline
                    whimsicality @MMRIZE
                    last edited by Aug 16, 2023, 2:19 AM

                    @MMRIZE
                    IMG_3610 Large.jpeg

                    IMG_3611 Large.jpeg

                    IMG_3609 Large.jpeg

                    M 1 Reply Last reply Aug 16, 2023, 3:27 PM Reply Quote 0
                    • M Offline
                      MMRIZE @whimsicality
                      last edited by Aug 16, 2023, 3:27 PM

                      @whimsicality
                      Hmmm. Works for me.
                      713414d0-f4b4-4da2-90f5-f478241914ff-image.png

                      Maybe your ev.startDate would not be a valid format. (Are you using default calendar module? Or others? - like MMM-GoogleCalendar or something)
                      You can check with this code.

                      eventTransformer: (ev) => {
                      	if (!ev.isFullday) {
                      		console.log("Check", ev.title, ev.startDate)
                      		let t = new Date(ev.startDate)
                      		let time = (t.getMinutes() == 0) ? String(t.getHours()) : String(t.getHours() + ":" + t.getMinutes())
                      		ev.title = `<span class="myTime">${time}</span> ${ev.title}`
                      	}
                      	return ev
                      }
                      

                      It will show additional info in your dev-console.
                      17daf202-0747-4367-9984-9c4b202984cd-image.png

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 30
                      • 31
                      • 32
                      • 33
                      • 34
                      • 66
                      • 67
                      • 32 / 67
                      • 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