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

How to show a few past events of the calendar on a schedule view

Scheduled Pinned Locked Moved Unsolved Requests
10 Posts 2 Posters 1.5k 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.
  • B Offline
    Bluthner
    last edited by Aug 5, 2021, 2:02 AM

    Hello!

    I want the calendar to display as a schedule view. There are several events during the day (around 40-50). So far so good, I was able to do that.

    But I wanted to see the past 3 events (3 evens that aren’t ongoing or upcoming, really finished events).

    Any thoughts on how I can make them to be shown?

    Thanks!

    S 1 Reply Last reply Aug 5, 2021, 2:58 AM Reply Quote 0
    • S Offline
      sdetweil @Bluthner
      last edited by Aug 5, 2021, 2:58 AM

      @bluthner see the config option

      broadcastPastEvents

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 1 Reply Last reply Aug 5, 2021, 11:38 AM Reply Quote 0
      • B Offline
        Bluthner @sdetweil
        last edited by Aug 5, 2021, 11:38 AM

        @sdetweil Thanks for answering!

        I gave it a try. I did use the broadcastPastEvents. As I’m using the schedule view, it shows all the past events starting from the current day.

        I have around 40+ events every day, I’m trying to show only 20 events on the screen, as a list. When using the broadcastPastEvents it shows past events beginning on current day (limiting by one day - zero shows nothing from the past), but as I want to limit to 20 events to be shown, it turns out that it only displays the 20 first events of the day, and I can’t see ongoing and upcoming events.

        The broadcastPastEvents has a limitation by days, but I need to limit by events (because I’m not using a day or week view, but the schedule view).

        I couln’t find anything else on the configurations that would help with the case. Well, I’m new to Magic Mirror and not very talented with coding as well, so if I’m missing something, I’d appreciate some help!

        S 1 Reply Last reply Aug 5, 2021, 12:23 PM Reply Quote 0
        • S Offline
          sdetweil @Bluthner
          last edited by Aug 5, 2021, 12:23 PM

          @bluthner I don’t understand schedule view, w the default calendar module.

          calendarExt2 has views.

          in general, the calendars don’t give u the ability to pick number of past events and number of future events separately.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Aug 5, 2021, 12:36 PM Reply Quote 0
          • B Offline
            Bluthner @sdetweil
            last edited by Aug 5, 2021, 12:36 PM

            @sdetweil

            I’ll attach two examples of schedule view, first Google Calendar and second Magic Mirror.

            I’ll take a look at the calendarExt2.

            alt text

            alt text

            S 1 Reply Last reply Aug 5, 2021, 1:00 PM Reply Quote 0
            • S Offline
              sdetweil @Bluthner
              last edited by sdetweil Aug 5, 2021, 1:02 PM Aug 5, 2021, 1:00 PM

              @bluthner sorry, I don’t understand your wording. it’s always been ‘schedule’ if that’s what u call it.

              if u are talking about 18 of 49, then showOngoing would help.

              you can also have multiple calendars merged together as it appears u have the google view

              calext2’s author has left mm, and no one has taken over the module.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              B 1 Reply Last reply Aug 5, 2021, 1:22 PM Reply Quote 0
              • B Offline
                Bluthner @sdetweil
                last edited by Aug 5, 2021, 1:22 PM

                Those images are just examples i got on the internet to make sure you understand what I’m calling “schedule view”.

                I’ll have just one calendar on the feed though. Let me exemplify what I want. Lets Say I have this schedule for today. But remember, my daily task has 40+ events, not only eight (as follows):

                07:00 - Breakfast
                08:00 - Exercises
                09:00 - Feed the cats
                12:00 - Lunch
                15:00 - Walk in the park
                17:00 - Dinner
                20:00 - Meeting
                22:00 - Sleep time

                I’d like to see, around 15:00, at least something like this:

                09:00 - Feed the cats
                12:00 - Lunch
                15:00 - Walk in the park
                17:00 - Dinner
                20:00 - Meeting
                22:00 - Sleep time

                I need to see some past events, not only ongoing and upcoming events. Three past events would be enough, but half/half could do it too.

                S 1 Reply Last reply Aug 5, 2021, 1:33 PM Reply Quote 0
                • S Offline
                  sdetweil @Bluthner
                  last edited by Aug 5, 2021, 1:33 PM

                  @bluthner as I said, you don’t get to control past and future counts individually.

                  and as u mentioned, past is days, nothing smaller

                  ongoing is for recurring that started before today

                  maximumNumberOfDays can limit past count (by days)

                  maximumEntries is count

                  add past in front of future and count from start of list for maximumEntries

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  B 1 Reply Last reply Aug 5, 2021, 1:48 PM Reply Quote 0
                  • B Offline
                    Bluthner @sdetweil
                    last edited by Aug 5, 2021, 1:48 PM

                    @sdetweil

                    I was able do make only today’s past events to appear, along with future events. It kind of works to me. But, can I have some sort of auto scroll? Because, as it is working, it shows the beginning of the day. Because there are so many events it ends not showing current and future events. And there will be no control by who will look at the display. No touch screen or mouse, only the screen itself.

                    I appreciate your help so far, thanks again!

                    S 1 Reply Last reply Aug 5, 2021, 2:00 PM Reply Quote 0
                    • S Offline
                      sdetweil @Bluthner
                      last edited by Aug 5, 2021, 2:00 PM

                      @bluthner no scrolling… sorry

                      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
                        6/10
                        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