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 942.3k 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.
    • M Offline
      mscrawford5 @JRB1988
      last edited by

      @JRB1988
      Did you happen to figure out why MMM-Todoist was causing the green underline on calendars ? I’m having the same problem and can’t seem to find a solution.
      Thank you in advance

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

        @mscrawford5
        add this into your css/custom.css

        .today {
          text-decoration: inherit;
        }
        
        .tomorrow {
          text-decoration: inherit;
        }
        
        .MMM-Todoist .today {
          text-decoration: underline #03a05c;
        }
        
        .MMM-Todoist .tomorrow {
          text-decoration: underline #166cec;
        }
        

        Not tested, but you can catch the idea.

        M 1 Reply Last reply Reply Quote 0
        • E Offline
          EdO @Thekk
          last edited by

          @Thekk Thanks for this, just implemented it and it work like a charm. Took me a while to find node_helper.js until I did a find on it and found it in the MMM-CalendarExt2 folder (as well as everywhere else). I’m still a noob with the RPI so not all things are obvious.

          It took me no time at all to find the place to make the change and then I added the filter to the upcoming view while leaving the monthly view alone; exactly what I wanted! Thanks again.

          Now just need to make sure that this gets incorporated into the next module.

          1 Reply Last reply Reply Quote 0
          • M Offline
            mscrawford5 @Guest
            last edited by

            @Sean
            That worked.Thank you for your help!

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

              @Thekk
              Thanks. I haven’t thought about that method. Now I updated that part in the module.

              T 1 Reply Last reply Reply Quote 0
              • E Offline
                EdO
                last edited by

                Experiencing a new problem. I have MMM-CalendarExt2 configured with two calendars and two views. I have one view that shows upcoming events, top_left, looking out in the next 90 days (we don’t have a lot of events at the moment) and a second view that is monthly fullscreen. Both calendars are listed in both views and have css entries to color code which calendar the event comes from.

                When MM first starts up, only the first calendar appears in each view; however, when MMM-CalendarExt2 refreshes, both calendar events appear and are properly color coded. This doesn’t change unless I restart MM and then the process repeats.

                Both calendars are defined exactly the same way.

                Since the events in the second calendar eventually appear, I’ve ruled out potential errors in the config file.

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

                  @EdO
                  try to set “firstDrawingDelay” to 1000 or 2000 something, or shorten ‘updateInterval’ or ‘rotateInterval’.
                  The reason would be; all your events are not loaded or parsed yet on its first drawing cycle, so only some of them will be displayed at that time. Remains will be parsed and displayed on next cycle when prepared.

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    EdO @Guest
                    last edited by

                    @Sean
                    Thanks for getting back to me so fast.

                    Ok firstDrawingDelay and rotateInterval are both at default values while updateInterval is set to 300000.
                    I’ll first try setting rotateInterval to 1000 to match firstDrawingDelay to see if that fixes the problem. If that doesn’t work, I’ll experiment until I find something that does.

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

                      @EdO
                      if you are using only one scene or you don’t mind change of event applied instantly,
                      you don’t need to keep interval so shortly. I think 1 -2 sec for firstDrawDelay would be enough.

                      1 Reply Last reply Reply Quote 0
                      • BKeyportB Offline
                        BKeyport Module Developer
                        last edited by

                        @Sean - been thinking about changing up my calendar a bit, and was wanting to see if this is possible. I want the majority of my screen to be a monthly calendar (the entire month), but not show individual events on a particular agenda/calendar (“Appointments”), rather show the number of events each day. For other agendas/calendars, I want items to show. Example using a downloaded monthly calendar template (18th, 19th, and 20th is typed in like I want)

                        Example

                        Then, I’d like a separate view, using only today’s events. I currently use the “daily” view, but I’d like to restrict it to “Today”.

                        Is this possible?

                        The "E" in "Javascript" stands for "Easy"

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

                          @BKeyport
                          you just want to show only event.of today? use “daily” with “slotCount:1”.

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            Thekk @Guest
                            last edited by

                            @Sean said in MMM-CalendarExt2:

                            @Thekk
                            Thanks. I haven’t thought about that method. Now I updated that part in the module.

                            Excellent! Thanks for integrating the recurring filter.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              Turtle
                              last edited by

                              Hello @Sean,

                              I just came upon your MMM-CalendarExt2 in the last few days. I think it will do what I need it to do for me. Awesome job! But before I dive in, I like to get myself familiar with it. After reading all the posts in this thread, you keep mentioning about adding “style codes” into the css/custom.css file. By any chance, this been renamed to “main.css”? This is the only css file I have in the “MagicMirror/css/” folder.

                              C 1 Reply Last reply Reply Quote 0
                              • C Offline
                                cskenney @Turtle
                                last edited by

                                @Turtle In the CSS folder you should also have a custom.css file (in addition to the main.css file) that was created when you installed MagicMirror.

                                T 1 Reply Last reply Reply Quote 0
                                • T Offline
                                  Turtle @cskenney
                                  last edited by

                                  @cskenney said in MMM-CalendarExt2:

                                  @Turtle In the CSS folder you should also have a custom.css file (in addition to the main.css file) that was created when you installed MagicMirror.

                                  @cskenney - I do not have a custom.css file. Only have the main.css file. Why I’m so confused right now.

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

                                    @Turtle
                                    I don’t know why, but some nowadays version of MagicMirror has been missing css/custom.css. Just create empty text file and name it as custom.css then save it to your css directory.

                                    T S 2 Replies Last reply Reply Quote 0
                                    • T Offline
                                      Turtle @Guest
                                      last edited by

                                      @Sean said in MMM-CalendarExt2:

                                      @Turtle
                                      I don’t know why, but some nowadays version of MagicMirror has been missing css/custom.css. Just create empty text file and name it as custom.css then save it to your css directory.

                                      @Sean - I thought I could do that but wanted to make sure but before I did that though I was able to find another css file called “MMM-CalendarExt2” in another folder and made some changes to that file which seems to be working. Of course, I made a backup of it just in case but for some reason, that file is acting like custom.css.

                                      C ? 2 Replies Last reply Reply Quote 0
                                      • C Offline
                                        cskenney @Turtle
                                        last edited by

                                        @Turtle said in MMM-CalendarExt2:

                                        @Sean said in MMM-CalendarExt2:

                                        @Turtle
                                        I don’t know why, but some nowadays version of MagicMirror has been missing css/custom.css. Just create empty text file and name it as custom.css then save it to your css directory.

                                        @Sean - I thought I could do that but wanted to make sure but before I did that though I was able to find another css file called “MMM-CalendarExt2” in another folder and made some changes to that file which seems to be working. Of course, I made a backup of it just in case but for some reason, that file is acting like custom.css.

                                        Custom.css is the only file that doesn’t get over written when you update MM or Calendar-Ext2. That is why it exists. If you modify main.css then a MM update will wipe out the changes. Same thing is true of CalendarExt2.css.

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

                                          @Turtle
                                          To agree @cskenney
                                          When I update MMM-CalendarExt2.css on next version, your change will be lost. Use css/custom.css.

                                          1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @Guest
                                            last edited by

                                            @Sean said in MMM-CalendarExt2:

                                            I don’t know why, but some nowadays version of MagicMirror has been missing css/custom.css.

                                            because we removed it from the git repo, to avoid over-writing it on updates… can’t have it both ways…

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            ? 1 Reply Last reply Reply Quote 0

                                            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
                                            • 1
                                            • 2
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 18
                                            • 24
                                            • 25
                                            • 16 / 25
                                            • 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