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 939.0k 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.
    • ? Offline
      A Former User @Turtle
      last edited by A Former User

      @Turtle

      @Sean - it was sent. Thank you!

      Result of Inspection.

      It seems

      • Turtle’s Calendar - Personal Public calendars
      • Other 3 Calendars - Has only access allowed to Your G Suite Group.

      In this case; the other 3 Calendars’ ical addresses will not be accessible from externs.

      For example; Open the browser and put the URL of your “Work calendar” in the address form. It will show 404 error
      In your Google Calendar settings, you can see warns.

      Warning: The address won’t work unless this calendar is public.

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

        This weekend I’m going to be working some more on the MM especially the CSS to get the calendars the way I want. So, I’m going to be making the “custom.css” file. Which of the current “.css” file am I going to us to fill the “custom.css” file? Also, on the next updating of MM am I going to lose the “custom.css” file?

        Turtle

        S BKeyportB 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @Turtle
          last edited by

          @Turtle no. Custom.css is no longer tracked, so u won’t lose it. The updater script also saves it.

          Custom.css starts out empty, so u add whatever u need.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @Turtle find what you want to modify in the existing css files, then copy them over to custom.css - example:

            
            /* Bottom Bar Adjustments */
            .region.bottom.bar {
            	background-color:rgba(0,0,0,.90);
            }
            
            /* Left adjustments */
            .region.left {
            	text-align: center;
            }
            

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

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

              Thank you @sdetweil and @BKeyport for the information.

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

                @Sean Is there a way to center the title for “daily” view? Normally, I’d just use .css for the region, but that doesn’t work with your module.

                Thanks!

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

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

                  @BKeyport
                  @BKeyport
                  what kind of title? event title like this?
                  https://www.dropbox.com/s/qa0zow00cjs8hsf/a1.png?dl=0

                  .CX2 .daily .eventTitle {
                    text-align:center;
                  }
                  
                  BKeyportB 1 Reply Last reply Reply Quote 0
                  • M Offline
                    Marcel1803
                    last edited by

                    Hi,
                    i’m looking for a daily view with 5 days in one row/line. The default for the daily-view seems to be one day per row.
                    Is there a possibility to show the days in one row?

                    I also tried the week-vie

                    Thanks,
                    Marcel

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

                      @Marcel1803

                      views: [
                        {
                          mode: "daily",
                          type: "row",
                          position:"bottom_bar",
                          slotCount: 5,
                          ...
                      

                      Maybe some additional CSS adjusting might be needed for your environment, but basic concept is that.
                      https://www.dropbox.com/s/oyc8y6qyuiclqia/cal.png

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

                        @Sean No… I can’t post screen shots, but the overall title at the top of the view referenced here:

                        views: [
                        		{
                        			mode: "daily",
                        			**title: "Upcoming Events",**
                        			...
                        

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

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

                          @BKeyport
                          https://www.dropbox.com/s/3jvy3hlz5pdwmi9/mm_cx2_align.png?dl=0
                          As you can see in the bottom region, module header will respect the region align itself by default.
                          Usually, if you want to override the align of module header of a specific module, you can just do like this;

                          .MMM-CalendarExt2 header.module-header {
                            text-align:center;
                          }
                          

                          This CalendarExt2 is using a trick of fake-module for each view, so above CSS rule would make module header of all views to text-align:center;

                          If you want to specify the view in some region, Check this. (See the red titled view on the top right corner)

                          .region.top.right .MMM-CalendarExt2 header.module-header {
                            text-align:left;
                            color:#F00;
                            font-weight:bold;
                          }
                          

                          Be careful about white-space between CSS selectors.

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

                            @Sean Odd - I originally had it for both left and right regions (I like centered headers on a display) as

                            .region.right {
                              text-align:center;
                            }
                            
                            .region.left {
                              text-align:center;
                            }
                            

                            and it didn’t work. Now, once I put that back in, it works.

                            Okay then, Moving on…

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

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

                              @Sean

                              Thank you :slightly_smiling_face:
                              That’s what i was looking for…

                              I think the “type”-property is missing on your documentation, or I haven’ seen it…
                              Thank you.

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

                                Re: MMM-CalendarExt2
                                Hi,
                                Need some assistance to identify the reason and possible fix to my issue please, very new to this and a steep learning curve.
                                I have the calendar working and displaying correctly with other modules but i must leave the Daily view (7 day view) set to Bottom-bar.
                                When I change the region to any other region the Daily view (7 day view) disapears and will not display in any other region.
                                I want to move the daily view to the upper-third region to keep all the calendar elements together if possible.
                                Any guidance will be appreciated, have included the entire code.

                                /* Magic Mirror Config Sample
                                 *
                                 * By Michael Teeuw http://michaelteeuw.nl
                                 * MIT Licensed.
                                 *
                                 * For more information how you can configurate this file
                                 * See https://github.com/MichMich/MagicMirror#configuration
                                 *
                                 */
                                
                                var config = {
                                	address: "localhost", // Address to listen on, can be:
                                	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                	                      // - another specific IPv4/6 to listen on a specific interface
                                	                      // - "", "0.0.0.0", "::" to listen on any interface
                                	                      // Default, when address config is left out, is "localhost"
                                	port: 8080,
                                	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
                                	                                                       // or add a specific IPv4 of 192.168.1.5 :
                                	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                                	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                                	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                                
                                	language: "en",
                                	timeFormat: 12,
                                	units: "metric",
                                	// serverOnly:  true/false/"local" ,
                                			     // local for armv6l processors, default 
                                			     //   starts serveronly and then starts chrome browser
                                			     // false, default for all  NON-armv6l devices
                                			     // true, force serveronly mode, because you want to.. no UI on this device
                                	
                                	modules: [
                                		{
                                			module: "alert",
                                		},
                                		{
                                			module: "updatenotification",
                                			position: "top_bar"
                                		},
                                		{
                                			module: "clock",
                                			position: "top_left"
                                		},
                                		{
                                			module:"MMM-CalendarExtMinimonth",
                                			position:"top_left",
                                			defaults:{
                                				calendars: ["Jaimie","Simona and Jaimie","Birthdays"],
                                			}
                                		},
                                		{
                                    			module: "MMM-forecast-io",
                                    			position: "top_right",  // This can be any of the regions
                                    			config: {
                                      				// See 'Configuration options' for more information.
                                      				apiKey: "54c88fa603b438556e08c96636167cd3", // Dark Sky API key.
                                				showWind: true,
                                      				showSunrise: true,
                                      				showSummary: true,
                                      				showPrecipitationGraph: true,
                                				precipitationGraphWidth: 400,
                                				precipitationGraphHeight: 400,
                                      				showForecast: true,
                                    				latitude: -27.437647,
                                      				longitude: 151.940703
                                    			}
                                		},
                                		{
                                			module: "MMM-APOD",
                                			position: "bottom_center",
                                			config: {
                                				appid: "L3A4DMGtMRahyV6Ulqh6BWdQm6I5WNPZhcZuzido", // NASA API key (api.nasa.gov)
                                				updateInterval: 1000000,
                                			}
                                		},
                                		{
                                			module: 'MMM-CalendarExt2',
                                			config: {
                                				calendars: [
                                			{
                                				name: "Jaimie",
                                				url: "https://calendar.google.com/calendar/ical/////////////////////////////////////////////////",
                                			},
                                			{
                                				name: "Simona and Jaimie",
                                				url: "https://calendar.google.com/calendar/ical//////////////////////////////////////////////////////////////",
                                			},
                                			{
                                				name: "Birthdays",
                                				icon: "emojione-monotone:birthday-cake",
                                				url: "https://calendar.google.com/calendar/htmlembed?src/////////////////////////////////////////////",
                                			},
                                		],
                                				views: [
                                			{
                                				name: "Upcoming Events",
                                				title: "Upcoming Events",
                                				mode: "upcoming",
                                				position: "top_left",
                                				maxItems: 5,
                                				maxDays: 7,
                                				locale: "en",
                                				hideOverflow: false,
                                				filterPassedEvent: true,
                                				dateTimeFormat:"M/D h:mm A",
                                				calendars: ["Jaimie","Simona and Jaimie","Birthdays"],
                                			},
                                			{
                                				name: "Calendars",
                                				title: "All Calendars",
                                				mode: "daily",
                                				type: "row",
                                				position: "bottom_bar",
                                				slotCount: 5,
                                				locale: "en",
                                				hideOverflow: false,
                                				filterPassedEvent: true,
                                				dateTimeFormat:"M/D h:mm A",
                                				calendars: ["Jaimie","Simona and Jaimie","Birthdays"],
                                			},
                                		],
                                				scenes: [
                                			{
                                				name: "DEFAULT",
                                				views: [],
                                			},
                                		],
                                	},
                                },
                                			{
                                    			module: "MMM-quote-of-the-day",
                                    			position: "bottom_bar",
                                    			config: {
                                        			language: "en",
                                        			updateInterval: "1h"
                                				}
                                		},
                                	]
                                
                                };
                                
                                /*************** DO NOT EDIT THE LINE BELOW ***************/
                                if (typeof module !== "undefined") {module.exports = config;}
                                
                                
                                ? 1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User @JHermann
                                  last edited by

                                  @JHermann
                                  If possible, can you send me configuration with real ical url? eouia0819@gmail.com

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

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • BKeyportB Offline
                                      BKeyport Module Developer
                                      last edited by BKeyport

                                      @JHermann Bit of testing here - I took your config, modified it for my URLs rather than your stub urls, removed my custom.css and found an interesting layout.

                                      I’m using a 1920x1080 monitor.

                                      In landscape mode (wide monitor) - the daily view is interfering with the upcoming view in either position.
                                      in portrait mode (Tall monitor) - the daily view does show for me in upper_third, but clashes with upcoming view. If daily view is in bottom_bar, it shows clean, but upcoming and parts of Minical and your weather app is hidden behind the NOAA picture.

                                      I suspect what’s happening is the NOAA picture is covering up your view in the config that you have.

                                      Do you have custom.css in place at all?
                                      Have you tried commenting out the NOAA picture and seeing if it works in upper-third then?

                                      – B

                                      Edit: while @Sean likes to test with the normal URLs, I figure if they’re showing in one position, they should show with all of them, unless there’s something else wrong - some of my URLs are still google.

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

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

                                        @BKeyport Hi Mate, I have res set to 1920x1080 and am using portrait mode via screen layout editor and choosing orientation of right.
                                        Am using a LED TV as the display, I have been emailing Sean and he has the same thoughts that other modules are interfering and he could can get daily view to display in other regions with only the calendar Ext2 module.
                                        custom.css has only the below in it to reduce margins:

                                        body {
                                        margin: 20px;
                                        position: absolute;
                                        height: calc(100% - 40px);
                                        width: calc(100% - 40px);
                                        }
                                        I have deleted all other modules from the Config file and still cant display the daily view in other regions at all…weird.
                                        There must be something I am doing wrong but as as I am inexperienced I am struggling.
                                        The new Config is below and have emailed Sean a screenshot (havent been able to upload a picture to this forum) and this config as well:
                                        Any assistance is appreciated.

                                        /* Magic Mirror Config Sample
                                         *
                                         * By Michael Teeuw http://michaelteeuw.nl
                                         * MIT Licensed.
                                         *
                                         * For more information how you can configurate this file
                                         * See https://github.com/MichMich/MagicMirror#configuration
                                         *
                                         */
                                        
                                        var config = {
                                        	address: "localhost", // Address to listen on, can be:
                                        	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
                                        	                      // - another specific IPv4/6 to listen on a specific interface
                                        	                      // - "", "0.0.0.0", "::" to listen on any interface
                                        	                      // Default, when address config is left out, is "localhost"
                                        	port: 8080,
                                        	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
                                        	                                                       // or add a specific IPv4 of 192.168.1.5 :
                                        	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
                                        	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
                                        	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
                                        
                                        	language: "en",
                                        	timeFormat: 12,
                                        	units: "metric",
                                        	// serverOnly:  true/false/"local" ,
                                        			     // local for armv6l processors, default 
                                        			     //   starts serveronly and then starts chrome browser
                                        			     // false, default for all  NON-armv6l devices
                                        			     // true, force serveronly mode, because you want to.. no UI on this device
                                        	
                                        	modules: [
                                        		{
                                        			module: 'MMM-CalendarExt2',
                                        			config: {
                                        				calendars: [
                                        			{
                                        				name: "Jaimie",
                                        				url: "https://calendar.google.com/calendar/ical///////////////////",
                                        			},
                                        			{
                                        				name: "Simona and Jaimie",
                                        				url: "https://calendar.google.com/calendar/ical///////////////////////////",
                                        			},
                                        			{
                                        				name: "Birthdays",
                                        				icon: "emojione-monotone:birthday-cake",
                                        				url: "https://calendar.google.com/calendar/htmlembed?src=///////////////////////////////",
                                        			},
                                        		],
                                        				views: [
                                        			{
                                        				name: "Upcoming Events",
                                        				title: "Upcoming Events",
                                        				mode: "upcoming",
                                        				position: "top_left",
                                        				maxItems: 5,
                                        				maxDays: 7,
                                        				locale: "en",
                                        				hideOverflow: false,
                                        				filterPassedEvent: true,
                                        				dateTimeFormat:"M/D h:mm A",
                                        				calendars: ["Jaimie","Simona and Jaimie","Birthdays"],
                                        			},
                                        			{`
                                        				name: "Calendars",
                                        				title: "All Calendars",
                                        				mode: "daily",
                                        				type: "row",
                                        				position: "top- right",
                                        				slotCount: 4,
                                        				locale: "en",
                                        				hideOverflow: false,
                                        				filterPassedEvent: true,
                                        				dateTimeFormat:"M/D h:mm A",
                                        				calendars: ["Jaimie","Simona and Jaimie","Birthdays"],
                                        			},
                                        		],
                                        				scenes: [
                                        			{
                                        				name: "DEFAULT",
                                        				views: [],
                                        			},
                                        		],
                                        	},
                                        },
                                        	]
                                        
                                        };
                                        
                                        /*************** DO NOT EDIT THE LINE BELOW ***************/
                                        if (typeof module !== "undefined") {module.exports = config;}
                                        
                                        
                                        ? 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @JHermann
                                          last edited by

                                          @JHermann
                                          Have you done something on css/custom.css or main.css or any other css file?

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

                                            @Sean Only the Custom.css per below to reduce margins. No other changes to any ,css file as far as i recolect.

                                            body {
                                            margin: 20px;
                                            position: absolute;
                                            height: calc(100% - 40px);
                                            width: calc(100% - 40px);
                                            }

                                            Maybe i should uninstall and start over?

                                            ? 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