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

    Scheduled Pinned Locked Moved Productivity
    198 Posts 45 Posters 232.8k Views 45 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.
    • V Offline
      Vauxdvihl
      last edited by Vauxdvihl

      @Sean
      Sorry again but i have another question / problem
      You can see in my above standing screens that split view => current / upcoming does not work.
      But before doing the update it was working.

      Here is my config code

      		{
      				module: 'MMM-CalendarExt',
      				position: "lower_third", //anywhere. It is not related to real position of view
      				config: { // Read below
      				system: {
      				  show: ['current','upcoming','daily'],
      				  locale: 'de', //when omitted, default value would be your system default locale by moment.js
      				  showEmptyView: 0,
      				  fullDayEventLocalize: 1,
      				  redrawInterval: 30*60*1000, //minimum 60000
      				  useProfileConfig: 0,
      				  startProfile: ''
      				},
      				
      				 views: {
      						current: {
      						  position: "top_left",
      						  title: "Heute",
      						  limit: 3,
      						},
      						upcoming: {
      						  position: "top_left",
      						  title: "Demnächst",
      						  limit: 3,
      						},
      						daily: {
      						  position: "bottom_bar",
      						  title: "Überblick",
      						  counts: 7,
      						}
      					  },
      
      1 Reply Last reply Reply Quote 0
      • V Offline
        Vauxdvihl
        last edited by Vauxdvihl

        @Sean
        Hi,
        it is me again.
        After having everything running, my wife wants to have the view “weekly” with 2 counts.
        Now i have the “problem”, that i search for the config parameter which allows also to see the timings in this view (like 08:00-10:00 …and so on)
        Is it possible in the “weekly” view?
        Thanks again for your support and help

        0_1508615903383_Test.png

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

          @Vauxdvihl
          Yes possible.

          Put this code in your css.

          div.CALEXT .tableStyle .eventTime {
              display:block;
          }
          

          I’m not on the console on weekends, so i didnt test it, but i think it will work.

          Ps. that view is not ‘weekly’. It is ‘weeks’

          1 Reply Last reply Reply Quote 0
          • V Offline
            Vauxdvihl
            last edited by

            @Sean
            Yes you are right…it is the view "weeks
            Now i have in the appointment also the date within…it looks a little bit twice…because the date is also within the header of the week…

            May be you can help me

            Thanks a lot

            0_1508651053760_Test.png

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

              @Vauxdvihl
              Maybe on Monday I’ll provide you a patch about that.
              In ‘Month’ and ‘weeks’ view, I assume nobody needs exact time, because those views might have too many events to show with time. So I I’ve thought time displaying is needed in only daily, upcoming, current.
              Anyway, I’ll follow opinion of my real users. :)

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

                @Vauxdvihl
                I’ve finished the patch, re-pull the source and try again.

                1 Reply Last reply Reply Quote 0
                • V Offline
                  Vauxdvihl
                  last edited by

                  Thanks a lot
                  It works

                  1 Reply Last reply Reply Quote 0
                  • cowboysdudeC Offline
                    cowboysdude Module Developer
                    last edited by cowboysdude

                    @Sean this is THE best calendar module by far…awesome job!

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Phil_T
                      last edited by

                      @Sean First of all, great work! This module was exactly what I was looking for.

                      I´ve been tinkering with it for about a day now and I got a few small issues.

                      1. Unfortunately I can´t get this (https://calendar.google.com/calendar/ical/de.austrian%23holiday%40group.v.calendar.google.com/public/basic.ics) calendar to show, any suggestions?
                      2. As you can see on the screenshot below, there is quite some space left for calendar to use. Any tips on how can designate all this void area for the calendar?
                        0_1511963454374_screenshot.png
                      3. I can´t seem to enable the event time (eg. 17:00-19:00 next to the event title), what might be the problem here?

                      Thanks a lot for the help!

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

                        @Phil_T said in MMM-CalendarExt:

                        Unfortunately I can´t get this (https://calendar.google.com/calendar/ical/de.austrian%23holiday%40group.v.calendar.google.com/public/basic.ics) calendar to show, any suggestions?

                        Has it “Erster Advent” on 3 December? I can see that event.

                        As you can see on the screenshot below, there is quite some space left for calendar to use. Any tips on how can designate all this void area for the calendar?

                        Did you mean whole calendar area? or each event?
                        for whole calendar area; Add this code to your css/custom.css

                        .CALEXT div.tableStyle {
                         width:100%;
                        }
                        

                        I can´t seem to enable the event time (eg. 17:00-19:00 next to the event title), what might be the problem here?

                        Well, I assumed in month view and weeks view people might not need exact time, (Mirror is too small to display many things), So I disabled it by default.
                        Add this to your css/custom.css

                        div.CALEXT div.tableStyle div.eventContainer div.eventTime {
                          display:block;
                        } 
                        
                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          Phil_T
                          last edited by Phil_T

                          Thanks a lot for the quick response!

                          There should also be “Mariä Empfängnis” on the 8th of December, which isnt showing (maybe a problem with ä, ö and ü?).

                          Sorry for my confusing explanation. I meant for the calendar to cover the whole screen apart from a bar at the top for time and weather.

                          Thanks, the time is showing.

                          edit: furthermore, how can I stop the module from cutting off the bottom part?
                          0_1511967876094_screenshot.png

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

                            @Phil_T
                            For position, you can set your view position in config.

                            config: {
                                    system: {
                                      show: ["weeks"],
                                      locale: 'en',
                                    },
                                    views: {
                                      weeks: {
                                        position: "bottom_bar", // Set this as your wish.
                                        counts: 4,
                                      },
                            ...
                            

                            Ref.) https://forum.magicmirror.builders/topic/286/regions

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

                              @Phil_T

                              edit: furthermore, how can I stop the module from cutting off the bottom part?

                              Hmmm… On my mirror, Mariä Empfängnis is shown well.
                              I suspect your configuration contains limit or overflow options.

                              See here. https://github.com/eouia/MMM-CalendarExt/wiki/Manipulation-of-looks#viewlimit--viewoverflow

                              You could get idea how to optimize size in that page.

                              Anyway, 4 weeks and month view are frankly a bit large for mirror (I think.).

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                Phil_T
                                last edited by

                                Wonderful, everyting works now. Thanks a lot!

                                1 Reply Last reply Reply Quote 0
                                • H Offline
                                  helmi
                                  last edited by

                                  MMM-CalendarExt not updating calendar events.**
                                  I have configured two calendar views: “daily” and “upcoming”. I have set the redrawInterval to minimum: 60000 ms. I have two calendars: Private Google Calendar and local ics calendar file. When I update one or another of my calendars, my calendars don’t update at all. Updates happen only when I restart MMM from the beginning. For testing purposes I have also the “default” calendar in my configuration and it updates normally. For testing purposes I have added command 'self.sendSocketNotification(‘RESET_CALENDARS’) to the MMM-CalendarExt.js code inside the redrawTimer function. This dirty patch resets the calendars every 60 seconds, but I don’t think this is the right way to solve my problem. Please help.

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

                                    @helmi
                                    Well, I tested and found nothing problem.
                                    So, I suspect there might be some errors in front-electron views. Front-view error(from any module) could cause interfering other modules working. You can test by npm start dev.

                                    H 2 Replies Last reply Reply Quote 0
                                    • H Offline
                                      helmi @Guest
                                      last edited by

                                      @Sean I have been using the ‘npm start dev’ and it shows no errors. From the console log I can see that the timer triggers as expected. From the Calendar.js log (terminal view) I can see that the calendars fetching happens only when I start MMM from the beginning.

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        helmi @Guest
                                        last edited by

                                        @Sean FYI: I have removed all other modules, only MMM-CalendarExt existing. I have also removed local calendar file, only Google Calendar URL existing. I have done shutdown and restart (both Rpi and MMM) several times. Problem still exists. For me looks like problem is where the calendars fetching should trigger. They happen only once when I start MMM from the beginning.

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

                                          @helmi
                                          Hmmmm… weird.

                                          Anyway, Calendar fetching interval([calendar].interval) is different with front-view redrawing(system.redrawInterval). There is some possibility of you’ve been confusing.

                                          H 1 Reply Last reply Reply Quote 0
                                          • H Offline
                                            helmi @Guest
                                            last edited by

                                            @Sean Ok - So does that mean that the redrawInterval parameter (my setting 60000) has nothing to do with Calendar fetching interval? If so, could you please give me some testing procedure in order to test those parts of the code where the fetching interval is working (or for me: not working)? I have some coding experience, but js is not my best knowledge.

                                            ? 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
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 2 / 10
                                            • 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