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 940.9k 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.
    • S Offline
      Subintro
      last edited by

      Hey, so I’ve been using CalendarExt2 for a while for the ‘Current’ calendar feature, but I’m having to move the calendar I use over to private, I have an account with full authorization to view the calendar but when I add

      	auth: {
      		user: "blahblahblah@gmail.com",		
      		pass: "password",
      		method: 'basic'
      		}
      

      to my calendar config, it stops working and kind of causes my whole MagicMirror to crash after a while. The logs show everything loading as normal.

      My full config is

      		{
      	module: "MMM-CalendarExt2",
      	config: {
      	calendars : [
      		{
      		name: "Current",
      		scanInterval: 120000,
      		maxItems: 4,
      		url: "",
      		auth: {
      				user: "",
      				pass: "",
      				method: "basic",
      			},
      		},
      	],
      	views: [
      		{
      		name: "Current",
      		mode: "current",
      		position: "bottom_center",
      		calendars: [],
      		slotTitle: "Current Event",
      		},
       ],
       scenes: [
      		{
      		name: "DEFAULT",
      		views: [],
      		},
      		],
      	},
      },
      

      I do use this with another calendar module, that one works fine with the authentication though.

      Thank you for the great module otherwise!

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

        @Subintro
        Can you send your ics url and account information? I need those info to examine.
        If you don’t care, send me by email. (eouia0819@gmail.com)

        S 1 Reply Last reply Reply Quote 0
        • W Offline
          wegz15
          last edited by

          Hello, I’m having several issues. Im new to coding for the most part. I took a couple basic web design classes about 12 years ago.
          I was working on my magic mirror for about 12 hours yesterday. The major issue being my events are not loading from my Google calendar. I used it in the standard upcoming holidays module to make sure I was linking it correctly. They show up there, but not in the calenderext2. The other issue is sizing. Its larger than the screen viewing area. I’m sure I’m doing something wrong. I copied the example that was posted in the file and it changes the css look but not the size and events still dont show up. Any help would be appreciated.

          1 Reply Last reply Reply Quote 0
          • S Offline
            Subintro @Guest
            last edited by

            @Sean
            Damn, I appreciate you trying to take a look but I technically cant due to HIPAA compliance.

            Have you heard of anyone having any issues with the auth before?

            1 Reply Last reply Reply Quote 0
            • W Offline
              wegz15
              last edited by

              So, I tried a public google calendar as well as 2 of my private shared google calendars. The shared public one does not work, 1 of my shared one works, and 1 does not within the module. However, all of these calendars work in the default upcoming events module. Any suggestions on why this is? Also, I tried changing the “calendarfetcher.js” in the default calendar folder and with that change the default calendar stopped working, but the mmm-calendarext2 worked.

              W ? 2 Replies Last reply Reply Quote 0
              • W Offline
                wegz15 @wegz15
                last edited by

                I think I figured out the problem. I can see other recent events added to these calendars. I think since they are older calendars they fall outside of the maxItems: 100, beforeDays: 60, afterDays: 365, maxIterations: 100 ranges. I tried adjusting those to go back to the start of the calendars and when I do it doesn’t pull in any events from any of my calendars. I’m not sure how to fix this.

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

                  @wegz15
                  maybe some repeated events couldn’t be parsed. this is using different parser with default module. it is faster and has more features. but occasionally it fails some repeated events.
                  i’m researching how to improve but not yet success. i may return but need more time to consider.

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

                    @wegz15
                    anyway, can you send me your ics url and configuration? my mail is eouia0819@gmail.com

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

                      @wegz15
                      Now I think found something. set your maxIteration to 1000.
                      The reason is, your “Red Shift” events is started from too past, so even after 100(default value) occurrences it couldn’t reach to present age.
                      0_1558100157025_redshift.png

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        wegz15
                        last edited by

                        Yep, that worked. Thank you. I tried that, but I had it in the wrong spot. Its been trial and error trying to learn which values effect what on the main screen. If any one knows, is there a way to make the calendar not try to take up the full screen with the normal size text? Maybe use the % somewhere? I also have not been able to figure out how to get rid of the week number, I’m somehow missing a day, and I can’t figure out a way to get rid of the “last tuesday, Yesterday, today”. I’d also like to make that bottom weather “shorter”.
                        Im just not sure how or where to edit these values. Is there maybe a tutorial or video to learn how to “edit” magicmirror and modules?
                        0_1558109955904_mm_screenshot.png

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

                          @wegz15
                          month or week view might be too huge even for 1920*1080 size.

                          • To get rid of week number, open your css/custom.css then add this.
                          .CX2 .weeksmark {
                            display:none;
                          }
                          
                          • To adjust day format, add this in your view configuration
                          slotTitleFormat: "D",
                          slotSubTitleFormat: "ddd",
                          

                          I think you’ve set above fields in defaultSet, but each view can have it’s own setting. Especially, week and month could have different behaviors with other views for settings. Read the wiki carefully. https://github.com/eouia/MMM-CalendarExt2/wiki/2d.-Configuration:defaultSet

                          1 Reply Last reply Reply Quote 0
                          • W Offline
                            wegz15
                            last edited by

                            I guess what is confusing me the most is where to actually put each piece. I have that in currently and I am still seeing the “last, next today…”

                            module: 'MMM-CalendarExt2',
                            	config: {
                            		scenes:[
                            			{
                            				name: "DEFAULT",
                            				views: ["Monthly"],
                            			},
                            		],
                            		views:[
                            			{
                            				name: "Monthly",
                            				mode: "Month",
                            				position: "top_right",
                            				locale: "en",
                            				slotMaxHeight: "70px",
                            				dateFormat: "M/D",
                            				weeksFormat: " ",
                            				slotSubTitle:"ddd",
                            				slotTitleFormat: "D",
                            				slotSubTitle:"",
                            				dateTimeFormat: "ddd mm/dd",
                            				timeFormat:"h:mm A",
                            				slotCount: 5,
                            				showWeekends: true,
                            				hideOverflow: true,
                            				filterPassedEvent: false,
                            				calendars: ["Work"],
                            			},
                            		],
                            

                            And I guess I’m asking if in general there is a way to scale the whole module so I can have a whole calendar fit into the open space. Thank you for all the help so far. This is my 3rd “day” working with magicmirror.

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

                              Very weird. I use your configuration (even with your ics)
                              And this is what my screen shows.
                              0_1558116297242_te.png
                              There might be more configuration values than you posted. Give me whole configuration.

                              1 Reply Last reply Reply Quote 0
                              • W Offline
                                wegz15
                                last edited by

                                I emailed you my whole set up earlier. I think there is something, somewhere in another folder I must have messed with. I deleted everything but my clock and pasted just the calendar and it is showing up as pictured. Maybe a fresh install of MM or MMM-calendarext2. 0_1558118108866_Screenshot (1).png

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  Jerrylein
                                  last edited by

                                  @Sean thanks for the great module.

                                  I would like to change the design of calendar as in calendarext (Weekdays and monthTitleFormat)
                                  alt text

                                  is this possible or should I use calendarext v1?

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

                                    @Jerrylein
                                    weekdays name could be cutomizable, but calext2 doesn’t have monthtitle on monthview

                                    J 1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      Jerrylein @Guest
                                      last edited by

                                      @Sean

                                      ok. but how I can change this? I mean the weekdays (sun, mon, tue,wed) are not in the same row with days.
                                      alt text

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

                                        @Jerrylein
                                        That is slotSubTitleFormat.
                                        in Mon 26, Mon will be slotSubTitle and 26 will be slotTitle. (and additionally 11/25 will be slotAltTitle)

                                        So, if you set like;

                                        {
                                          name: "VIEW1",
                                          mode: "month",
                                          position: "fullscreen_below",
                                          slotSubTitleFormat: "dddd", // (default value is "ddd")
                                        },
                                        

                                        It will show Monday instead of Mon
                                        https://github.com/eouia/MMM-CalendarExt2/wiki/2c4.-View:week,-month

                                        J 1 Reply Last reply Reply Quote 0
                                        • J Offline
                                          Jerrylein @Guest
                                          last edited by

                                          @Sean
                                          thx.
                                          But I do not want to change the format.
                                          I would like to change the design of slotSubTitle as in Calext V1

                                          Here is Calext V1
                                          0_1559575412900_223b33a9-2c85-4195-bb22-ce21cff7f630-image.png

                                          that’s calext2
                                          0_1559575528943_6d988590-dcd7-408a-bed0-141bba4c196b-image.png

                                          I think i should change custom.css file? but how?

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

                                            @Jerrylein
                                            If so, why aren’t you using CalendarExt2?
                                            Unfortunately, that part of CalendarExt is table header so it can’t move.
                                            But with CalendarExt2, you can mimic CalendarExt style. like this; (Even though that’s not you want.)

                                            I misread your first question. so you can make it like this;
                                            0_1559576670029_ce2mimic.png

                                            .CX2 .weekSlot.seq_0 .cellSlot .slotSubTitle {
                                              position:relative;
                                              top:-30px;
                                              left:40%;
                                            }
                                            
                                            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
                                            • 24
                                            • 25
                                            • 3 / 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