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.

    Calendar modification

    Scheduled Pinned Locked Moved Tutorials
    35 Posts 15 Posters 46.2k Views 12 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.
    • MichMichM Offline
      MichMich
      last edited by

      Thank you very much! Maybe you can add it to the Wiki on github?

      1 Reply Last reply Reply Quote 0
      • 0 Offline
        00conman
        last edited by

        Where do I go to do that?

        1 Reply Last reply Reply Quote 0
        • MichMichM Offline
          MichMich
          last edited by

          https://github.com/MichMich/MagicMirror/wiki/_new

          0 1 Reply Last reply Reply Quote 0
          • 0 Offline
            00conman @MichMich
            last edited by

            @MichMich I tried the link and I just get an 404 error. If you would be so kind as to look into this or if you just want put it on the wiki yourself I’m fine with that.

            1 Reply Last reply Reply Quote 0
            • KirAsh4K Offline
              KirAsh4 Moderator
              last edited by

              Link works for me … unless something changed between when you posted your response and now …

              A Life? Cool! Where can I download one of those from?

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

                attention!
                this works only if the calendar is shared to public!

                KirAsh4K P 2 Replies Last reply Reply Quote 0
                • KirAsh4K Offline
                  KirAsh4 Moderator @garnett
                  last edited by

                  @garnett, both public and private Google calendars work. I have both displayed on mine.

                  A Life? Cool! Where can I download one of those from?

                  G M 2 Replies Last reply Reply Quote 0
                  • G Offline
                    garnett @KirAsh4
                    last edited by

                    @KirAsh4
                    uh yes, sorry! thats right. i was confused by the message from the google calendar.

                    works with private and public ;)

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      aarinsingh
                      last edited by

                      Can somebody please post their config file with the maximumNumberOfDays line inserted. I’m not sure what I’m doing wrong but everytime I try to adjust this I crash my config file. Everything else is working perfect.

                      Thanks

                      1 Reply Last reply Reply Quote 0
                      • MichMichM Offline
                        MichMich
                        last edited by

                        @aarinsingh Could you copy paste your config including the maximumNumberOfDays (so I can try to find what you’re doing wrong). Don’t forget to remove sensitive data.

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          brad
                          last edited by paviro

                          Here is my info @aarinsingh , it doesn’t crash but it is also not limiting the number of days. From what I can see at a quick glance is that this was using a method that may have been replaced in the load process for this module, because it seems to only be using the default for this setting. I may follow to code later and see how this is loading and why my setting is being ignored.

                          {
                          			module: 'calendar',
                          			header: 'Events',
                          			position: 'top_left',
                          			maximumNumberOfDays: 7,
                          			config: {
                          				calendars: [
                          					{
                          						symbol: 'calendar-check-o ',
                          						url: 'https://calendar.google.com/calendar/ical/your-info'
                          					}
                          				]
                          			}
                          		},
                          

                          Note from admin: Please use Markdown on code snippets!

                          1 Reply Last reply Reply Quote 0
                          • Wilco89W Offline
                            Wilco89
                            last edited by

                            Put it after config: { and it will work

                            1 Reply Last reply Reply Quote 0
                            • MichMichM Offline
                              MichMich
                              last edited by

                              maximumNumberOfDays should be part of the config object:

                              {
                              			module: 'calendar',
                              			header: 'Events',
                              			position: 'top_left',
                              			config: {
                                                              maximumNumberOfDays: 7,
                              				calendars: [
                              					{
                              						symbol: 'calendar-check-o ',
                              						url: 'https://calendar.google.com/calendar/ical/your-info'
                              					}
                              				]
                              			}
                              		},
                              
                              1 Reply Last reply Reply Quote 0
                              • B Offline
                                brad
                                last edited by

                                That makes perfect sense. :) sorry didn’t catch that…

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  MagicCrumps1 @KirAsh4
                                  last edited by

                                  @KirAsh4 Weird. I had to make mine public or else the dashboard wont be able to display saying “No Events”

                                  KirAsh4K 1 Reply Last reply Reply Quote 0
                                  • KirAsh4K Offline
                                    KirAsh4 Moderator @MagicCrumps1
                                    last edited by

                                    @MagicCrumps1, perhaps you were using the wrong URL? There’s both a public and a private one. If you use the public URL, then you must also set your calendar to public view. But the private URL has the authentication key in it. No need to make the calendar public.

                                    A Life? Cool! Where can I download one of those from?

                                    M 1 Reply Last reply Reply Quote 1
                                    • M Offline
                                      MagicCrumps1 @KirAsh4
                                      last edited by

                                      @KirAsh4 Of course that worked. Thanks for the silver bullet

                                      1 Reply Last reply Reply Quote 0
                                      • 0 Offline
                                        00conman
                                        last edited by

                                        Hey guys sorry I’ve been away so I haven’t seen all these posts but I would recommend putting the calendar in monthly mode so events to disappear prematurely.

                                        KirAsh4K 1 Reply Last reply Reply Quote -1
                                        • KirAsh4K Offline
                                          KirAsh4 Moderator @00conman
                                          last edited by

                                          @00conman, care to explain what you mean?

                                          A Life? Cool! Where can I download one of those from?

                                          0 1 Reply Last reply Reply Quote 0
                                          • 0 Offline
                                            00conman @KirAsh4
                                            last edited by

                                            @KirAsh4 I keep my calendar in month mode because it makes sure that events don’t delete halfway through a day and when in month mode it prevents a glitch from occurring. In that glitch on the mirror itself events will be assigned random times, in my case the newest event would be assigned 4:00 am and then each event after that would increase by the hour to 5:00 and so on. There is also an occurrence that events will randomly delete themselves from the actual mirror, not the online calendar, so putting this in month mode will cause them to remove themselves, or stop displaying, on the mirror at 12:00 o’clock midnight the day that they were assigned. It is certainly not necessary but I would do it because it take just a few seconds.

                                            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
                                            • 1 / 2
                                            • 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