MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

Two questions regarding MMM-CalendarExt2



  • I’m sure the answer is in the documentation somewhere. Anyway, local community center wants to display upcoming Gym rental and free times. So the two things I need (which I can’t figure out) is to display the next 4 weeks showing days the way they appear in the month view, and how to include the ending time or the duration. Thanks in advance.

    /* 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: 24,
    	units: "metric",
    
    	modules: [
    		{
    			module: 'MMM-CalendarExt2',
    			  config: {
    				calendars : [
    				
    				  { 
    					name: "BNC Rentals", 
    					url: "https://calendar.google.com/calendar/ical/bncrentals185%40gmail.com/public/basic.ics",
    				  },
    				],
    				views: [
    				{
    					Name: "Rentals",
    					title: "Gym Rentals",
    					mode: "month",			
    					position: "fullscreen_above",
    					calendars: ["BNC Rentals"],
    					dateformat: "HH:mm",
    					timeformat: "HH:mm",
    				
    				
    				}
    				],
    				scenes: [
    				  {
    					name: "DEFAULT",
    					views: [],
    				  },
    				],
    			  },
    		}
    	]
    
    };
    
    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== "undefined") {module.exports = config;}
    

  • Module Developer

    @CliffordW

    1. mode:"week",
    2. events of week/month views are too narrow to display end-time or duration. (informations themselves are hidden in event elements but not revealed. I don’t recommend show them.)


  • @Sean Thanks! I could suggest to staff to make duration part of the description. That will work.

    I can display ‘Gym Rentals’ on the left side of the calendar. Is there anyway to display the month of the current week on the right side?

    https://imgur.com/kcPfvub


Log in to reply