• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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: Module not showing

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 3 Posters 2.5k 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.
  • F Offline
    flemmingss
    last edited by flemmingss Nov 12, 2019, 12:53 PM Nov 12, 2019, 12:51 PM

    I have used MMM-CalendarExt before and now I try to change to MMM-CalendarExt2, but I don’t manage to get it showing.
    This is my module config:

    	modules:
    	[
    		{
    			module: "alert",
    		},
    		{
    			module: "updatenotification",
    		},
    		{
    			module: 'MMM-CalendarExt2',
    			position: 'middle_center',
    			config: {
    			  calendars : [
    				{
    					name: "flemming_privat",
    					url: "webcal://www.google.com/calendar/ical/flemmingss%40gmail.com/private-XXX/basic.ics",
    				},
    				{
    					name: "flemming_jobb",
    					url: "https://calendar.google.com/calendar/ical/XXX%40group.calendar.google.com/private-XXX/basic.ics",
    				},
    				{
    					name: "flemming_facebook",
    					url: "webcal://www.facebook.com/ical/u.php?uid=XXX&key=XXX",
    				},
    			  ],
    			  views: [
    				{
    					mode: "month",
    				},
    			  ],
    			  scenes: [
    				{
    					name: "DEFAULT",
    				},
    			  ],
    			},
    		},
    	]
    

    And this is what I see:
    alt text

    Anyone spot a mistake? The url’s are the same as in the old module, and the config is exact as the readme describes as basic config

    ? 1 Reply Last reply Nov 12, 2019, 2:22 PM Reply Quote 0
    • F Offline
      flemmingss
      last edited by Nov 21, 2019, 11:34 PM

      problem detected :D
      turns out MMM-CalendarExt2 did not support webcal:// like MMM-CalendarExt. Så I replaced all webcall;// with https:// and now it works.

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @flemmingss
        last edited by Nov 12, 2019, 2:22 PM

        @flemmingss

        views: [
          {
            mode: "month",
            calendars: [],
          },
        ],
        scenes: [
          {
            views: [],
          },
        ],
        
        F 1 Reply Last reply Nov 21, 2019, 11:12 PM Reply Quote 0
        • S Offline
          Svensson_Jesper
          last edited by Nov 13, 2019, 8:52 PM

          I have the same problem as above post.

          This is my module config:

          {
          		  module: 'MMM-CalendarExt2',
          		position: 'top_left',
          		  config: {
          		    calendars : [
          			{
          			    name: "US holiday",
          			    icon: "noto-beach-with-umbrella",
          			    className: "holiday",
          			    url: "http://www.calendarlabs.com/templates/ical/US-Holidays.ics",
          			  },
          		    ],
          		    views: [
          		      {
          			mode: "month",
          			calendars: [],
          		      },
          		    ],
          		    scenes: [
          		      {
          			views: [],
          		      },
          		    ],
          		  },
          		},
          

          WIth this code I get the same picture as above.

          I have no problem with the standard calendar.

          ? 1 Reply Last reply Nov 14, 2019, 8:48 AM Reply Quote 0
          • ? Offline
            A Former User @Svensson_Jesper
            last edited by Nov 14, 2019, 8:48 AM

            @Svensson_Jesper

            1. Remove module position. This module doesn’t need position of module itself. Instead, set the position of each view in view configuration.
            2. Your ical is not valid. It seems out-of-date. There is no valid events to load on this period.
              Use other url like http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics instead of yours.

            Then, it will show like this;
            0_1573721276083_55221295-72f6-48dd-bee5-822a1e146762-image.png
            (I assigned bottom_bar as the position of the view)

            1 Reply Last reply Reply Quote 0
            • F Offline
              flemmingss @Guest
              last edited by Nov 21, 2019, 11:12 PM

              @Sean said in MMM-CalendarExt2: Module not showing:
              Jus t a black screen

              views: [
              {
              mode: “month”,
              calendars: [],
              },
              ],
              scenes: [
              {
              views: [],
              },
              ],

              /* 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: [],                                       // 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: "nb",
              	timeFormat: 24,
              	units: "metric",
              
              	modules:
              	[
              		{
              			module: "alert",
              		},
              		{
              			module: "updatenotification",
              		},
              		
              		{
              			module: 'MMM-CalendarExt2',
              			config: {
              				views: [
              					{
              					  mode: "month",
              					  calendars: [
              				{
              						
              											name: "flemming_privat",
              						
              											url: "webcal://www.google.com/calendar/ical/flemmingss%40gmail.com/private-XXX/basic.ics",
              						
              										},
              						
              										{
              						
              											name: "flemming_jobb",
              						
              											url: "https://calendar.google.com/calendar/ical/XXX%40group.calendar.google.com/private-XXX/basic.ics",
              						
              										},
              						
              										{
              						
              											name: "flemming_facebook",
              						
              											url: "webcal://www.facebook.com/ical/u.php?uid=XXX&key=XXX",
              						
              										},					},
              				  ],
              				  scenes: [
              					{
              					  views: [],
              					},
              				  ],
              			},
              		},
              	]
              };
              
              /*************** DO NOT EDIT THE LINE BELOW ***************/
              if (typeof module !== "undefined") {module.exports = config;}
              
              
              1 Reply Last reply Reply Quote 0
              • F Offline
                flemmingss
                last edited by Nov 21, 2019, 11:34 PM

                problem detected :D
                turns out MMM-CalendarExt2 did not support webcal:// like MMM-CalendarExt. Så I replaced all webcall;// with https:// and now it works.

                1 Reply Last reply Reply Quote 0
                • 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