<?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[PIR problem  RPi 4B, Bullseye 64 bit]]></title><description><![CDATA[<p dir="auto">I have a python program that turns the monitor off and on. It works, but not when Magic Mirror is running. I’ve tried every trick I’ve found but nothing works.  I’m using  “sudo xrandr --output HDMI-2 --off” to turn it off and “sudo xrandr --output HDMI-2 --auto” to turn it on. Tvservice doesn’t work in Bullseye.</p>
<p dir="auto">Interestingly, if I stop Magic Mirror with “pm2 stop mm” from an ssh session, start my python program, and then restart Magic Mirror (“pm2 start mm”) the PIR program works as expected.</p>
<p dir="auto">Where is MagicMirror started and is there a way to insert my program start command before MM starts? Starting my program in crontab @reboot doesn’t work.</p>
]]></description><link>https://forum.magicmirror.builders/topic/17889/pir-problem-rpi-4b-bullseye-64-bit</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 23:27:43 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17889.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Jul 2023 02:44:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Fri, 11 Aug 2023 05:03:09 GMT]]></title><description><![CDATA[<p dir="auto">Update. I started fresh with  Buster instead of Bullseye and followed these instructions to get MMM-PIR-SENSOR working.</p>
<p dir="auto"><a href="https://www.reddit.com/r/MagicMirror/comments/u1eq9u/problem_setting_up_pirsensor_with_magicmirror/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.reddit.com/r/MagicMirror/comments/u1eq9u/problem_setting_up_pirsensor_with_magicmirror/</a></p>
]]></description><link>https://forum.magicmirror.builders/post/110545</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110545</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Fri, 11 Aug 2023 05:03:09 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Sat, 05 Aug 2023 16:45:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/htilburgs" aria-label="Profile: htilburgs">@<bdi>htilburgs</bdi></a> said in <a href="/post/110203">PIR problem RPi 4B, Bullseye 64 bit</a>:</p>
<blockquote>
<p dir="auto">I had issues that look the same. After a system crash (defect SD card after 6 years) I could fallback on a backup, but I decided to do a fresh install wih the latest rPi OS. After that my PIR didn’t function anymore. Screen didn’t went of and back on again.</p>
<p dir="auto">In my case the solution to put the GL driver back to legacy.</p>
<ul>
<li>sudo raspi-config</li>
<li>advanced options</li>
<li>GL driver</li>
<li>Legacy</li>
</ul>
<p dir="auto">After that my Python script and the PIR worked as they should.p</p>
</blockquote>
<p dir="auto">My Advanced Options menu doesn’t contain a reference to GL Driver</p>
]]></description><link>https://forum.magicmirror.builders/post/110502</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110502</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Sat, 05 Aug 2023 16:45:10 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Mon, 17 Jul 2023 20:22:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/htilburgs" aria-label="Profile: htilburgs">@<bdi>htilburgs</bdi></a> easy to translate these days</p>
<p dir="auto">nice write up</p>
]]></description><link>https://forum.magicmirror.builders/post/110288</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110288</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 17 Jul 2023 20:22:36 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Mon, 17 Jul 2023 18:02:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wyovino" aria-label="Profile: wyovino">@<bdi>wyovino</bdi></a> No, I’m not using MMM-PIR.<br />
I’ve documented it on my website, but it is in Dutch ;-)</p>
<p dir="auto"><a href="https://magicmirror.tilburgs.com/pir-configuratie/" target="_blank" rel="noopener noreferrer nofollow ugc">https://magicmirror.tilburgs.com/pir-configuratie/</a></p>
]]></description><link>https://forum.magicmirror.builders/post/110287</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110287</guid><dc:creator><![CDATA[htilburgs]]></dc:creator><pubDate>Mon, 17 Jul 2023 18:02:35 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Mon, 17 Jul 2023 01:15:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/htilburgs" aria-label="Profile: htilburgs">@<bdi>htilburgs</bdi></a> said in <a href="/post/110203">PIR problem RPi 4B, Bullseye 64 bit</a>:</p>
<blockquote>
<p dir="auto">I had issues that look the same. After a system crash (defect SD card after 6 years) I could fallback on a backup, but I decided to do a fresh install wih the latest rPi OS. After that my PIR didn’t function anymore. Screen didn’t went of and back on again.</p>
<p dir="auto">In my case the solution to put the GL driver back to legacy.</p>
<ul>
<li>sudo raspi-config</li>
<li>advanced options</li>
<li>GL driver</li>
<li>Legacy</li>
</ul>
<p dir="auto">After that my Python script and the PIR worked as they should.p</p>
</blockquote>
<p dir="auto">Interesting. Are you using the MMM-PIR-Sensor module?</p>
]]></description><link>https://forum.magicmirror.builders/post/110277</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110277</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Mon, 17 Jul 2023 01:15:16 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Mon, 10 Jul 2023 15:34:48 GMT]]></title><description><![CDATA[<p dir="auto">I had issues that look the same. After a system crash (defect SD card after 6 years) I could fallback on a backup, but I decided to do a fresh install wih the latest rPi OS. After that my PIR didn’t function anymore. Screen didn’t went of and back on again.</p>
<p dir="auto">In my case the solution to put the GL driver back to legacy.</p>
<ul>
<li>sudo raspi-config</li>
<li>advanced options</li>
<li>GL driver</li>
<li>Legacy</li>
</ul>
<p dir="auto">After that my Python script and the PIR worked as they should.p</p>
]]></description><link>https://forum.magicmirror.builders/post/110203</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110203</guid><dc:creator><![CDATA[htilburgs]]></dc:creator><pubDate>Mon, 10 Jul 2023 15:34:48 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 18:22:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wyovino" aria-label="Profile: wyovino">@<bdi>wyovino</bdi></a> I don’t see anything related to python there</p>
<p dir="auto">to get rid of the mesa errors, add</p>
<p dir="auto">export  ELRCTRON_DISABLE_GPU=1</p>
<p dir="auto">in the <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a> in front of the npm start</p>
]]></description><link>https://forum.magicmirror.builders/post/110152</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110152</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Jul 2023 18:22:58 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 14:33:15 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>  I appreciate your help in this as it’s obvious this is an environmental issue, not a Magic Mirror issue.</p>
]]></description><link>https://forum.magicmirror.builders/post/110150</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110150</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Thu, 06 Jul 2023 14:33:15 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 14:30:02 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 />
pm2 logs --lines=50<br />
[TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option)<br />
/home/pi/.pm2/pm2.log last 50 lines:<br />
PM2        | 2023-07-06T10:26:31: PM2 log: App [mm:0] starting in -fork mode-<br />
PM2        | 2023-07-06T10:26:31: PM2 log: App [mm:0] online</p>
<p dir="auto">/home/pi/.pm2/logs/mm-out.log last 50 lines:<br />
0|mm       |<br />
0|mm       | &gt; magicmirror@2.23.0 start<br />
0|mm       | &gt; DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js<br />
0|mm       |<br />
0|mm       | [06.07.2023 10:26.34.272] [LOG]   Starting MagicMirror: v2.23.0<br />
0|mm       | [06.07.2023 10:26.34.280] [LOG]   Loading config …<br />
0|mm       | [06.07.2023 10:26.34.284] [DEBUG] config template file not exists, no envsubst<br />
0|mm       | [06.07.2023 10:26.34.290] [LOG]   Loading module helpers …<br />
0|mm       | [06.07.2023 10:26.34.292] [LOG]   No helper found for module: alert.<br />
0|mm       | [06.07.2023 10:26.34.309] [LOG]   Initializing new module helper …<br />
0|mm       | [06.07.2023 10:26.34.310] [LOG]   Module helper loaded: updatenotification<br />
0|mm       | [06.07.2023 10:26.34.311] [LOG]   No helper found for module: clock.<br />
0|mm       | [06.07.2023 10:26.34.318] [LOG]   Initializing new module helper …<br />
0|mm       | [06.07.2023 10:26.34.319] [LOG]   Module helper loaded: MMM-MyScoreboard<br />
0|mm       | [06.07.2023 10:26.34.550] [LOG]   Initializing new module helper …<br />
0|mm       | [06.07.2023 10:26.34.553] [LOG]   Module helper loaded: calendar<br />
0|mm       | [06.07.2023 10:26.34.555] [LOG]   No helper found for module: weather.<br />
0|mm       | [06.07.2023 10:26.34.592] [LOG]   Initializing new module helper …<br />
0|mm       | [06.07.2023 10:26.34.593] [LOG]   Module helper loaded: newsfeed<br />
0|mm       | [06.07.2023 10:26.35.237] [LOG]   Initializing new module helper …<br />
0|mm       | [06.07.2023 10:26.35.238] [LOG]   Module helper loaded: MMM-Jast<br />
0|mm       | [06.07.2023 10:26.35.238] [LOG]   All module helpers loaded.<br />
0|mm       | [06.07.2023 10:26.35.252] [LOG]   Starting server on port 8080 …<br />
0|mm       | [06.07.2023 10:26.35.462] [LOG]   Server started …<br />
0|mm       | [06.07.2023 10:26.35.463] [LOG]   Connecting socket for: updatenotification<br />
0|mm       | [06.07.2023 10:26.35.466] [LOG]   Starting module helper: updatenotification<br />
0|mm       | [06.07.2023 10:26.35.467] [LOG]   Connecting socket for: MMM-MyScoreboard<br />
0|mm       | [06.07.2023 10:26.35.468] [LOG]   Starting node_helper for module [MMM-MyScoreboard]<br />
0|mm       | [06.07.2023 10:26.35.831] [LOG]   Connecting socket for: calendar<br />
0|mm       | [06.07.2023 10:26.35.831] [LOG]   Starting node helper for: calendar<br />
0|mm       | [06.07.2023 10:26.35.832] [LOG]   Connecting socket for: newsfeed<br />
0|mm       | [06.07.2023 10:26.35.833] [LOG]   Starting node helper for: newsfeed<br />
0|mm       | [06.07.2023 10:26.35.834] [LOG]   Connecting socket for: MMM-Jast<br />
0|mm       | [06.07.2023 10:26.35.834] [LOG]   MMM-Jast helper method started…<br />
0|mm       | [06.07.2023 10:26.35.836] [LOG]   Sockets connected &amp; modules started …<br />
0|mm       | [06.07.2023 10:26.35.876] [LOG]   Launching application.<br />
0|mm       | [06.07.2023 10:26.38.724] [LOG]   Create new calendarfetcher for url: <a href="https://calendar.google.com/calendar/ical/wyovino%40gmail.com/private-b71db2843aaff911c63405db3b5da429/basic.ics" target="_blank" rel="noopener noreferrer nofollow ugc">https://calendar.google.com/calendar/ical/wyovino%40gmail.com/private-b71db2843aaff911c63405db3b5da429/basic.ics</a> - Interval: 300000<br />
0|mm       | [06.07.2023 10:26.38.762] [LOG]   Create new newsfetcher for url: <a href="https://www.yahoo.com/news/rss" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.yahoo.com/news/rss</a> - Interval: 300000<br />
0|mm       | [06.07.2023 10:26.38.769] [LOG]   Create new newsfetcher for url: <a href="https://www.mlb.com/mets/feeds/news/rss.xml?_gl=1*1hyw7gs*_gcl_au*MTM2MjI0OTI5My4xNjgyMzQ1ODU3" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.mlb.com/mets/feeds/news/rss.xml?_gl=1*1hyw7gs*_gcl_au*MTM2MjI0OTI5My4xNjgyMzQ1ODU3</a> - Interval: 300000<br />
0|mm       | [06.07.2023 10:26.38.773] [LOG]   Create new newsfetcher for url: <a href="https://api.foxsports.com/v2/content/optimized-rss?partnerKey=MB0Wehpmuj2lUhuRhQaafhBjAJqaPU244mlTDK1i&amp;aggregateId=7f83e8ca-6701-5ea0-96ee-072636b67336" target="_blank" rel="noopener noreferrer nofollow ugc">https://api.foxsports.com/v2/content/optimized-rss?partnerKey=MB0Wehpmuj2lUhuRhQaafhBjAJqaPU244mlTDK1i&amp;aggregateId=7f83e8ca-6701-5ea0-96ee-072636b67336</a> - Interval: 300000<br />
0|mm       | [06.07.2023 10:26.40.378] [INFO]  Newsfeed-Fetcher: Broadcasting 50 items.<br />
0|mm       | [06.07.2023 10:26.40.491] [INFO]  Newsfeed-Fetcher: reloadInterval set to ttl=10800000 for url <a href="https://api.foxsports.com/v2/content/optimized-rss?partnerKey=MB0Wehpmuj2lUhuRhQaafhBjAJqaPU244mlTDK1i&amp;aggregateId=7f83e8ca-6701-5ea0-96ee-072636b67336" target="_blank" rel="noopener noreferrer nofollow ugc">https://api.foxsports.com/v2/content/optimized-rss?partnerKey=MB0Wehpmuj2lUhuRhQaafhBjAJqaPU244mlTDK1i&amp;aggregateId=7f83e8ca-6701-5ea0-96ee-072636b67336</a><br />
0|mm       | [06.07.2023 10:26.40.517] [INFO]  Newsfeed-Fetcher: Broadcasting 25 items.<br />
0|mm       | [06.07.2023 10:26.40.779] [INFO]  Checking git for module: MMM-MyScoreboard<br />
0|mm       | [06.07.2023 10:26.40.846] [INFO]  Newsfeed-Fetcher: Broadcasting 75 items.<br />
0|mm       | [06.07.2023 10:26.40.861] [INFO]  Checking git for module: MMM-Jast<br />
0|mm       | [06.07.2023 10:26.40.891] [INFO]  Checking git for module: MagicMirror<br />
0|mm       | [06.07.2023 10:26.41.016] [INFO]  Calendar-Fetcher: Broadcasting 1 events.</p>
<p dir="auto">/home/pi/.pm2/logs/mm-error.log last 50 lines:<br />
0|mm       | MESA-LOADER: failed to retrieve device information<br />
0|mm       | MESA-LOADER: failed to retrieve device information<br />
0|mm       | MESA-LOADER: failed to retrieve device information<br />
0|mm       | MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)<br />
0|mm       | failed to load driver: kms_swrast<br />
0|mm       | MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/aarch64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri)<br />
0|mm       | failed to load swrast driver<br />
0|mm       | [06.07.2023 10:26.41.236] [WARN]  API request for IXIC failed: Quote not found for ticker symbol: IXIC<br />
0|mm       | [06.07.2023 10:26.43.980] [ERROR] Failed to retrieve repo info for MagicMirror: Error: Command failed: cd /home/pi/MagicMirror/ &amp;&amp; git fetch -n --dry-run<br />
0|mm       | error: object file .git/objects/94/aeda9d76a88f9691fbebf7f4f50a39887c626e is empty<br />
0|mm       | fatal: loose object 94aeda9d76a88f9691fbebf7f4f50a39887c626e (stored in .git/objects/94/aeda9d76a88f9691fbebf7f4f50a39887c626e) is corrupt<br />
0|mm       | fatal: unpack-objects failed<br />
0|mm       |</p>
]]></description><link>https://forum.magicmirror.builders/post/110149</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110149</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Thu, 06 Jul 2023 14:30:02 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 13:43:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wyovino" aria-label="Profile: wyovino">@<bdi>wyovino</bdi></a> what do the pm2 logs show?</p>
<p dir="auto">stop mm via pm2<br />
pm2 stop all<br />
pm2 flush – clear old logs</p>
<p dir="auto">pm2 start 0</p>
<p dir="auto">pm2 logs --lines=50</p>
]]></description><link>https://forum.magicmirror.builders/post/110145</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110145</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Jul 2023 13:43:33 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 13:39:59 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>  It’s running the program but the commands to control the monitor are ignored,  The program is logging the activity.  Here is the scenario that works:</p>
<p dir="auto">Boot the Pi<br />
Connect via SSH and issue command “pm2 stop mm”<br />
Connect directly to the Pi using a connected keyboard and start my PIR program, then enter “pm2 start mm”</p>
<p dir="auto">This works but is obviously inconvenient as I need to have a keyboard connected to the Magic Mirror.  I’m going to see if I can run my program from crontab under the “pi” account. Maybe that’s the issue.</p>
]]></description><link>https://forum.magicmirror.builders/post/110144</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110144</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Thu, 06 Jul 2023 13:39:59 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 12:02:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wyovino" aria-label="Profile: wyovino">@<bdi>wyovino</bdi></a> maybe python needs some path info, env setup</p>
]]></description><link>https://forum.magicmirror.builders/post/110142</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110142</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Jul 2023 12:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 12:01:23 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> pm2 info mm</p>
<pre><code> Describing process with id 0 - name mm
│ status            │ online                          │
│ name              │ mm                              │
│ namespace         │ default                         │
│ version           │ N/A                             │
│ restarts          │ 0                               │
│ uptime            │ 29m                             │
│ script path       │ /home/pi/mm.sh                  │
│ script args       │ N/A                             │
│ error log path    │ /home/pi/.pm2/logs/mm-error.log │
│ out log path      │ /home/pi/.pm2/logs/mm-out.log   │
│ pid path          │ /home/pi/.pm2/pids/mm-0.pid     │
│ interpreter       │ bash                            │
│ interpreter args  │ N/A                             │
│ script id         │ 0                               │
│ exec cwd          │ /home/pi                        │
│ exec mode         │ fork_mode                       │
│ node.js version   │ N/A                             │
│ node env          │ N/A                             │
│ watch &amp; reload    │ ✘                               │
│ unstable restarts │ 0                               │
│ created at        │ 2023-06-28T02:47:15.904Z   
</code></pre>
<p dir="auto">I tried putting the command in /home/pi/mm.sh but it’s not working.</p>
]]></description><link>https://forum.magicmirror.builders/post/110140</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110140</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Thu, 06 Jul 2023 12:01:23 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 03:48:34 GMT]]></title><description><![CDATA[<p dir="auto">headed to bed, will look in in the morning</p>
]]></description><link>https://forum.magicmirror.builders/post/110136</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110136</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Jul 2023 03:48:34 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 03:34:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wyovino" aria-label="Profile: wyovino">@<bdi>wyovino</bdi></a> said in <a href="/post/110134">PIR problem RPi 4B, Bullseye 64 bit</a>:</p>
<blockquote>
<p dir="auto">│ 0  │ mm</p>
</blockquote>
<p dir="auto">so the  managed app  name is mm<br />
and the managed app number is  0</p>
<p dir="auto">so, now, show me the output of pm2 info 0, or pm2 info mm</p>
<pre><code>
from my system
(base) sam@sams:~/MagicMirror$ pm2 info 1
 Describing process with id 1 - name MagicMirror 
┌───────────────────┬───────────────────────────────────────────┐
│ status            │ stopped                                   │
│ name              │ MagicMirror                               │
│ namespace         │ default                                   │
│ version           │ 2.15.0                                    │
│ restarts          │ 27                                        │
│ uptime            │ 0                                         │
│ script path       │ /home/sam/MagicMirror/installers/mm.sh 
..
</code></pre>
<p dir="auto">particularly the script path</p>
]]></description><link>https://forum.magicmirror.builders/post/110135</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110135</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Jul 2023 03:34:49 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 03:32:29 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 />
$ pm2 status</p>
<pre><code>│ id │ name  │ mode     │ ↺   │ status    │ cpu     │ memory   
│ 0  │ mm    │ fork     │ 0   │ online    │ 0%       │ 2.8mb
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/110134</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110134</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Thu, 06 Jul 2023 03:32:29 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 03:26:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wyovino" aria-label="Profile: wyovino">@<bdi>wyovino</bdi></a></p>
<p dir="auto">show me the output of</p>
<p dir="auto">pm2 status</p>
]]></description><link>https://forum.magicmirror.builders/post/110133</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110133</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Jul 2023 03:26:44 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 03:25:59 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> I followed the instructions for the manual install and I’m using pm2. MagicMirror is working as expected, but I just can’t get my python script which stops and starts the monitor based on input from a PIR sensor to work unless I stop Magic Mirror, start my program, and then restart MagicMirror.</p>
<p dir="auto">At this point I’m thinking of starting from scratch with the previous version of Raspberry Pi OS (Buster) which I believe works with a PIR module for Magic Mirror. That uses TVservice which does not work with Bullseye.</p>
]]></description><link>https://forum.magicmirror.builders/post/110132</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110132</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Thu, 06 Jul 2023 03:25:59 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 03:21:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wyovino" aria-label="Profile: wyovino">@<bdi>wyovino</bdi></a> see my previous reply, I hit reject accidentally.  ( I review all  posts for members with reputation below 2, to keep out all the scammers, and porn posts)</p>
<p dir="auto">anyhow, my install script uses that file with pm2 to launch MM.</p>
<p dir="auto">so, as you are using mm as the name, the file is</p>
<p dir="auto">~/MagicMirror/mm.sh</p>
<p dir="auto">again, pm2 status</p>
<p dir="auto">will show you the apps managed<br />
pm2 info (the name or line number) will show you the detail, including the name of the thing launched</p>
]]></description><link>https://forum.magicmirror.builders/post/110131</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110131</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Jul 2023 03:21:32 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 03:18:16 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>  I don’t know why but my previous reply was rejected. I added my script to the <a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a> script but I believe that is legacy code that doesn’t get executed.  This is the first line of that file:" # This file is still here to keep PM2 working on older installations."</p>
<p dir="auto">Any suggestions would be appreciated.</p>
]]></description><link>https://forum.magicmirror.builders/post/110130</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110130</guid><dc:creator><![CDATA[wyovino]]></dc:creator><pubDate>Thu, 06 Jul 2023 03:18:16 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 03:13:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wyovino" aria-label="Profile: wyovino">@<bdi>wyovino</bdi></a> sorry, I hit reject by accident, please resubmit</p>
<p dir="auto">are you using pm2?   or the manual install startup process editing a service?</p>
<p dir="auto">did you use my install script? or the manual install?</p>
]]></description><link>https://forum.magicmirror.builders/post/110129</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110129</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Jul 2023 03:13:01 GMT</pubDate></item><item><title><![CDATA[Reply to PIR problem  RPi 4B, Bullseye 64 bit on Thu, 06 Jul 2023 02:47:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wyovino" aria-label="Profile: wyovino">@<bdi>wyovino</bdi></a> pm2 launches a script in the<br />
MagicMirror/installers/mm.sh</p>
<p dir="auto">pm2 info (the pm2 app name, as shown by pm2 status)</p>
<p dir="auto">for example<br />
pm2 info MagicMirror<br />
or<br />
pm2 info 0  (if its the 1st created app in the list)</p>
]]></description><link>https://forum.magicmirror.builders/post/110128</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110128</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 06 Jul 2023 02:47:18 GMT</pubDate></item></channel></rss>