<?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-PIR-Sensor does not start]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have followed the installing guide of MMM-PIR-Sensor, but after I have added the module to the config.js I am getting this error and my mirror stays white:</p>
<p dir="auto">App threw an error when running Error: Module did not self-register.<br />
at Error (native)<br />
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:158:20)<br />
at Object.Module._extensions…node (module.js:568:18)<br />
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:158:20)<br />
at Module.load (module.js:456:32)<br />
at tryModuleLoad (module.js:415:12)<br />
at Function.Module._load (module.js:407:3)<br />
at Module.require (module.js:466:17)<br />
at require (internal/module.js:20:19)<br />
at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi/lib/exports.js:1:97)<br />
Error: Module did not self-register.<br />
at Error (native)<br />
at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:158:20)<br />
at Object.Module._extensions…node (module.js:568:18)<br />
at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:158:20)<br />
at Module.load (module.js:456:32)<br />
at tryModuleLoad (module.js:415:12)<br />
at Function.Module._load (module.js:407:3)<br />
at Module.require (module.js:466:17)<br />
at require (internal/module.js:20:19)<br />
at Object. (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/wiring-pi/lib/exports.js:1:97)</p>
<p dir="auto">I have not run “npm install” with sudo right. I have just logged in as user pi, navigate to modules folder, cloned the MMM-PIR-Sensor repository, navigate to the new folder, called “npm install” and added pi to the gpio group. Several other modules (like “localtransport”) are working like intended.</p>
<p dir="auto">Thank you very much in advance!<br />
Cheers</p>
]]></description><link>https://forum.magicmirror.builders/topic/202/mmm-pir-sensor-does-not-start</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 01:11:22 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/202.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Jun 2016 18:06:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-PIR-Sensor does not start on Sat, 25 Jun 2016 13:47:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/firesgc" aria-label="Profile: firesgc">@<bdi>firesgc</bdi></a></p>
<p dir="auto">I had the same problem as you, and after trying almost everything I found where was the problem.</p>
<p dir="auto">To add your user PI to GPIO group, in the module page says to run:<br />
<strong>sudo useradd -g pi gpio</strong><br />
My RPI always replay me that GPIO group already exists… so nothing happend</p>
<p dir="auto">I solve it by running:<br />
<strong>sudo usermod -a -G gpio pi</strong><br />
In this case pi user is added to gpio group</p>
<p dir="auto">I just restarted and it worked.</p>
<p dir="auto">Now using the following command:<br />
<strong>gpio readall</strong><br />
I can see how the Inputs and Outputs change</p>
<p dir="auto">I hope it works also for you</p>
]]></description><link>https://forum.magicmirror.builders/post/1968</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1968</guid><dc:creator><![CDATA[Jaghova]]></dc:creator><pubDate>Sat, 25 Jun 2016 13:47:33 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-PIR-Sensor does not start on Wed, 08 Jun 2016 20:51:47 GMT]]></title><description><![CDATA[<p dir="auto">I have tried to start magicmirror with sudo (DISPLAY=:0 gksudo npm start), but I get the same error messages.</p>
<p dir="auto">Please take a look at install.log of wiring-pi, but I don’t see any errors there.<br />
<a href="/uploads/files/1465418965260-install.log">0_1465418837018_install.log</a></p>
<p dir="auto">Thank you!</p>
]]></description><link>https://forum.magicmirror.builders/post/1511</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1511</guid><dc:creator><![CDATA[firesgc]]></dc:creator><pubDate>Wed, 08 Jun 2016 20:51:47 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-PIR-Sensor does not start on Wed, 08 Jun 2016 19:00:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/firesgc" aria-label="Profile: firesgc">@<bdi>firesgc</bdi></a> Did the installation go without errors for you?</p>
<p dir="auto">If you start magicmirror with sudo and it works, it looks like it’s a permission problem.</p>
]]></description><link>https://forum.magicmirror.builders/post/1503</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/1503</guid><dc:creator><![CDATA[mochman]]></dc:creator><pubDate>Wed, 08 Jun 2016 19:00:10 GMT</pubDate></item></channel></rss>