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.

    Default Calendar

    Scheduled Pinned Locked Moved Solved Requests
    17 Posts 3 Posters 6.2k Views 3 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.
    • plainbrokeP Offline
      plainbroke
      last edited by sdetweil

      Re: Default Modules
      Is there a way to have 2 calendars I used to have 1 for Birthdays and one for holidays. I simply renamed the default calendar to calendarh and moved it to the moduels folder and in the config.js the config was under calendarh
      I also renamed the css and js files for calendarh directory. I had to go in and change a few things in the js and the css. It all worked so nice. now I can not do that for some reason. Any suggestions what I may be doing wrong this time… ?

      {
              module: "calendar",
              position: "middle_center",
              header: "Birthdays",
              config: {
                      fade: false,
                      maximumEntries: 4,
                      timeFormat: "absolute",
                      urgency: 3,
                      getRelative: 24,
                      calendars: [
                      {
                              symbol: "birthday-cake",
                              url: "https://calendar.google.com
                      }
                                 ]
                      }
      },
      
      {
              module: "calendarh",
              position: "middle_center",
              header: "US Holidays",
              config: {
                      fade: false,
                      maximumEntries: 4,
                      timeFormat: "absolute",
                      urgency: 3,
                      getRelative: 24,
                      calendars: [
                      {
                              symbol: "h-square",        url:"https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics"
                      }
                                 ]
              }
      },
      

      Slow learner. But trying anyways.
      MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
      Running Trixie and the latest MM version.

      S 1 Reply Last reply Reply Quote 0
      • swvalentiS Offline
        swvalenti Project Sponsor @sdetweil
        last edited by

        @sdetweil that worked error was syntax, got it working thanks sam

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

          @plainbroke you didn’t need to do all that.

          just define another calendar module if you want them separate.

          or add another entry in the calendars list if u want the events combined

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke
            last edited by

            @sdetweil
            Sorry I do not understand what you mean. “define another calendar module”.
            I have the events combined right now I really would like them as two seperate calendars. I use carousel remember. My Calendars cover most of the screen.

            Slow learner. But trying anyways.
            MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
            Running Trixie and the latest MM version.

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

              @plainbroke

              {
              module:'calendar':
              position:'top_left',
              classes:'page1'
              config:{
              .
              .
              .}
              }
              

              and

              {
              
              module:'calendar':
              position:'top_right',
              classes:'page2'
              config:{
              .
              .
              .}
              }
              

              use mmm-pages, easier

              the modules list for pages is

              [
                 [   'page1' ],
                 [   'page2' ]
              ]
              

              all the modules u want on page 1 use the page1 class
              (it’s just a name, but pages looks for classes, and carousel does not)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              plainbrokeP 1 Reply Last reply Reply Quote 0
              • plainbrokeP Offline
                plainbroke @sdetweil
                last edited by

                @sdetweil
                Thanks I will look into it when i get time. I have carousel working pretty well now. 33 out of the 40 I had working on MM before update to 2.18, so I am plenty happy…

                Slow learner. But trying anyways.
                MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                Running Trixie and the latest MM version.

                swvalentiS 1 Reply Last reply Reply Quote 0
                • swvalentiS Offline
                  swvalenti Project Sponsor @plainbroke
                  last edited by

                  I setup two different calendars in the config with url: “”, and url:“” however only one displays, am I missing something?

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

                    @swvalenti in the module config, the calendars sestting is a list

                       calendars: [
                    
                            { 
                               url:   // first calendar ics 
                              symbol:
                           },       
                            { 
                                     url:    // second calendar ics
                                    symbol:
                            },
                       ]   // <- end of list 
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    swvalentiS 1 Reply Last reply Reply Quote 0
                    • swvalentiS Offline
                      swvalenti Project Sponsor @sdetweil
                      last edited by

                      @sdetweil This is what I have but crashes the mirror…its the same as you put

                      				calendars: [
                      					{
                      						symbol: "calendar-check",
                      						url: ""
                      					},
                      					{
                      						symbol: "calendar-check",
                      						url: ""				
                      					},
                      
                      				]
                      			}
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @swvalenti
                        last edited by

                        @swvalenti show me the output of ‘crashes the mirror’

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        swvalentiS 1 Reply Last reply Reply Quote 0
                        • swvalentiS Offline
                          swvalenti Project Sponsor @sdetweil
                          last edited by swvalenti

                          @sdetweil Just goes to a black screen and throws a bunch of red errors in the cmd window, cant even run dev, one at a time works fine

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

                            @swvalenti show me the errors in the cmd window…

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            swvalentiS 1 Reply Last reply Reply Quote 0
                            • swvalentiS Offline
                              swvalenti Project Sponsor @sdetweil
                              last edited by

                              @sdetweil it wont let me i have to end task cause it wont let me exit mirror

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

                                @swvalenti ctrl-m will minimize
                                crel-c will end in the cmd window

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                swvalentiS 1 Reply Last reply Reply Quote 0
                                • swvalentiS Offline
                                  swvalenti Project Sponsor @sdetweil
                                  last edited by

                                  @sdetweil yea i wont minimize that why i have to end task

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

                                    @swvalenti alt-spacebar, n

                                    never had it not work…

                                    this is why I use ssh for all my access… never have keyboard troubles…

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    swvalentiS 1 Reply Last reply Reply Quote 0
                                    • swvalentiS Offline
                                      swvalenti Project Sponsor @sdetweil
                                      last edited by

                                      @sdetweil that worked error was syntax, got it working thanks sam

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

                                        @swvalenti awesome! glad you got it…

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