<?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[MMM-Rejseplanen - A departure board for Danish train and bus stations]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">This is my first module<br />
A departure board for Danish train and bus stations.</p>
<p dir="auto">I’m programming in PowerShell at work, so I thought how hard can it be to learn Javascript?</p>
<p dir="auto">Boy! I was wrong!:laughing:</p>
<p dir="auto">That language has a syntax that is hysterical</p>
<p dir="auto">Well, with one hand in my hair (which is not too much of) and the other hand on the keyboard, some prayers to God, a large amount of coffee and coke a lot of Google search as well as even more useful inspiration from all the skilled programmers and the user of this forum. I has succeeded in making a useful piece of code.</p>
<p dir="auto">And, is finally stable.:stuck_out_tongue_winking_eye:</p>
<h1>Description:</h1>
<p dir="auto">Train and bus departure board for Danish stations (InterCity, LYN, REG, S-Tog, BUS, EXB (Express Buss), NB (Night bus), Telebus, Ferry and Metro)</p>
<p dir="auto">Monitoring your favorite local departure station, with the next 20 departure for the destination. The data are from the Danish <a href="http://Findrejsen.dk" target="_blank" rel="noopener noreferrer nofollow ugc">Findrejsen.dk</a> API</p>
<h1>Screenshots:</h1>
<p dir="auto"><img src="/assets/uploads/files/1493997997741-example01.png" alt="0_1493997996085_Example01.png" class=" img-fluid img-markdown" /></p>
<h1>Download:</h1>
<p dir="auto"><a href="https://github.com/poketcalulator/MMM-Rejseplanen" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-Rejseplanen</a></p>
<h2>Version 1.2.0</h2>
<ul>
<li>Support for number of departures returned</li>
</ul>
<h2>Version 1.1.0</h2>
<ul>
<li>Better support for Metro train (direction)</li>
</ul>
<h2>Version 1.0.0</h2>
<ul>
<li>Frist release, stable version</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/topic/2504/mmm-rejseplanen-a-departure-board-for-danish-train-and-bus-stations</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 10:24:14 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/2504.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 May 2017 15:34:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Sat, 11 Mar 2023 16:33:38 GMT]]></title><description><![CDATA[<p dir="auto">The module has not been updated for a long time and has very old dependencies. There is a module that can also use a Rejseplanen API and is actively developed by me: <a href="https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas</a></p>
<p dir="auto">It looks like this:<img src="/assets/uploads/files/1678552312118-kolding.png" alt="Kolding.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This is the configuration of it:</p>
<pre><code class="language-js">    {
      module: "MMM-PublicTransportHafas",
      position: "top_left",
      config: {
        hafasProfile: "rejseplanen",
        stationID: "8600083",
        stationName: "Kolding St.",
        timeToStation: 5,
        showAbsoluteTime: false
      }
    },
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/108204</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108204</guid><dc:creator><![CDATA[KristjanESPERANTO]]></dc:creator><pubDate>Sat, 11 Mar 2023 16:33:38 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Sat, 11 Mar 2023 09:19:39 GMT]]></title><description><![CDATA[<p dir="auto">Like focaldistorsion I had a problem where the module kept saying Loading…<br />
I installed the magic mirror as a docker container, running on a remote server. My solution was to check the docker log with:</p>
<pre><code>docker container logs mm
</code></pre>
<p dir="auto">That  returned an error regarding Request, which I fixed by running</p>
<pre><code>npm i request
</code></pre>
<p dir="auto">in the magic mirror container.<br />
Thanks for an awesome module!</p>
]]></description><link>https://forum.magicmirror.builders/post/108194</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108194</guid><dc:creator><![CDATA[mklara]]></dc:creator><pubDate>Sat, 11 Mar 2023 09:19:39 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Mon, 08 Jun 2020 16:32:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/impertus" aria-label="Profile: Impertus">@<bdi>Impertus</bdi></a> said in <a href="/post/76775">MMM-Rejseplanen - A departure board for Danish train and bus stations</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marknygaard" aria-label="Profile: MarkNygaard">@<bdi>MarkNygaard</bdi></a> said in <a href="/post/76624">MMM-Rejseplanen - A departure board for Danish train and bus stations</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/impertus" aria-label="Profile: Impertus">@<bdi>Impertus</bdi></a> It still works fine. Runs on my mirror every day.</p>
</blockquote>
<p dir="auto">Can you send that to me? Because there is No download link more. :/</p>
<p dir="auto">På forhånd tak :)</p>
</blockquote>
<p dir="auto"><a href="https://github.com/poketcalulator/MMM-Rejseplanen" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/poketcalulator/MMM-Rejseplanen</a></p>
<p dir="auto">There you go :)</p>
]]></description><link>https://forum.magicmirror.builders/post/76809</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76809</guid><dc:creator><![CDATA[MarkNygaard]]></dc:creator><pubDate>Mon, 08 Jun 2020 16:32:25 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Mon, 08 Jun 2020 05:09:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/marknygaard" aria-label="Profile: MarkNygaard">@<bdi>MarkNygaard</bdi></a> said in <a href="/post/76624">MMM-Rejseplanen - A departure board for Danish train and bus stations</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/impertus" aria-label="Profile: Impertus">@<bdi>Impertus</bdi></a> It still works fine. Runs on my mirror every day.</p>
</blockquote>
<p dir="auto">Can you send that to me? Because there is No download link more. :/</p>
<p dir="auto">På forhånd tak :)</p>
]]></description><link>https://forum.magicmirror.builders/post/76775</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76775</guid><dc:creator><![CDATA[Impertus]]></dc:creator><pubDate>Mon, 08 Jun 2020 05:09:03 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Fri, 05 Jun 2020 13:52:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/impertus" aria-label="Profile: Impertus">@<bdi>Impertus</bdi></a> It still works fine. Runs on my mirror every day.</p>
]]></description><link>https://forum.magicmirror.builders/post/76624</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76624</guid><dc:creator><![CDATA[MarkNygaard]]></dc:creator><pubDate>Fri, 05 Jun 2020 13:52:16 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Fri, 05 Jun 2020 09:54:19 GMT]]></title><description><![CDATA[<p dir="auto">What happen to this Module :/</p>
<p dir="auto">Is just what i needed…</p>
]]></description><link>https://forum.magicmirror.builders/post/76610</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/76610</guid><dc:creator><![CDATA[Impertus]]></dc:creator><pubDate>Fri, 05 Jun 2020 09:54:19 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Tue, 12 Mar 2019 15:37:16 GMT]]></title><description><![CDATA[<p dir="auto">As to be expected the issue was with the setup - VM users should take that into account. Oddly the fix when I added another module using external info (horoscope) and rebooted the VM. Saw it had a hiccup with time and date sync within ubuntu. Sorted itself out. Rejseplanen train depatures from Odense Station load nicely but for some reason can’t figure out how to switch to Bus lines and show the lines that go through my stop or any other bus stop for that matter.</p>
<pre><code>config:{
  stationID: "461112000",
  stationName: "Bilka",
  vehicle: "B",
  destfilter: "",
  departuresMax: 5
}
</code></pre>
<p dir="auto">After Loading… for a while it returns this</p>
<p dir="auto"><img src="/assets/uploads/files/1552404912175-screenshot-2019-03-12-at-16.34.56.png" alt="0_1552404911886_Screenshot 2019-03-12 at 16.34.56.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Which seems to be defaulting to Odense Station for some reason.</p>
]]></description><link>https://forum.magicmirror.builders/post/54157</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/54157</guid><dc:creator><![CDATA[focaldistorsion]]></dc:creator><pubDate>Tue, 12 Mar 2019 15:37:16 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Tue, 12 Mar 2019 14:28:23 GMT]]></title><description><![CDATA[<p dir="auto">Hejsa!</p>
<p dir="auto">Thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/manmachine" aria-label="Profile: Manmachine">@<bdi>Manmachine</bdi></a> for your contribution!<br />
I’m totally new to the concept and my purpose is to use it to GYST my daily workflow as a young entrepreneur</p>
<p dir="auto">(<em>gyst = get your shit together</em>)</p>
<p dir="auto">Trying the module now with the current setup:</p>
<p dir="auto">VirtualBox on macOS Mojave running Ubuntu MATE 1604LTS as a DevEnvironment.<br />
Latest MagicMirror only with the clock module on.</p>
<p dir="auto">Added station ID for Odense, Nørreport and my tiny bus station and nothing shows up. Only getting a Loading … response. Is the Rejseplanen API still functional with this module? Or is it maybe my setup to blame?</p>
<p dir="auto"><img src="/assets/uploads/files/1552400697960-screenshot-2019-03-12-at-15.23.17.png" alt="0_1552400697624_Screenshot 2019-03-12 at 15.23.17.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/54150</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/54150</guid><dc:creator><![CDATA[focaldistorsion]]></dc:creator><pubDate>Tue, 12 Mar 2019 14:28:23 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Wed, 06 Mar 2019 20:17:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
How can I add a red color for the bus icon?<br />
Cant See what class to use in the css.</p>
]]></description><link>https://forum.magicmirror.builders/post/53792</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/53792</guid><dc:creator><![CDATA[siraero]]></dc:creator><pubDate>Wed, 06 Mar 2019 20:17:07 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Fri, 05 Oct 2018 17:16:51 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the plugin it is very nice and just what I needed for displaying bus lines in Aarhus.</p>
<p dir="auto">For others that might want to use a Station ID that is not in the list you can find nearby stops to your coordinates by using this URL: <a href="http://xmlopen.rejseplanen.dk/bin/rest.exe/stopsNearby?coordX=id&amp;coordY=id&amp;maxRadius=1000&amp;maxNumber=30" target="_blank" rel="noopener noreferrer nofollow ugc">http://xmlopen.rejseplanen.dk/bin/rest.exe/stopsNearby?coordX=id&amp;coordY=id&amp;maxRadius=1000&amp;maxNumber=30</a></p>
<p dir="auto">Example:<br />
GPS coordinates<br />
Latitude: 55.67310756519397<br />
Longitude: 12.565741539001467</p>
<p dir="auto"><a href="http://xmlopen.rejseplanen.dk/bin/rest.exe/stopsNearby?coordX=12565796&amp;coordY=55673063&amp;maxRadius=1000&amp;maxNumber=30" target="_blank" rel="noopener noreferrer nofollow ugc">http://xmlopen.rejseplanen.dk/bin/rest.exe/stopsNearby?coordX=12565796&amp;coordY=55673063&amp;maxRadius=1000&amp;maxNumber=30</a></p>
]]></description><link>https://forum.magicmirror.builders/post/45018</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/45018</guid><dc:creator><![CDATA[MarkNygaard]]></dc:creator><pubDate>Fri, 05 Oct 2018 17:16:51 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Sat, 15 Sep 2018 14:01:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kurios" aria-label="Profile: kurios">@<bdi>kurios</bdi></a> said in <a href="/post/44398">MMM-Rejseplanen - A departure board for Danish train and bus stations</a>:</p>
<blockquote>
<p dir="auto">departures</p>
</blockquote>
<p dir="auto">You can now configure the number of returned departures in the new updated version 1.2.0. Between 1 and 20 as max.</p>
]]></description><link>https://forum.magicmirror.builders/post/44435</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44435</guid><dc:creator><![CDATA[Manmachine]]></dc:creator><pubDate>Sat, 15 Sep 2018 14:01:18 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Thu, 13 Sep 2018 19:03:26 GMT]]></title><description><![CDATA[<p dir="auto">Is there any way to only get the next 5 or 10 departures instead of 20?</p>
]]></description><link>https://forum.magicmirror.builders/post/44398</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44398</guid><dc:creator><![CDATA[KuRIoS]]></dc:creator><pubDate>Thu, 13 Sep 2018 19:03:26 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Tue, 05 Sep 2017 05:57:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/b3nihana" aria-label="Profile: B3nihana">@<bdi>B3nihana</bdi></a></p>
<p dir="auto">The “hidden” features are in the destfilter:<br />
Try the following,<br />
Should give you all the Metro trains</p>
<pre><code>		{
	module: 'MMM-Rejseplanen',
	position: 'top_left',
	header: 'Rejseplanen.dk',
		config: {
			stationID: "8600646",
			stationName: "Nørreport",
			vehicle: "T",
			destfilter: "Metro"
		}
	},
</code></pre>
<p dir="auto">Or you can get all trains in one direction</p>
<pre><code>		{
	module: 'MMM-Rejseplanen',
	position: 'top_left',
	header: 'Rejseplanen.dk',
		config: {
			stationID: "8600646",
			stationName: "Nørreport",
			vehicle: "T",
			destfilter: "Vanløse"
		}
	},
</code></pre>
<p dir="auto">It was the easiest way to solve this, as well as the most flexible. Only require about 8 lines of code.</p>
<p dir="auto">And I’m a lazy man. So less code is really nice</p>
]]></description><link>https://forum.magicmirror.builders/post/27667</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/27667</guid><dc:creator><![CDATA[Manmachine]]></dc:creator><pubDate>Tue, 05 Sep 2017 05:57:15 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Mon, 04 Sep 2017 20:38:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/manmachine" aria-label="Profile: Manmachine">@<bdi>Manmachine</bdi></a></p>
<p dir="auto">Trying the new version, I’m not sure I’m configuring the options correctly?</p>
<p dir="auto">If I <strong>only</strong> want to show Metro, I choose “M” under vehicle, but somehow all transport modes are still shown in the Mirror frontend. Secondly, the Metro stops don’t seem to be available in your list, and I assume that is due to the API lacking them? Is there anyway around this?</p>
<p dir="auto">Should it look something like this</p>
<pre><code>                {
                module: 'MMM-Rejseplanen',
                position: 'top_left',
                header: 'Rejseplanen.dk',
                        config: {
                                stationID: "?",
                                stationName: "Forum",
                                vehicle: "M",
                                destfilter: ""
                        }
                },

</code></pre>
<p dir="auto">I’d really appreciate any help you could provide!</p>
]]></description><link>https://forum.magicmirror.builders/post/27646</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/27646</guid><dc:creator><![CDATA[B3nihana]]></dc:creator><pubDate>Mon, 04 Sep 2017 20:38:01 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Mon, 04 Sep 2017 06:18:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/manmachine" aria-label="Profile: Manmachine">@<bdi>Manmachine</bdi></a> Thanks! I’ll check it out and get back to you, what a great community this is!</p>
]]></description><link>https://forum.magicmirror.builders/post/27605</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/27605</guid><dc:creator><![CDATA[B3nihana]]></dc:creator><pubDate>Mon, 04 Sep 2017 06:18:32 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Sun, 03 Sep 2017 11:07:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/b3nihana" aria-label="Profile: B3nihana">@<bdi>B3nihana</bdi></a><br />
Hey<br />
Just uploaded a new version, with a better support for Metro (direction). try it</p>
]]></description><link>https://forum.magicmirror.builders/post/27528</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/27528</guid><dc:creator><![CDATA[Manmachine]]></dc:creator><pubDate>Sun, 03 Sep 2017 11:07:07 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Mon, 28 Aug 2017 20:32:52 GMT]]></title><description><![CDATA[<p dir="auto">Hey! I found your module and its really close to what I’m after! I’d like to be able to see when the next Metro train is leaving from a certain station, and in which direction its going (end station). Basically what you can see shown here: <a href="http://intl.m.dk/#!/stations/stationer/noerreport" target="_blank" rel="noopener noreferrer nofollow ugc">http://intl.m.dk/#!/stations/stationer/noerreport</a> The information apparently is sourced from Rejseplanen so I would assume the API would cover it.</p>
<p dir="auto">If you have any hints on where to get started I’d be happy to hear them, I’ve got some basic experience with JavaScript but thought that you would be the best person to ask :)</p>
]]></description><link>https://forum.magicmirror.builders/post/27196</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/27196</guid><dc:creator><![CDATA[B3nihana]]></dc:creator><pubDate>Mon, 28 Aug 2017 20:32:52 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Rejseplanen - A departure board for Danish train and bus stations on Sat, 06 May 2017 09:19:58 GMT]]></title><description><![CDATA[<p dir="auto">Looking at your screenshot I thought “that looks very familiar” :)</p>
<p dir="auto">Very nice work and thanks alot for the credits!</p>
]]></description><link>https://forum.magicmirror.builders/post/21220</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21220</guid><dc:creator><![CDATA[yawns]]></dc:creator><pubDate>Sat, 06 May 2017 09:19:58 GMT</pubDate></item></channel></rss>