<?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[Default calendar customEvents not working]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">I installed the newest mm version via GitHub.<br />
I have tested a lot within the calendar module. My iCal-calendar is shown, but the default calendar module does not work with any customEvents entries.</p>
<pre><code>
{
                        module: "calendar",
                        header: "Familienkalender",
                        position: "top_left",
                                config: {
                                calendars: [
                                        {
                                        url: "my-url“,
                                        symbolClass: "fas fa-fw fa-",
                                        customEvents: [
                                                        {
                                                        keyword: "Geburtstag",
                                                        symbol: "fire"
                                                        }
                                                ]
                                        }
                                        ]
                }
                },

</code></pre>
<p dir="auto">Can you help me to fix it? I want change the symbols first and afterwards adding some regex-entries.</p>
<p dir="auto">Did I miss something?<br />
Thanks for your help.<br />
Best regards<br />
Pauabaer</p>
]]></description><link>https://forum.magicmirror.builders/topic/19668/default-calendar-customevents-not-working</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 08:31:32 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19668.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 May 2025 19:23:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 21:09:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a> I’m back</p>
<p dir="auto">my config for customEvents is</p>
<pre><code class="language-js">                                                {
                                                keyword: "Gerburtstag",
                                                symbol: "birthday-cake",
                                                transform: {           
                                                        search: "^([^\\s]+) (\\d{4}) Gerburtstag$",           
                                                        replace: "$1 ($2)",           
                                                        yearmatchgroup: 2
                                                        }
                                                } 
</code></pre>
<p dir="auto">my test calendar event title (from the summary field in the actual ICS data) is</p>
<pre><code>SUMMARY:test 1986 Gerburtstag
</code></pre>
<p dir="auto">the debug line in the parser is</p>
<pre><code>[2025-05-25 16:08:47.371] [DEBUG] title: test 1986 Gerburtstag 
</code></pre>
<p dir="auto">I see<br />
<img src="/assets/uploads/files/1748207164900-screenshot-at-2025-05-25-16-05-03.png" alt="Screenshot at 2025-05-25 16-05-03.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I walked thru the code and it worked as expected…</p>
]]></description><link>https://forum.magicmirror.builders/post/126731</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126731</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 May 2025 21:09:51 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 16:39:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Ok. Let me know when you are back and can help again.<br />
Thanks a lot.</p>
]]></description><link>https://forum.magicmirror.builders/post/126727</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126727</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Sun, 25 May 2025 16:39:22 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 16:32:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a> ok, i am at grandson baseball for a while</p>
]]></description><link>https://forum.magicmirror.builders/post/126725</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126725</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 May 2025 16:32:45 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 16:03:57 GMT]]></title><description><![CDATA[<p dir="auto">It’s not the error I saw before.</p>
]]></description><link>https://forum.magicmirror.builders/post/126723</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126723</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Sun, 25 May 2025 16:03:57 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 15:53:57 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1748188432314-img_2570-resized.png" alt="IMG_2570.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/126722</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126722</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Sun, 25 May 2025 15:53:57 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 15:19:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a> do you still see the same error in the dev console?</p>
]]></description><link>https://forum.magicmirror.builders/post/126721</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126721</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 May 2025 15:19:24 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 15:08:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
I did. But…</p>
<p dir="auto"><img src="/assets/uploads/files/1748185294190-img_2569-resized.png" alt="IMG_2569.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I got the feeling i am not far away from the solution. Have still patient to bring me to that point? :)</p>
]]></description><link>https://forum.magicmirror.builders/post/126719</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126719</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Sun, 25 May 2025 15:08:27 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 13:42:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a> you needed to escape the \ with another backslash<br />
in the string… its a javascript thing</p>
<p dir="auto">as I noted in my prior post<br />
also remove the leading /</p>
]]></description><link>https://forum.magicmirror.builders/post/126718</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126718</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 May 2025 13:42:46 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 13:38:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Ok. Within the regex101 there is no mistake. But when I change within the config nothing happens again.</p>
<p dir="auto"><img src="/assets/uploads/files/1748180294136-img_2567-resized.png" alt="IMG_2567.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/126717</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126717</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Sun, 25 May 2025 13:38:18 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 13:03:47 GMT]]></title><description><![CDATA[<p dir="auto">your search regex is wrong,</p>
<pre><code class="language-text">^(.+) (\\d{4}) Geburtstag$
</code></pre>
<p dir="auto">its captures EVERYTHING from the start… and there is nothing left for the remainder of the expression</p>
<p dir="auto">you need to capture any character UP to the 1st space,</p>
<pre><code class="language-text">^([^\s]+) (\d{4}) Gerburstag$
</code></pre>
<p dir="auto">I use <a href="https://regex101.com/" target="_blank" rel="noopener noreferrer nofollow ugc">https://regex101.com/</a> to test (see below)</p>
<p dir="auto">escape the backslash as required</p>
<p dir="auto"><img src="/assets/uploads/files/1748178173881-screenshot-at-2025-05-25-08-02-23.png" alt="Screenshot at 2025-05-25 08-02-23.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/126716</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126716</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 May 2025 13:03:47 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 12:09:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Meanwhile I found the right place. Sorry for this.<br />
In the pic below you can see the entry.</p>
<p dir="auto"><img src="/assets/uploads/files/1748174937399-img_2565-resized.png" alt="IMG_2565.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Does help you?</p>
]]></description><link>https://forum.magicmirror.builders/post/126715</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126715</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Sun, 25 May 2025 12:09:06 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 11:57:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a> logevel is above the modules list<br />
its not a module setting</p>
<p dir="auto"><img src="/assets/uploads/files/1748174231515-img_1297.png" alt="IMG_1297.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/126714</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126714</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 May 2025 11:57:13 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 11:51:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
I did add the debug setting but presumably at the wrong position.<br />
Thought I should add it here:</p>
<pre><code>
module: "calendar",
header: "Familienkalender",
position: "top_left",
                   config:{
                          loglevel: ["DEBUG"],
                                        customEvents: [
                                                {
                                                keyword: "Geburtstag",
                                                symbol: "birthday-cake",
                                                transform: {
                                                        search: "^([^\']*) \'(\\d{4})$",
                                                        replace: "$1 ($2)",
                                                        yearmatchgroup: 2
                                                        }
                                                }

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/126713</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126713</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Sun, 25 May 2025 11:51:32 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 11:30:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a> you didn’t add the debug setting to config.js</p>
<p dir="auto">the transform happens in the front end, the backend (node_helper)  gets the events from source and formats them for frontend.tye log you showed is from the backend</p>
]]></description><link>https://forum.magicmirror.builders/post/126712</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126712</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 25 May 2025 11:30:40 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 25 May 2025 11:24:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Finally I got some time to test. See the pic below:</p>
<p dir="auto"><img src="/assets/uploads/files/1748171779758-img_2563-resized.jpeg" alt="IMG_2563.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">I got the message that there is one entry but no title is shown. Did I do something wrong?</p>
]]></description><link>https://forum.magicmirror.builders/post/126711</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126711</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Sun, 25 May 2025 11:24:49 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Mon, 19 May 2025 13:51:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a> could you add</p>
<pre><code>,"DEBUG"
</code></pre>
<p dir="auto">to the config.js logLevel property<br />
as well as your transform<br />
and run MM with (stop pm2 version , with pm2 stop MagicMirror)</p>
<p dir="auto">npm start &gt;somefile.txt 2&gt;&amp;1</p>
<p dir="auto">so we can see the actual text of the event<br />
(watch out, the log output contains the COMPLETE text of the calendar url)</p>
<p dir="auto">I only need the text of the event… (it supposedly has the date in it)</p>
]]></description><link>https://forum.magicmirror.builders/post/126585</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126585</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 19 May 2025 13:51:45 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sun, 18 May 2025 11:32:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a>  its a regular expression to extract the parts of the date,</p>
<p dir="auto">i would use the developers window sources tab to locate that code in the calendar module  and examine the data it is working with</p>
<p dir="auto">i might get a chance later today</p>
]]></description><link>https://forum.magicmirror.builders/post/126556</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126556</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sun, 18 May 2025 11:32:36 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Sat, 17 May 2025 13:18:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Thanks for helping.</p>
<p dir="auto">I tried to figure out. Went to the console tab and put the filter on cal.<br />
I get an error your yearmatch is that right? But I don’t know how to deal with it. Can you give me a hint?</p>
<p dir="auto"><img src="/assets/uploads/files/1747487888584-bildschirmfoto-2025-05-17-um-15.12.20.jpeg-resized.png" alt="Bildschirmfoto 2025-05-17 um 15.12.20.jpeg.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/126533</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126533</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Sat, 17 May 2025 13:18:12 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Fri, 09 May 2025 21:48:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a> that means there was an error</p>
<p dir="auto">open the developers window<br />
ctrl-shift-i<br />
select the console tab<br />
put cal in the filter field<br />
and you may see the error , I changed to match one of my cal event titles<br />
but the regex doesn’t work…</p>
<p dir="auto"><img src="/assets/uploads/files/1746827283448-screenshot-at-2025-05-09-16-46-53-resized.png" alt="Screenshot at 2025-05-09 16-46-53.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/126410</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126410</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 09 May 2025 21:48:47 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Fri, 09 May 2025 21:32:50 GMT]]></title><description><![CDATA[<p dir="auto">Thank you a lot <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a><br />
Now the right symbol is shown on my screen.</p>
<p dir="auto">Next I tried to use the transform option:</p>
<pre><code>
                {
                        module: "calendar",
                        header: "Familienkalender",
                        position: "top_left",
                                config:{
                                        customEvents: [
                                                {
                                                keyword: "Geburtstag",
                                                symbol: "birthday-cake",
                                                transform: {           
                                                        search: "^(.+) (\\d{4}) Geburtstag$",           
                                                        replace: "$1 ($2)",           
                                                        yearmatchgroup: 2
                                                        }
                                                }       
                                                        ],
                                        calendars: [
                                                {
                                                url: "my-url“,
                                                symbolClass: "fas fa-fw fa-"
                                                }
                                                  ]
                                        }
                },
</code></pre>
<p dir="auto">But when I refresh the browser whithin the Kalender „Familienkalender“ is no entry anymore but the word „loading…“ but nothing new is shown after a while.</p>
<p dir="auto">What could this circumstance cause?</p>
]]></description><link>https://forum.magicmirror.builders/post/126409</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126409</guid><dc:creator><![CDATA[pauabaer]]></dc:creator><pubDate>Fri, 09 May 2025 21:32:50 GMT</pubDate></item><item><title><![CDATA[Reply to Default calendar customEvents not working on Fri, 09 May 2025 19:44:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pauabaer" aria-label="Profile: pauabaer">@<bdi>pauabaer</bdi></a> customEvents do not go IN the  calendar definition</p>
<p dir="auto">rather like this</p>
<pre><code class="language-js">           {
                        module: "calendar",
                        header: "Familienkalender",
                        position: "top_left",
                                config: {
                                        customEvents: [
                                                        {
                                                        keyword: "Geburtstag",
                                                        symbol: "fire"
                                                        }
                                                ],                                    
                                       calendars: [
                                               {
                                                     url: "my-url“,
                                                    symbolClass: "fas fa-fw fa-",
                                              }
                                       ]
                               }
                },
</code></pre>
<p dir="auto">the calendar module documentation is organized into sections</p>
<ol>
<li>applies to all calendar definitions (refresh rate, maximumDays…etc)</li>
<li>applies to A calendar definition (color, symbol, url)</li>
</ol>
]]></description><link>https://forum.magicmirror.builders/post/126406</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/126406</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 09 May 2025 19:44:27 GMT</pubDate></item></channel></rss>