<?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 toggling]]></title><description><![CDATA[<p dir="auto">Is it possible to set the relay toggling not only when switching on or off, but during both state changes. So a toggle when switching off and a toggle when switching on.<br />
The background is that I want to use the relay to operate my standby button on the monitor.<br />
The relay currently switches off after a set time and switches on again when there is movement. This switches the supply voltage completely. It would be better to leave the power supply permanently connected and only switch the stanby button. But for this you need a change in the state of the relay with every process.<br />
I couldn’t get it to work in the settings. where can you change the behavior of the relay? mode 6 and mod 7 at the same time so to speak.</p>
]]></description><link>https://forum.magicmirror.builders/topic/19066/mmm-pir-toggling</link><generator>RSS for Node</generator><lastBuildDate>Tue, 16 Jun 2026 00:02:40 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19066.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Oct 2024 12:12:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-Pir toggling on Thu, 24 Oct 2024 13:40:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> said in <a href="/post/120800">MMM-Pir toggling</a>:</p>
<blockquote>
<p dir="auto">config: {<br />
triggers:[<br />
{<br />
trigger: “USER_PRESENCE”,<br />
fires: [<br />
{<br />
exec: (payload) =&gt; {<br />
return "python3 /homr/pi/neu1.py " + payload.option<br />
}<br />
},<br />
],<br />
},<br />
]<br />
}</p>
</blockquote>
<p dir="auto">The pathon3 comand was missing. I´m not quite firm with programming.<br />
But a serce for executing a py script brought the answere!</p>
]]></description><link>https://forum.magicmirror.builders/post/120804</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120804</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Thu, 24 Oct 2024 13:40:50 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Fri, 25 Oct 2024 11:42:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> ok… two things…</p>
<ol>
<li>when posting config or logs info in the forum, please use the code-block wrapper</li>
</ol>
<p dir="auto">to use</p>
<p dir="auto">paste the text you want to post, blank line above and below<br />
select the text you just pasted<br />
hit the &lt;/&gt; button above the editor to add the wrapper</p>
<ol start="2">
<li>on linux, you can specify the program to launch to execute a ‘script/program’<br />
you do this by adding a special first line</li>
</ol>
<pre><code>#!/path_to_executable/programname
</code></pre>
<p dir="auto">so in your case<br />
from a terminal window do</p>
<pre><code>which python3
</code></pre>
<p dir="auto">the which pgm returns the full path to the 1st instance of the program specified as located along the path . on my desktop that is</p>
<pre><code>which python3
/home/sam/anaconda3/bin/python3
</code></pre>
<p dir="auto">then in you editor of your script, make this the 1st line</p>
<pre><code>#!path_from_which
</code></pre>
<p dir="auto">so it looks like this</p>
<pre><code>#!/home/sam/anaconda3/bin/python3
</code></pre>
<p dir="auto">the linux execution code does all this stuff under the covers, reads the 1st line and invokes that pgm with the arguments passed to the script<br />
and of course, if no #! then the script USER  has to specify it like you did</p>
]]></description><link>https://forum.magicmirror.builders/post/120805</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120805</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 25 Oct 2024 11:42:26 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Thu, 24 Oct 2024 13:40:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> said in <a href="/post/120800">MMM-Pir toggling</a>:</p>
<blockquote>
<p dir="auto">config: {<br />
triggers:[<br />
{<br />
trigger: “USER_PRESENCE”,<br />
fires: [<br />
{<br />
exec: (payload) =&gt; {<br />
return "python3 /homr/pi/neu1.py " + payload.option<br />
}<br />
},<br />
],<br />
},<br />
]<br />
}</p>
</blockquote>
<p dir="auto">The pathon3 comand was missing. I´m not quite firm with programming.<br />
But a serce for executing a py script brought the answere!</p>
]]></description><link>https://forum.magicmirror.builders/post/120804</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120804</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Thu, 24 Oct 2024 13:40:50 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Thu, 24 Oct 2024 12:07:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> what was the issue?  might help others in the same predicament</p>
]]></description><link>https://forum.magicmirror.builders/post/120802</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120802</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 24 Oct 2024 12:07:13 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Thu, 24 Oct 2024 12:04:57 GMT]]></title><description><![CDATA[<p dir="auto">I got it working, many thanks for your Help :-)</p>
]]></description><link>https://forum.magicmirror.builders/post/120801</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120801</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Thu, 24 Oct 2024 12:04:57 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Thu, 24 Oct 2024 10:58:37 GMT]]></title><description><![CDATA[<p dir="auto">so this is the aktual config<br />
the command python3  /home/pi/neu1.py is acting the relay if executed in termnal<br />
I use fire and exec both with no action.<br />
maybe there is no trigger natification.</p>
<pre><code>module: "MMM-NotificationTrigger",
                       config: {
                         triggers:[
                           {
                              trigger: "USER_PRESENCE",
                              fires: [
                                {
                                  fire:"python3 /home/pi/neu1.py",
                                  exec: (payload) =&gt; {
                                    return "python3 /homr/pi/neu1.py " + payload.option
                                  }
                                },
                               ],
                             },
                           ]
                         }
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/120800</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120800</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Thu, 24 Oct 2024 10:58:37 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Wed, 23 Oct 2024 15:23:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> that means you started MM AGAIN…</p>
<p dir="auto">if you are using PM2, then you need to use the pm2 commands</p>
<p dir="auto">pm2 status<br />
pm2 stop x<br />
where x is the name or number of the row of the app you  want control<br />
and then pm2 start x</p>
<p dir="auto">or you can do</p>
<p dir="auto">pm2 restart x</p>
<p dir="auto">I <em><strong>STRONGLY</strong></em> recommend using manual start while you are developing your mm solution<br />
changing config, adding modules</p>
<pre><code class="language-sh">pm2 stop all

cd ~/MagicMirror
npm start 
</code></pre>
<p dir="auto">to stop MM in this mode, hit ctrl-q  on the MM screen</p>
<p dir="auto">if you do this over ssh cause you have no keyboard on the mm system (like me all the time)  press ctrl-c in the ssh window where you did npm start</p>
<p dir="auto">(if you do this when PM2 is controlling, it will do its job, “keep the app running”,<br />
you stop it, and pm2 will restart it… )</p>
]]></description><link>https://forum.magicmirror.builders/post/120787</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120787</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 23 Oct 2024 15:23:22 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Wed, 23 Oct 2024 15:17:14 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/120778">MMM-Pir toggling</a>:</p>
<blockquote>
<p dir="auto">npm start location<br />
pi@MagicMirro-2:~/MagicMirror/config $ npm start</p>
</blockquote>
<blockquote>
<p dir="auto">magicmirror@2.29.0 start<br />
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js</p>
</blockquote>
<p dir="auto">[2024-10-23 17:12:16.266] [LOG]   Starting MagicMirror: v2.29.0<br />
[2024-10-23 17:12:16.334] [LOG]   Loading config …<br />
[2024-10-23 17:12:16.341] [LOG]   config template file not exists, no envsubst<br />
[2024-10-23 17:12:17.515] [INFO]  Checking config file /home/pi/MagicMirror/conf                                                                                                                                                                             ig/config.js …<br />
[2024-10-23 17:12:17.711] [INFO]  Your configuration file doesn’t contain syntax                                                                                                                                                                              errors :)<br />
[2024-10-23 17:12:17.712] [INFO]  Checking modules structure configuration …<br />
[2024-10-23 17:12:17.959] [INFO]  Your modules structure configuration doesn’t c                                                                                                                                                                             ontain errors :)<br />
[2024-10-23 17:12:17.967] [LOG]   Loading module helpers …<br />
[2024-10-23 17:12:18.020] [LOG]   Initializing new module helper …<br />
[2024-10-23 17:12:18.022] [LOG]   Module helper loaded: MMM-Pir<br />
[2024-10-23 17:12:18.026] [LOG]   Initializing new module helper …<br />
[2024-10-23 17:12:18.028] [LOG]   Module helper loaded: MMM-NotificationTrigger<br />
[2024-10-23 17:12:18.031] [LOG]   No helper found for module: alert.<br />
[2024-10-23 17:12:18.042] [LOG]   Initializing new module helper …<br />
[2024-10-23 17:12:18.043] [LOG]   Module helper loaded: updatenotification<br />
[2024-10-23 17:12:18.044] [LOG]   No helper found for module: clock.<br />
[2024-10-23 17:12:18.298] [LOG]   Initializing new module helper …<br />
[2024-10-23 17:12:18.299] [LOG]   Module helper loaded: calendar<br />
[2024-10-23 17:12:18.300] [LOG]   No helper found for module: MMM-WebView.<br />
[2024-10-23 17:12:18.303] [LOG]   No helper found for module: weather.<br />
[2024-10-23 17:12:18.306] [LOG]   No helper found for module: MMM-RAIN-MAP.<br />
[2024-10-23 17:12:18.488] [LOG]   Initializing new module helper …<br />
[2024-10-23 17:12:18.489] [LOG]   Module helper loaded: newsfeed<br />
[2024-10-23 17:12:18.490] [LOG]   All module helpers loaded.<br />
[2024-10-23 17:12:18.522] [LOG]   Starting server on port 8080 …<br />
[2024-10-23 17:12:20.761] [ERROR] Whoops! There was an uncaught exception…<br />
[2024-10-23 17:12:20.816] [ERROR] Error: listen EADDRINUSE: address already in u                                                                                                                                                                             se ::1:8080<br />
at Server.setupListenHandle [as _listen2] (node:net:1904:16)<br />
at listenInCluster (node:net:1961:12)<br />
at GetAddrInfoReqWrap.doListen [as callback] (node:net:2135:7)<br />
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:8) {<br />
code: ‘EADDRINUSE’,<br />
errno: -98,<br />
syscall: ‘listen’,<br />
address: ‘::1’,<br />
port: 8080<br />
}<br />
[2024-10-23 17:12:20.818] [ERROR] MagicMirror² will not quit, but it might be a                                                                                                                                                                              good idea to check why this happened. Maybe no internet connection?<br />
[2024-10-23 17:12:20.824] [ERROR] If you think this really is an issue, please o                                                                                                                                                                             pen an issue on GitHub: <a href="https://github.com/MagicMirrorOrg/MagicMirror/issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MagicMirrorOrg/MagicMirror/issues</a><br />
[13489:1023/171222.609717:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.619958:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.622864:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.623145:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.623492:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.623703:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.623989:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.624237:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.624616:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.627519:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.631965:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.632229:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.632531:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.632730:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.634239:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.637235:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.639949:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.643515:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.647036:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.647506:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.648316:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.648593:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.648900:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.649075:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.649295:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.649472:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[13489:1023/171222.649704:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)<br />
[13489:1023/171222.649858:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)<br />
[2024-10-23 17:12:24.158] [INFO]  System information:</p>
<h3>SYSTEM:   manufacturer: ; model: ; virtual: false</h3>
<h3>OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.51+rpt-rpi-v8</h3>
<h3>VERSIONS: electron: 31.7.1; used node: 20.18.0; installed node: 20.9.0; npm: 10.1.0; pm2: 5.4.2</h3>
<h3>OTHER:    timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined</h3>
<p dir="auto">I think no errors according to the problem.</p>
]]></description><link>https://forum.magicmirror.builders/post/120786</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120786</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Wed, 23 Oct 2024 15:17:14 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Wed, 23 Oct 2024 12:18:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> ok, i was checking for permissions</p>
<p dir="auto">did you check the messages from npm start location, see if any errors were posted</p>
]]></description><link>https://forum.magicmirror.builders/post/120778</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120778</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 23 Oct 2024 12:18:03 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Wed, 23 Oct 2024 07:38:37 GMT]]></title><description><![CDATA[<p dir="auto">Yes, this I can.<br />
Kliking - exexute, relay klliks on an off once.</p>
]]></description><link>https://forum.magicmirror.builders/post/120777</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120777</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Wed, 23 Oct 2024 07:38:37 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Tue, 22 Oct 2024 21:58:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> can you execute the  script manually from the terminal window?</p>
]]></description><link>https://forum.magicmirror.builders/post/120767</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120767</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 22 Oct 2024 21:58:32 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Tue, 22 Oct 2024 15:23:12 GMT]]></title><description><![CDATA[<p dir="auto">Even with /home/pi/neu1.py it is not responding.<br />
Do I have to devine true and fals state in the config as well?</p>
]]></description><link>https://forum.magicmirror.builders/post/120765</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120765</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Tue, 22 Oct 2024 15:23:12 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Tue, 22 Oct 2024 15:07:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> said in <a href="/post/120760">MMM-Pir toggling</a>:</p>
<blockquote>
<p dir="auto">exec: “/neu1.py”</p>
</blockquote>
<p dir="auto">that means in the root system folder’if you meant YOUR home folder<br />
that would be , replace username with really logged on user for home folder</p>
<p dir="auto">/home/username/neu1.py</p>
<p dir="auto">there may have been messages posted to the MM startup output</p>
]]></description><link>https://forum.magicmirror.builders/post/120761</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120761</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 22 Oct 2024 15:07:47 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Tue, 22 Oct 2024 15:04:57 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much, I spent the whole day trying to understand notification triggers and producing a config, unfortunately without success.<br />
Maybe you can help me out. how do I do the config so that the trigger can be taken over by mmmpir? I’ve already created a small py script with a gpio pin that goes on and off, it’s in the root directory.<br />
But I just can’t get the execut function to be implemented.</p>
<p dir="auto">{<br />
module: “MMM-NotificationTrigger”,<br />
config: {<br />
triggers:[<br />
{<br />
trigger: “USER_PRESENCE”,<br />
fires: [<br />
{<br />
exec: “/neu1.py”<br />
}<br />
],<br />
},<br />
]<br />
}<br />
},</p>
]]></description><link>https://forum.magicmirror.builders/post/120760</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120760</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Tue, 22 Oct 2024 15:04:57 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Mon, 21 Oct 2024 17:15:57 GMT]]></title><description><![CDATA[<p dir="auto">Would it be possible to create a mode in which a relay is switched when detected on the PIR and after the new timer has expired.<br />
So an on off toggle, so to speak. This would make it possible to switch any monitor using the Stanfby button. HDMI on/off would then not be necessary, simply a relay on the monitor button and all monitors could be used.<br />
Unfortunately, I’m not that good at cascading the module.<br />
Thank you for your great work</p>
]]></description><link>https://forum.magicmirror.builders/post/120742</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120742</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Mon, 21 Oct 2024 17:15:57 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Mon, 21 Oct 2024 16:05:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto"><a href="https://github.com/bugsounet/MMM-Pir/pull/97" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-Pir</a> v2 is under coding<br />
Unfortunately, it is not possible to use mode 6 and 7 at the same time (same GPIO)</p>
<p dir="auto">This module send  <code>USER_PRESENCE</code> notification  with <code>true</code>or <code>false</code> payload (it’s the screen state)<br />
You can trigger it with this module <a href="https://github.com/MMRIZE/MMM-NotificationTrigger" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-NotificationTrigger</a> and exec a personal script for this</p>
<p dir="auto">Note:</p>
<ul>
<li>python <code>RPi.GPIO</code> will be deleted (in next release)  because there is a compatibility problem with pi5 and with bookworm too.</li>
<li>I will try to recode it with <code>gpiod</code> library for both compatibility</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/120735</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120735</guid><dc:creator><![CDATA[bugsounet]]></dc:creator><pubDate>Mon, 21 Oct 2024 16:05:03 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Mon, 21 Oct 2024 15:47:50 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, opened an issue here:</p>
<p dir="auto"><a href="https://github.com/KristjanESPERANTO/MagicMirror-3rd-Party-Modules/issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/KristjanESPERANTO/MagicMirror-3rd-Party-Modules/issues</a></p>
<p dir="auto">Will see</p>
]]></description><link>https://forum.magicmirror.builders/post/120734</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120734</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Mon, 21 Oct 2024 15:47:50 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Mon, 21 Oct 2024 15:30:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> troll wasn’t indended for you. he is a busy guy. PIR is busted all over the place with bookworm.</p>
]]></description><link>https://forum.magicmirror.builders/post/120733</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120733</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 21 Oct 2024 15:30:36 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Mon, 21 Oct 2024 15:24:51 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your answer. I don’t want to troll anything here.<br />
On Github I can make a pull request under mmm-pir. I think that’s not the point. I can’t find a new issue there.<br />
So here are my questions.</p>
]]></description><link>https://forum.magicmirror.builders/post/120732</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120732</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Mon, 21 Oct 2024 15:24:51 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Mon, 21 Oct 2024 15:29:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> generally youwould open an issue on the module githib page</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bugsounet" aria-label="Profile: bugsounet">@<bdi>bugsounet</bdi></a>  can you please add an issues tab to the module? so we can keep track of things like this without you having to troll the forum too…</p>
]]></description><link>https://forum.magicmirror.builders/post/120730</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120730</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 21 Oct 2024 15:29:04 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Mon, 21 Oct 2024 14:35:34 GMT]]></title><description><![CDATA[<p dir="auto">How can i do so?<br />
Is he actice on this forum?</p>
]]></description><link>https://forum.magicmirror.builders/post/120727</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120727</guid><dc:creator><![CDATA[ttt126]]></dc:creator><pubDate>Mon, 21 Oct 2024 14:35:34 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Pir toggling on Mon, 21 Oct 2024 12:18:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ttt126" aria-label="Profile: ttt126">@<bdi>ttt126</bdi></a> best to ask the author</p>
]]></description><link>https://forum.magicmirror.builders/post/120720</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/120720</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 21 Oct 2024 12:18:30 GMT</pubDate></item></channel></rss>