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 828.7k 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.
    • J Offline
      jani.karna
      last edited by

      I’m trying to use local .ics file for two of my calendars. They are holiday calendars that stay the same throughout the year so they don’t need to be fetched from the web. I just can’t get them to work.
      I get the same error message on both of them:

      [CALEXT2] calendar: Suomen juhlapyhät >> write EPROTO 1936543760:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../../vendor/node/deps/openssl/openssl/ssl/record/ssl3:record.c:252:
      

      My url looks like this:

      url: "https://192.168.1.187:8080/Pyhat.ics",
      

      I tried using

      localhost:8080
      

      but it tried to force 127.0.0.1 which don’t work.

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

        @jani-karna
        Well, it’s not the issue of my module, anyway…
        It seems, your RPI is not available to handle SSL of itself.
        Can you open “https://192.168.1.187:8080/Pyhat.ics” or “https://localhost:8080/Pyhat.ics” on the browser of your RPI when MM is running?
        Try “http” instead of “https”

        1 Reply Last reply Reply Quote 0
        • J Offline
          jani.karna
          last edited by

          Have to see if the problem comes back after RPI reinstall. It seems my SD-card just came to the end of its life.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jani.karna
            last edited by

            I finally had a chance trying this. By trying “https://192.168.1.187:8080/Pyhat.ics” with browser while MM is running I get “ERR_SSL_PROTOCOL_ERROR”. I have no idea how to solve this. “Localhost” gives a little different error, but so does MM. But neither of them work. I know it is not about your module, but if you have any suggestions I’d be glad to hear.

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

              @jani-karna
              try http instead of https

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

                @jani-karna
                put your ical file into ~/MagicMirror/modules/MMM-CalendarExt2 then, try to use this URL;
                http://localhost:8080/modules/MMM-CalendarExt2/Pyhat.ics

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jani.karna
                  last edited by

                  @Sean said in MMM-CalendarExt2:

                  http://localhost:8080/modules/MMM-CalendarExt2/Pyhat.ics

                  For some reason “localhost” tries to use 127.0.0.1 which gives error, but I tried “http://192.168.1.187:8080/modules/MMM-CalendarExt2/Pyhat.ics” and that worked! Thank you!

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

                    Hey, Just started using this module, and today’s update blew up everything… It and MMM-CalendarExtMinimonth fails now.

                    Am I doing something wrong?

                    		{
                    			module: 'MMM-CalendarExt2',
                    				config: {
                    					calendars : [
                    						{
                    							url: "https://calendar.google.com/calendar/ical/mycalendar/info/basic.ics",
                    							name: "Main Calendar", // Optional, Recommended
                    							maxItems: 100,
                    							scanInterval: 1000*60*1, // 1000*Seconds*minutes
                    							beforeDays: 0,
                    							afterDays: 999,
                    							maxIterations: 100,
                    							forceLocalTZ: false,
                    						},
                    					],
                    					views: [
                    						{
                    							mode: "daily",
                    							position: "top_center",
                    							slotCount: 20,
                    						},
                    					],
                    					scenes: [
                    						{
                    							name: "DEFAULT",
                    						},
                    					],
                    				},
                    		},
                    		{
                    			module: "MMM-CalendarExtMinimonth",
                    			position: "bottom_right",
                    			refreshInterval: 60*2.5*1000,
                    		},
                    

                    Thanks!

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

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

                      @BKeyport
                      Sorry, Yesterday I fixed something but it made another bug. I fixed it now.

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

                        Thanks, that fixed it.

                        The only thing I can’t figure out then is massive space between the end of the previous day’s activities, and the next day.

                        0_1573905177911_Capture.PNG

                        Is there a way to solve this? Loving it otherwise.

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

                        ? 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 14
                        • 15
                        • 16
                        • 17
                        • 18
                        • 48
                        • 49
                        • 16 / 49
                        • 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