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-CalendarExt2

    Scheduled Pinned Locked Moved Utilities
    486 Posts 83 Posters 669.8k Views 83 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.
    • ? Offline
      A Former User
      last edited by A Former User

      MMM-CalendarExt2

      Whole new build-up for MMM-CalendarExt

      Screenshot

      sample

      Concept

      Concept

      Install & Configuration

      See the wiki

      Major feature

      • Multiple views at same time in a scene
      • Scenes could be rotated by time or notification or other trigger (e.g: Scene per PAGE)
      • MMM-CalendarExtTimeline, MMM-TelegramBot supported.
      • Over 5000 icons; (iconify)
      • custom class for beautifying
      • month/week timeline view.

      What’s different with MMM-CalendarExt

      But if you have no dissatisfaction with MMM-CalendarExt, leave it.

      • New parser. New look.
      • profile is deprecated. scene is more than that.
      • Beautiful timeline view (month/week)
      • dynamic scene changeable.

      MEMO

      • I should release this before my winter holidays. So this is not tested fully.
      • Bug reports, PR, any other suggestions are always welcome!

      [card:eouia/MMM-CalendarExt2]

      G 1 Reply Last reply Reply Quote 1
      • ? Offline
        A Former User
        last edited by

        The hardest part of development was writing manual…

        Cr4z33C 1 Reply Last reply Reply Quote 0
        • Cr4z33C Offline
          Cr4z33 @Guest
          last edited by

          @sean true, but I have to say that your manuals are the most complete here. :D

          1 Reply Last reply Reply Quote 0
          • G Offline
            gregp
            last edited by

            Great module! Love the formatting, incredibly beautiful and flexible.

            I do have a question - I know I can specify a custom icon per calendar, and I can also customize/replace title text as needed for display, but is there an easy way to provide a custom icon based on text in the title? E.g. Anytime you find the word Birthday in the title, specify a balloon icon? I’ve thought of a few options to do this by filtering the same calendar URL multiple times, but it seemed pretty inefficient from a processing perspective.

            ? 2 Replies Last reply Reply Quote 0
            • ? Offline
              A Former User @gregp
              last edited by

              @gregp
              Not supported directly(even though you can do like your words - filtering same calendar), but good suggesion. I’ll consider that feature on next updates.

              1 Reply Last reply Reply Quote 1
              • D Offline
                dmd
                last edited by

                @Sean First of all, thanks for the great module! We’re using it at work for car reservation calendar. Can you help me customise it? He’re the config:

                {
                                        module: "MMM-CalendarExt2",
                                        position: "upper_third",
                                        config: {
                                                calendars : [
                                                {
                                                url: "https://outlook.office365.com/owa/calendar/supersecret.ics
                                                },
                                                ],
                                                views: [
                                                {
                                                mode: "weekly",
                                                },
                                                ],
                                                scenes: [
                                                {
                                                name: "AUTOKALENTERI",
                                                },
                                                ],
                                        },
                                },
                
                

                screenshot:
                0_1549871839694_CalendarExt2.jpg

                What I’d like to change:

                • hide past days
                • show let’s say 10 markings per week
                • show no more than two weeks / current week only
                • hide the module logo at the center of the screen
                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @dmd
                  last edited by A Former User

                  @dmd

                  hide past days

                  In calendar configuration, set beforeDays:0 or in view configuration, set filterPassedEvent: true.
                  https://github.com/eouia/MMM-CalendarExt2/wiki/2b.-Configuration:Calendar
                  https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration:View

                  show let’s say 10 markings per week

                  Sorry I cannot understand what this means. I’m not good at English, sorry. Tell me more detailed description or example.

                  show no more than two weeks / current week only

                  I think you are using view:weekly. set fromNow:0 and slotCount:1 on your view configuration.
                  https://github.com/eouia/MMM-CalendarExt2/wiki/2c.-Configuration%3AView
                  https://github.com/eouia/MMM-CalendarExt2/wiki/2c2.-View:weekly,-monthly

                  hide the module logo at the center of the screen

                  You might have set the position of module itself. MMM-CalendarExt2 doesn’t need position for module itself. remove it from your configuration.

                  {
                    module: 'MMM-CalendarExt2',
                    // here you don't need to describe position of module itself.
                    config: {
                  

                  https://github.com/eouia/MMM-CalendarExt2/wiki/2.-Configuration

                  D 1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User @gregp
                    last edited by

                    @gregp
                    I’ve updated. Now you can transform the event properties as your wish.

                    // In your targeted view configuration, add this.
                    
                    transform: (event)=>{
                      if (event.title.search("Birthday") > -1) { // If the event might include "Birthday" in its title,
                        event.icon = "fxemoji-birthdaycake" // Set icon of that event to "fxemoji-birthdaycake"
                      }
                      return event // Return that event.
                    }
                    
                    G BKeyportB 2 Replies Last reply Reply Quote 1
                    • G Offline
                      gregp @Guest
                      last edited by

                      @sean Wow! Fantastic! Will give it a whirl.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        dmd @Guest
                        last edited by dmd

                        @sean “show let’s say 10 markings per week”
                        What I meant was that there were two items missing on week 6. Therefore the “+2” like in the screenshot. Fixed it with:

                        hideOverflow: true
                        

                        “You might have set the position of module itself. MMM-CalendarExt2 doesn’t need position for module itself. remove it from your configuration.”
                        Ah, of course. Set position under “views” and now it’s working as desired. Thank you!

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 48
                        • 49
                        • 1 / 49
                        • 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
                          OSZAR »