<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Calendar module: connecting to radicale server]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">I am fairly new to MM - so a warm hello to everyone :waving_hand:  - and just set up my raspberry pi 3 recently. No fancy stuff, just the default modules (clock, weather, forecast and calendar)  and MMM-BackgroundSlideshow.</p>
<p dir="auto">Our family calendar is running on a radicale docker container which I’d like to connect. The calendar itself doesn’t require any auth to receive and is through the browser by the url downloadable. But the same url in the config doesn’t seem to work. I also have OSX, iOS and Android running against the radicale container with no problems.</p>
<p dir="auto">Also interesting even though I changed the fetchInterval to 600.000 the log still says that the fetcher is created with an interval of 300.000.</p>
<p dir="auto">My config is as follows:</p>
<pre><code>{
    module: "calendar",
    header: "Kalender",
    position: "top_left",
    fetchInterval: 600000,
    maximumEntries: 5,
    config: {
        calendars: [
            {
                symbol: "calendar-check-o ",
                dateFormat: "dd.MM.yyyy",
                url: "https://url-to-ical-sevrer/",
            }
        ]
    }
},
</code></pre>
<p dir="auto">Logfile shows:</p>
<pre><code>Dez 28 12:22:27 portugal systemd[1]: Stopping MagicMirror...
Dez 28 12:22:27 portugal systemd[1]: Stopped MagicMirror.
Dez 28 12:22:27 portugal systemd[1]: Started MagicMirror.
Dez 28 12:22:29 portugal npm[13206]: &gt; magicmirror@2.5.0 start /home/pi/MagicMirror
Dez 28 12:22:29 portugal npm[13206]: &gt; sh run-start.sh
Dez 28 12:22:32 portugal npm[13206]: Starting MagicMirror: v2.5.0
Dez 28 12:22:32 portugal npm[13206]: Loading config ...
Dez 28 12:22:32 portugal npm[13206]: Loading module helpers ...
Dez 28 12:22:32 portugal npm[13206]: No helper found for module: clock.
Dez 28 12:22:33 portugal npm[13206]: Initializing new module helper ...
Dez 28 12:22:33 portugal npm[13206]: Module helper loaded: calendar
Dez 28 12:22:33 portugal npm[13206]: No helper found for module: currentweather.
Dez 28 12:22:33 portugal npm[13206]: No helper found for module: weatherforecast.
Dez 28 12:22:33 portugal npm[13206]: Initializing new module helper ...
Dez 28 12:22:33 portugal npm[13206]: Module helper loaded: MMM-BackgroundSlideshow
Dez 28 12:22:33 portugal npm[13206]: All module helpers loaded.
Dez 28 12:22:33 portugal npm[13206]: Starting server on port 8080 ...
Dez 28 12:22:33 portugal npm[13206]: You're using a full whitelist configuration to allow for all IPs
Dez 28 12:22:33 portugal npm[13206]: Server started ...
Dez 28 12:22:33 portugal npm[13206]: Connecting socket for: calendar
Dez 28 12:22:33 portugal npm[13206]: Starting node helper for: calendar
Dez 28 12:22:33 portugal npm[13206]: Connecting socket for: MMM-BackgroundSlideshow
Dez 28 12:22:33 portugal npm[13206]: Sockets connected &amp; modules started ...
Dez 28 12:22:33 portugal npm[13206]: Launching application.
Dez 28 12:22:36 portugal npm[13206]: Create new calendar fetcher for url: https://url-to-ical-server/ - Interval: 300000
</code></pre>
<p dir="auto">Does anyone has this kind of setup already running? Any advice would be appreciated :)</p>
<p dir="auto">Cheers,<br />
Marcus</p>
]]></description><link>https://forum.magicmirror.builders/topic/9340/calendar-module-connecting-to-radicale-server</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 20:32:19 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9340.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Dec 2018 13:10:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Calendar module: connecting to radicale server on Sat, 29 Dec 2018 16:34:12 GMT]]></title><description><![CDATA[<p dir="auto">So I got two steps further:</p>
<p dir="auto">First the easy fix for the <code>fetchInterval</code>. Those config parameter needs to go into the config section of course … doh :smiling_face_with_smiling_eyes:</p>
<pre><code class="language-{">    module: "calendar",
    header: "Kalender",
    position: "top_left",
    config: {
            fetchInterval: 600000,
            maximumEntries: 5,
            calendars: [
            {
                symbol: "calendar-check-o ",
                dateFormat: "dd.MM.yyyy",
                url: "https://url-to-ical-sevrer/",
            }
        ]
    }
},
</code></pre>
<p dir="auto">The problem, why the calendar couldn’t be fetched, is TLS related. I used the <code>debug.js</code> file which I found in the modules folder to trace down the error:</p>
<p dir="auto"><code>Error "unable to verify the first certificate"</code></p>
<p dir="auto">The provided certificate is signed by <code>let's encrypt</code> - as a workaround I currently used: <code>process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0;</code> I know that this is not the recommended way.</p>
<p dir="auto">I am running node version <code>9.11.2</code> - maybe someone has a working fix for that problem?</p>
]]></description><link>https://forum.magicmirror.builders/post/48820</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48820</guid><dc:creator><![CDATA[kimpenhaus]]></dc:creator><pubDate>Sat, 29 Dec 2018 16:34:12 GMT</pubDate></item></channel></rss>