<?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[Bugsounet and MMM-Pir]]></title><description><![CDATA[<p dir="auto">Does anyone know what happend to <a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: bugsounet">@<bdi>bugsounet</bdi></a> and his <a href="https://github.com/bugsounet/MMM-Pir/" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-Pir</a> module?</p>
<p dir="auto">He seems to have been banned from this forum and his module is no longer available on Github.</p>
]]></description><link>https://forum.magicmirror.builders/topic/19376/bugsounet-and-mmm-pir</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 07:10:18 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19376.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Jan 2025 19:16:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Fri, 11 Apr 2025 11:06:23 GMT]]></title><description><![CDATA[<p dir="auto">Thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/gullymat" aria-label="Profile: gullymat">@<bdi>gullymat</bdi></a>. Very interesting comparision!</p>
]]></description><link>https://forum.magicmirror.builders/post/125742</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125742</guid><dc:creator><![CDATA[FrostByte]]></dc:creator><pubDate>Fri, 11 Apr 2025 11:06:23 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Thu, 10 Apr 2025 10:59:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gullymat" aria-label="Profile: gullymat">@<bdi>gullymat</bdi></a> said in <a href="/post/125696">Bugsounet and MMM-Pir</a>:</p>
<blockquote>
<p dir="auto">needs like 10 sec to activate the screen form the pir, often startup failures</p>
</blockquote>
<p dir="auto">I guess this is because of the fact that bugsounet has much more functionalty built in (screen dimming, count down display) - which exactly is the reason why i love it that much :-)</p>
<p dir="auto">Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125697</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125697</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Thu, 10 Apr 2025 10:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Thu, 10 Apr 2025 09:42:21 GMT]]></title><description><![CDATA[<p dir="auto">hi, i just want to drop this here.<br />
my magic mirror is running on a zero2 but very laggy, needs like 10 sec to activate the screen form the pir, often startup failures and so on.<br />
i was about to move to a bigger raspi and tried to migrate my installation from the zero2 to a pi3.<br />
unfortunatelly did not got MMM-Pir running.</p>
<p dir="auto">so i switched over to MMM-Universal-Pir and everything is running so much smoother.<br />
no need to replace the zero2 anymore :)</p>
]]></description><link>https://forum.magicmirror.builders/post/125696</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125696</guid><dc:creator><![CDATA[gullymat]]></dc:creator><pubDate>Thu, 10 Apr 2025 09:42:21 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 02 Apr 2025 15:36:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lif" aria-label="Profile: lif">@<bdi>lif</bdi></a> with wayland enable it should  be wl_randr<br />
xrandr is for x11</p>
]]></description><link>https://forum.magicmirror.builders/post/125565</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125565</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 02 Apr 2025 15:36:17 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 02 Apr 2025 15:32:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frostbyte" aria-label="Profile: FrostByte">@<bdi>FrostByte</bdi></a><br />
I don’t know if it helps but the only way I could get my old DVI input monitor to turn on &amp; off was with Wayland enabled and the commands</p>
<p dir="auto">DISPLAY=:0.0 xrandr --output HDMI-1 --auto --rotate left<br />
and<br />
DISPLAY=:0.0 xrandr --output HDMI-1 --off</p>
<p dir="auto">Nick</p>
]]></description><link>https://forum.magicmirror.builders/post/125564</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125564</guid><dc:creator><![CDATA[lif]]></dc:creator><pubDate>Wed, 02 Apr 2025 15:32:36 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 02 Apr 2025 15:16:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> Thanks for your answer! That makes total sense. Thanks for reporting your experience. I’ll keep that in mind.</p>
<p dir="auto">With Wayland it took me tens of hours to rotate the display by 90 degrees via autostart and I often thought about migrating to X11 back. But in the end it worked.</p>
]]></description><link>https://forum.magicmirror.builders/post/125563</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125563</guid><dc:creator><![CDATA[FrostByte]]></dc:creator><pubDate>Wed, 02 Apr 2025 15:16:23 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 02 Apr 2025 14:04:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frostbyte" aria-label="Profile: FrostByte">@<bdi>FrostByte</bdi></a> said in <a href="/post/125560">Bugsounet and MMM-Pir</a>:</p>
<blockquote>
<p dir="auto">As already written by <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> , the node_modules directory is created when npm run setup (or npm install as it should be called).</p>
</blockquote>
<p dir="auto">This one I’ve missed or was to blonde, to see …</p>
<p dir="auto">If the install is creating necessary files all “should” be fine.<br />
Despite the fact that in the original screenLib.js is an error (for x11 - regarding handling because the calls are slightly different as coded).<br />
Wayland does not work properly with MagicMirror on my Pi5 - so I’ve switched back to x11, found the above error and corrected this.<br />
Not sure how to handle this in “release” and your maintenance of module.</p>
<p dir="auto">What have I done?</p>
<p dir="auto">See here:<br />
This is line 311 (of screenLib.js ):</p>
<pre><code>       exec("DISPLAY=:0 xrandr | grep 'connected primary'", //--rkorell
        // original : exec("xrandr | grep 'connected primary'",
 
</code></pre>
<p dir="auto">this is line 489 (of screenLib.js ):</p>
<pre><code>        // original exec(`xrandr --output ${this.screen.hdmiPort} --auto --rotate ${this.screen.xrandrRotation}`, (err) =&gt; {
          exec(`xrandr --output ${this.screen.hdmiPort} --primary --mode 2560x1440 --rate 59.951 --pos 0x0  --rotate ${this.screen.xrandrRotation}`, (err) =&gt; {

</code></pre>
<p dir="auto">especially the second one was disturbing because the statement simply doesn’t work - this option “auto” is something one can find everywhere referenced but it never worked as far as I have tried to research. from own experience (see above) it don’t work. I guess “–auto” should recover the current settings -but it doesn’t (on bookworm!) . Hard coded screen resolution is definitely no candidate for broader distribution …</p>
<p dir="auto">(First one “only” produces an error message)</p>
<p dir="auto">These are my findings.<br />
I’ve mistakenly (not aware of the “dynamically created” libraries/dependant modules) linked the problems of the thread owner with the missing libraries in HIS installation to the likewise missing modules in git clone…</p>
<p dir="auto">Sorry for confusion!</p>
<p dir="auto">Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125562</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125562</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 02 Apr 2025 14:04:51 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 02 Apr 2025 10:26:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lif" aria-label="Profile: lif">@<bdi>lif</bdi></a> So in my experience, your error just means that you didn’t run ‘npm run setup’!</p>
]]></description><link>https://forum.magicmirror.builders/post/125561</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125561</guid><dc:creator><![CDATA[FrostByte]]></dc:creator><pubDate>Wed, 02 Apr 2025 10:26:18 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 02 Apr 2025 10:23:42 GMT]]></title><description><![CDATA[<p dir="auto">Okay, let’s go into detail. <a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a></p>
<p dir="auto">As already written by <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> , the node_modules directory is created when npm run setup (or npm install as it should be called).</p>
<p dir="auto">In addition, the ‘missing files’ are also created dynamically when this command is called. See:</p>
<pre><code>lukas@smartmirror:~/MagicMirror/modules$ git clone https://github.com/Coernel82/MMM-Pir.git MMM-Pir-test
lukas@smartmirror:~/MagicMirror/modules$ cd MMM-Pir-test
lukas@smartmirror:~/MagicMirror/modules/MMM-Pir-test$ npm run setup
lukas@smartmirror:~/MagicMirror/modules/MMM-Pir-test$ ls -al components/
total 68
drwxr-xr-x  2 lukas lukas  4096 Apr  1 19:06 .
drwxr-xr-x 10 lukas lukas  4096 Apr  1 19:53 ..
-rw-r--r--  1 lukas lukas  4101 Apr  2 11:23 cronJob.js
-rw-r--r--  1 lukas lukas  2241 Apr  2 11:23 governorLib.js
-rw-r--r--  1 lukas lukas  3894 Apr  2 11:23 motion.js
-rw-r--r--  1 lukas lukas  1563 Apr  2 11:23 motionLib.js
-rw-r--r--  1 lukas lukas   757 Mar  3 19:09 MotionSensor.py
-rw-r--r--  1 lukas lukas  3755 Apr  2 11:23 pirLib.js
-rw-r--r--  1 lukas lukas  6068 Apr  2 11:23 screenDisplayer.js
-rw-r--r--  1 lukas lukas 19159 Apr  2 11:23 screenLib.js
-rw-r--r--  1 lukas lukas  1763 Apr  2 11:23 screenTouch.js
</code></pre>
<p dir="auto">I use Wayland/labwc (Debian GNU/Linux 12 bookworm) on aarch64 Raspberry Pi 3B and everything is working for my Pir configuration.  I did not use your copy.</p>
<p dir="auto">So i am asking again, are there some runtime errrors? So please send me errrors logs.</p>
<p dir="auto">The ‘build’ step in package.json is really very confusing. That’s why I’ve started to organise it:  <a href="https://github.com/Coernel82/MMM-Pir/compare/main...LukasWestholt:MMM-Pir:main#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Coernel82/MMM-Pir/compare/main...LukasWestholt:MMM-Pir:main#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519</a></p>
<p dir="auto">Best regards,<br />
Lukas</p>
]]></description><link>https://forum.magicmirror.builders/post/125560</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125560</guid><dc:creator><![CDATA[FrostByte]]></dc:creator><pubDate>Wed, 02 Apr 2025 10:23:42 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 02 Apr 2025 08:07:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/frostbyte" aria-label="Profile: FrostByte">@<bdi>FrostByte</bdi></a> .<br />
Yes there are still “problems”.<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/coernel" aria-label="Profile: coernel">@<bdi>coernel</bdi></a> has prepared a re-upload of bugsounet’s MMM-Pir.<br />
But for some reasons this has failed.</p>
<p dir="auto">Several entities are missing in his upload (including e.g. the core MMM-Pi.js and several other linked and necessary sub-programs (Described in more detail in <a href="https://forum.magicmirror.builders/post/125221">this</a> post).</p>
<p dir="auto">I’ve copied a tar.gz file of my own local repository-copy  <a href="https://www.korell.org/MMM-Pir/MMM-Pir.tar.gz" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">This copy is installable with npm install in the respective MMM-Pir directory in mirror Version 2.30 (NOT tested in brand new 2.31!).<br />
It works without problems on a Pi4 with bullseye.<br />
It does NOT work on a Raspi5/bookworm “out of the box”.<br />
In the meantime I’ve identified and corrected the root cause for this (wrong parameter for the xrandr-call).<br />
This correction is NOT reflected in the URL above because I’ve done this correction after the upload.<br />
I can share this with you if you are interested in - only a very minor adoption and only for MY use-case (working without wayland and with x11).</p>
<p dir="auto">From my side it would be really highly appreciated if somebody can take the responsibility for maintenance of this pretty module because I really like it very much.<br />
I definitely NOT able to do this but I’m definitely willing to give any additional support in the course of my (tiny) abilities…</p>
<p dir="auto">Let me know what you’re thinking about.</p>
<p dir="auto">Warm regards,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125559</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125559</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 02 Apr 2025 08:07:20 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 01 Apr 2025 18:46:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi everyone,</p>
<p dir="auto">I didn’t quite get it right. Are there still problems with MMM-Pir?</p>
<p dir="auto">I see that there are already two pull requests on <a href="https://github.com/Coernel82/MMM-Pir/pulls" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Coernel82/MMM-Pir/pulls</a> (one is from me). I would be willing to maintain the module, if no one else does.</p>
<p dir="auto">Happy to hear from you <a class="plugin-mentions-user plugin-mentions-a" href="/user/coernel" aria-label="Profile: coernel">@<bdi>coernel</bdi></a></p>
]]></description><link>https://forum.magicmirror.builders/post/125555</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125555</guid><dc:creator><![CDATA[FrostByte]]></dc:creator><pubDate>Tue, 01 Apr 2025 18:46:36 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 26 Mar 2025 13:18:25 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> yes! :-)</p>
]]></description><link>https://forum.magicmirror.builders/post/125324</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125324</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 26 Mar 2025 13:18:25 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 26 Mar 2025 13:15:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> yeh, fun times</p>
]]></description><link>https://forum.magicmirror.builders/post/125323</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125323</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 26 Mar 2025 13:15:19 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Wed, 26 Mar 2025 13:10:11 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>  <a class="plugin-mentions-user plugin-mentions-a" href="/user/lif" aria-label="Profile: lif">@<bdi>lif</bdi></a><br />
For your information:</p>
<p dir="auto">I was successful with installing MMM-Pir on my brand new Pi5/bookworm:</p>
<pre><code>pi@MagicMirrorPi5:~ $ cd MagicMirror/modules
pi@MagicMirrorPi5:~/MagicMirror/modules $ tar -xf MMM-Pir.tar.gz 
pi@MagicMirrorPi5:~/MagicMirror/modules $ cd MMM-Pir/
pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Pir $ npm install

&gt; MMM-Pir@2.4.4 preinstall
&gt; echo ⚠ npm install will be deprecated on next release!.

⚠ npm install will be deprecated on next release!.

&gt; MMM-Pir@2.4.4 install
&gt; npm run setup


&gt; MMM-Pir@2.4.4 presetup
&gt; npm run dependencies &amp;&amp; installer/preinstall.sh


&gt; MMM-Pir@2.4.4 dependencies
&gt; installer/dependencies.sh -d 'unclutter ddcutil cec-utils python3 python-is-python3 python3-gpiozero gpiod libgpiod2 libgpiod-dev'


Welcome to MMM-Pir v2.4.4

① ➤ dependencies installer

Checking OS...
OS Detected: linux-gnu (debian 12 aarch64)

Checking all dependencies...
All Dependencies needed are installed !

② ➤ Preinstall

No root checking...
Checking MMM-Pir: pi/pi
Checking MagicMirror: pi/pi

Installing @sdetweil sandbox fix...
fixing sandbox permissions

③ ➤ Install npm dependencies

&gt; MMM-Pir@2.4.4 setup
&gt; npm prune


up to date in 990ms

124 packages are looking for funding
  run `npm fund` for details

&gt; MMM-Pir@2.4.4 postsetup
&gt; installer/postinstall.sh -m -r


④ ➤ Postinstall

Minify Main code...
Found: 10 files to install and minify

Process File: MMM-Pir/MMM-Pir.js
Process File: MMM-Pir/node_helper.js
Process File: MMM-Pir/components/cronJob.js
Process File: MMM-Pir/components/governorLib.js
Process File: MMM-Pir/components/motion.js
Process File: MMM-Pir/components/motionLib.js
Process File: MMM-Pir/components/pirLib.js
Process File: MMM-Pir/components/screenDisplayer.js
Process File: MMM-Pir/components/screenLib.js
Process File: MMM-Pir/components/screenTouch.js
Done

Try to Disable screen saver...
Found: screen saver in gsettings
disable screensaver via gsettings was true and uint32 300
Found: screen saver in lightdm
disable screensaver via lightdm.conf
Found: screen saver in lxsession
disable screensaver via lxsession
Found: wayfire.ini

[WARN] There is some change for disable screen saver
[WARN] Please, don't forget to reboot your OS for apply the new configuration!
Done

Rebuild MagicMirror...
✔ Rebuild Complete
Done


MMM-Pir is now installed !

&gt; MMM-Pir@2.4.4 postinstall
&gt; echo ⚠ On next release, Please use: npm run setup

⚠ On next release, Please use: npm run setup

added 1 package in 31s

124 packages are looking for funding
  run `npm fund` for details
pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Pir $ 
</code></pre>
<p dir="auto">I will have to play with the screen options (caused for sure by bookworm) because right now I get an error notification from MMM-Pir (screen error detected: dpms command error(mode 1) ) but there are several other modes to try …</p>
<p dir="auto">Regards,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125322</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125322</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 26 Mar 2025 13:10:11 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 22:37:17 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></p>
<p dir="auto">I’ve reinstalled MagicMirror with your script, it worked wonderfully, than you very much for doing this.</p>
<p dir="auto">Best regards from France.</p>
]]></description><link>https://forum.magicmirror.builders/post/125296</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125296</guid><dc:creator><![CDATA[lif]]></dc:creator><pubDate>Tue, 25 Mar 2025 22:37:17 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 18:55: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> said in <a href="/post/125248">Bugsounet and MMM-Pir</a>:</p>
<blockquote>
<p dir="auto">plan for them all to fail to work</p>
</blockquote>
<p dir="auto">yes - as stated -really unfortunate!<br />
Thanks for your clarification!<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125269</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125269</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Tue, 25 Mar 2025 18:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 14:20:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lif" aria-label="Profile: lif">@<bdi>lif</bdi></a> n is the nodejs version of nvm</p>
]]></description><link>https://forum.magicmirror.builders/post/125254</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125254</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 25 Mar 2025 14:20:27 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 14:18:56 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> said in <a href="/post/125250">Bugsounet and MMM-Pir</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lif" aria-label="Profile: lif">@<bdi>lif</bdi></a> yeh, my upgrade script does the nodejs upgrade too…</p>
<p dir="auto">use the n command</p>
<pre><code>sudo npm install n -g 
sudo n xxx
where xxx is the version you want to use
</code></pre>
</blockquote>
<p dir="auto">Thanks, added to my install notes</p>
]]></description><link>https://forum.magicmirror.builders/post/125253</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125253</guid><dc:creator><![CDATA[lif]]></dc:creator><pubDate>Tue, 25 Mar 2025 14:18:56 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 14:14:52 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> said in <a href="/post/125250">Bugsounet and MMM-Pir</a>:</p>
<blockquote>
<p dir="auto">how backup?  use my backup/restore</p>
<p dir="auto">yes that is broken too, as the authors repos no longer exist and binary backup may not work on different OS level/nodejs level</p>
</blockquote>
<p dir="auto">IMG file on my (new) linux  desktop</p>
]]></description><link>https://forum.magicmirror.builders/post/125251</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125251</guid><dc:creator><![CDATA[lif]]></dc:creator><pubDate>Tue, 25 Mar 2025 14:14:52 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 13:57:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lif" aria-label="Profile: lif">@<bdi>lif</bdi></a> yeh, my upgrade script does the nodejs upgrade too…</p>
<p dir="auto">use the n command</p>
<pre><code>sudo npm install n -g 
sudo n xxx
where xxx is the version you want to use
</code></pre>
<blockquote>
<p dir="auto">recent backup didn’t work</p>
</blockquote>
<p dir="auto">how backup?  use my backup/restore</p>
<p dir="auto">yes that is broken too, as the authors repos no longer exist and binary backup may not work on different OS level/nodejs level</p>
]]></description><link>https://forum.magicmirror.builders/post/125250</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125250</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 25 Mar 2025 13:57:58 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 13:54:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> said in <a href="/post/125247">Bugsounet and MMM-Pir</a>:</p>
<blockquote>
<p dir="auto">So I have to stay with the old mirror version to keep module running?</p>
</blockquote>
<p dir="auto">i do not know…</p>
<blockquote>
<p dir="auto">I do not understand these dependencies<br />
rather than put all the code in the module, there are libraries of things<br />
that can be called…</p>
</blockquote>
<p dir="auto">so you make those libraries as separate packages and list them in the dependencies section of package.json and npm install goes and gets them</p>
<p dir="auto">he might have decided that multiple components needs the same functions and packaged as library, to be loaded by all that needed it, code once, ship multiple times…<br />
except that breaks now as the dependencies also are no longer available</p>
<p dir="auto">as I said in my initial warning post, plan for them all to fail to work</p>
]]></description><link>https://forum.magicmirror.builders/post/125248</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125248</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 25 Mar 2025 13:54:37 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 13:39:53 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> said in <a href="/post/125240">Bugsounet and MMM-Pir</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lif" aria-label="Profile: lif">@<bdi>lif</bdi></a> can you talk about this python after …</p>
<p dir="auto">MagicMirror upgrades? if so , did you use my upgrade script?</p>
<p dir="auto">this highlights a problem. some modules need  a refresh install when nodejs and MagicMirror change<br />
so the upgrade script does that. but that wipes the node_modules folder for the module. and the dependencies are also not available anymore.</p>
<p dir="auto">so, if i DO try the npm install it breaks, if i dont try the npm install it might break.  fun times.<br />
i will add a check for the authors url and skip the install action</p>
</blockquote>
<p dir="auto">I was trying to upgrade Nodejs and if failed with lots of errors.</p>
<p dir="auto">my mm and the whole system had got messy, so I’m using this as an opportunity to clean things up (it didn’t help insofar as a restore from the most recent backup didn’t work.</p>
]]></description><link>https://forum.magicmirror.builders/post/125249</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125249</guid><dc:creator><![CDATA[lif]]></dc:creator><pubDate>Tue, 25 Mar 2025 13:39:53 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 13:36:53 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> OK.<br />
really unfortunate.<br />
I do not understand these dependencies - so I was hopeful that an update will not destroy module’s ability to work …</p>
<p dir="auto">So I have to stay with the old mirror version to keep module running?</p>
<p dir="auto">Regards,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125247</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125247</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Tue, 25 Mar 2025 13:36:53 GMT</pubDate></item><item><title><![CDATA[Reply to Bugsounet and MMM-Pir on Tue, 25 Mar 2025 13:11:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> yes, but there is nothing I can do… the dependencies no longer exist<br />
he had some integrated update mechanism, I added code to launch that once…<br />
now its dead too…</p>
]]></description><link>https://forum.magicmirror.builders/post/125244</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125244</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 25 Mar 2025 13:11:09 GMT</pubDate></item></channel></rss>