MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

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

    Requests
    2
    10
    347
    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.
    • Bluthner
      Bluthner last edited by

      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 Reply Quote 0
      • S
        sdetweil @Bluthner last edited by

        @bluthner see the config option

        broadcastPastEvents

        Sam

        Create a working config
        How to add modules

        Bluthner 1 Reply Last reply Reply Quote 0
        • Bluthner
          Bluthner @sdetweil last edited by

          @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 Reply Quote 0
          • S
            sdetweil @Bluthner last edited by

            @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

            Create a working config
            How to add modules

            Bluthner 1 Reply Last reply Reply Quote 0
            • Bluthner
              Bluthner @sdetweil last edited by

              @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 Reply Quote 0
              • S
                sdetweil @Bluthner last edited by sdetweil

                @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

                Create a working config
                How to add modules

                Bluthner 1 Reply Last reply Reply Quote 0
                • Bluthner
                  Bluthner @sdetweil last edited by

                  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 Reply Quote 0
                  • S
                    sdetweil @Bluthner last edited by

                    @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

                    Create a working config
                    How to add modules

                    Bluthner 1 Reply Last reply Reply Quote 0
                    • Bluthner
                      Bluthner @sdetweil last edited by

                      @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 Reply Quote 0
                      • S
                        sdetweil @Bluthner last edited by

                        @bluthner no scrolling… sorry

                        Sam

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy