<?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 sensor to turn on LED strip]]></title><description><![CDATA[<p dir="auto">Hello everybody,<br />
I am moving forward with my MM project and was wondering if it would be possible to activate an LED strip when the PIR sensor detects motion.</p>
<p dir="auto">In particular, I use the following modules for the PIR:<br />
MMM-GPIO-Notifications: <a href="https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications</a><br />
MMM-Screen-Powersave-Notification: <a href="https://github.com/Tom-Hirschberger/MMM-Screen-Powersave-Notification" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Tom-Hirschberger/MMM-Screen-Powersave-Notification</a></p>
<p dir="auto">Is there a module capable of controlling an LED strip using notifications?<br />
Perhaps using the notifications of the module “MMM-GPIO-Notifications” …</p>
<p dir="auto">Thank you all.</p>
]]></description><link>https://forum.magicmirror.builders/topic/17182/pir-sensor-to-turn-on-led-strip</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 23:56:22 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17182.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Sep 2022 12:50:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Tue, 20 Sep 2022 15:29:21 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> thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/104645</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104645</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Tue, 20 Sep 2022 15:29:21 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Tue, 20 Sep 2022 15:04:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> gpio</p>
]]></description><link>https://forum.magicmirror.builders/post/104642</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104642</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 20 Sep 2022 15:04:09 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Tue, 20 Sep 2022 14:14:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/wishmaster270" aria-label="Profile: wishmaster270">@<bdi>wishmaster270</bdi></a> said in <a href="/post/104637">PIR sensor to turn on LED strip</a>:</p>
<blockquote>
<p dir="auto">If you want to power the Pi via USB instead be sure to connect the Ground of the strip with ground of the pi.</p>
</blockquote>
<p dir="auto">The GPIO ground or the power ground going into USB-C?</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/104641</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104641</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Tue, 20 Sep 2022 14:14:21 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Tue, 20 Sep 2022 11:49:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> no. they are powering the pi from the 5v gpio pins as well as the LEDs.</p>
<p dir="auto">the pin is tall.</p>
]]></description><link>https://forum.magicmirror.builders/post/104638</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104638</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 20 Sep 2022 11:49:40 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Tue, 20 Sep 2022 10:39:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> Hi, as the picture says they use the 5V power source of the led strip to power the Pi, too.<br />
Instead of powering the pi via USB they use the 5V GPIO pin.<br />
If you want to power the Pi via USB instead be sure to connect the Ground of the strip with ground of the pi.</p>
]]></description><link>https://forum.magicmirror.builders/post/104637</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104637</guid><dc:creator><![CDATA[wishmaster270]]></dc:creator><pubDate>Tue, 20 Sep 2022 10:39:20 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Tue, 20 Sep 2022 05:37:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a> said in <a href="/post/104631">PIR sensor to turn on LED strip</a>:</p>
<blockquote>
<p dir="auto">The reason is that the output of the RPi can drive a handful of LEDs, but the Pi only has so much power flowing through it (specs say 50mA). Powering the LEDs separately will let the Pi handle the logic and the power supply handle the… well, power.</p>
</blockquote>
<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/bhepler" aria-label="Profile: bhepler">@<bdi>bhepler</bdi></a> I understood that the LEDs must be powered by an external 5V because the RPI generates a few mA and is not able to turn on an LED strip, but from the photo you can see that the external 5V (+ and -) also goes in parallel on the 5V in exit from the RPI.</p>
<p dir="auto"><img src="/assets/uploads/files/1663651873610-3f775e85-f24b-4337-b00f-8d7fffb9ddc6-image.png" alt="3f775e85-f24b-4337-b00f-8d7fffb9ddc6-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">For what reason?<br />
Is this connection necessary (I no longer have 5V available on GPIO …)?</p>
<p dir="auto">Thank you very much</p>
]]></description><link>https://forum.magicmirror.builders/post/104635</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104635</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Tue, 20 Sep 2022 05:37:14 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Tue, 20 Sep 2022 00:23:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> - Those look like they’ll do the job.</p>
<blockquote>
<p dir="auto">I have seen the connection between RPI and LED strip but I do not understand why the external 5V power supply must also be connected to the RPI, is it not enough to connect it to the LED strip?</p>
</blockquote>
<p dir="auto">The reason is that the output of the RPi can drive a handful of LEDs, but the Pi only has so much power flowing through it (specs say 50mA). Powering the LEDs separately will let the Pi handle the logic and the power supply handle the… well, power.</p>
]]></description><link>https://forum.magicmirror.builders/post/104631</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104631</guid><dc:creator><![CDATA[bhepler]]></dc:creator><pubDate>Tue, 20 Sep 2022 00:23:01 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Mon, 19 Sep 2022 21:32:38 GMT]]></title><description><![CDATA[<p dir="auto">I found these <a href="https://a.aliexpress.com/_EwF3KTV" target="_blank" rel="noopener noreferrer nofollow ugc">https://a.aliexpress.com/_EwF3KTV</a>.<br />
The WS2813 strip is 5V.<br />
Can be fine?</p>
]]></description><link>https://forum.magicmirror.builders/post/104618</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104618</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Mon, 19 Sep 2022 21:32:38 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Sun, 18 Sep 2022 20:35:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oberfragger" aria-label="Profile: OberfragGER">@<bdi>OberfragGER</bdi></a> said in <a href="/post/104579">PIR sensor to turn on LED strip</a>:</p>
<blockquote>
<p dir="auto">For the LED-Strip… i use a WS2812. Its adessable an u can use it with 5V and it preconfigured in Hyperion</p>
</blockquote>
<p dir="auto">Where did you buy the LED strip? They seem very expensive …</p>
<p dir="auto">I have seen the <a href="https://learn.adafruit.com/assets/1589" target="_blank" rel="noopener noreferrer nofollow ugc">connection</a> between RPI and LED strip but I do not understand why the external 5V power supply must also be connected to the RPI, is it not enough to connect it to the LED strip?</p>
<p dir="auto">If I really have to connect the power supply to the RPI as well, how do you do if you have both PINs of the 5V GPIO occupied?</p>
]]></description><link>https://forum.magicmirror.builders/post/104586</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104586</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Sun, 18 Sep 2022 20:35:28 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Sun, 18 Sep 2022 19:09:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> I have to add… i use also the Module <a href="https://github.com/olexs/MMM-UserPresenceToMQTT" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/olexs/MMM-UserPresenceToMQTT</a></p>
<p dir="auto">For the LED-Strip… i use a WS2812. Its adessable an u can use it with 5V and it preconfigured in Hyperion.</p>
]]></description><link>https://forum.magicmirror.builders/post/104579</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104579</guid><dc:creator><![CDATA[OberfragGER]]></dc:creator><pubDate>Sun, 18 Sep 2022 19:09:08 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Sat, 17 Sep 2022 15:52:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/oberfragger" aria-label="Profile: OberfragGER">@<bdi>OberfragGER</bdi></a> thanks for the valuable advice and for your availability, now I’ll read something.</p>
<p dir="auto">In the meantime, can you tell me an LED strip (not necessarily RGB …) that is compatible with this project?</p>
<p dir="auto">Thank you all.</p>
]]></description><link>https://forum.magicmirror.builders/post/104570</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104570</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Sat, 17 Sep 2022 15:52:21 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Mon, 12 Sep 2022 15:33:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> Just in case…<br />
Im using ioBroker <a class="plugin-mentions-user plugin-mentions-a" href="/user/home" aria-label="Profile: home">@<bdi>home</bdi></a> (thats a free Smart Home Software). WIth that i also have installed MQTT. Any other Smart Home software like Home Assist can do the same.<br />
I also installed Hyperion on the same Raspyberry i have installed MagicMirror. Inside ioBroker iam using the Hyperion adapter.<br />
So with any “user_presence” i get the MQTT informartion… and that triggers a scipt inside ioBroker to activate Hyperion.</p>
<p dir="auto">If your using any smart home software as well… this should be an easy thing. Feel free to ask…</p>
]]></description><link>https://forum.magicmirror.builders/post/104466</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104466</guid><dc:creator><![CDATA[OberfragGER]]></dc:creator><pubDate>Mon, 12 Sep 2022 15:33:09 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Fri, 09 Sep 2022 12:38:00 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/104349">PIR sensor to turn on LED strip</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> ok  got it.<br />
what I was saying is that the<br />
MMM-PIR-???<br />
modules, if you use them, THEY send the USER_PRESENCE  notification<br />
the GPIO_Notifcations module is more generic and can send notifications for ANY gpio device</p>
</blockquote>
<p dir="auto">Ok ok, I just wanted to be sure that, in my case, the MMM-GPIO-Notifications module sends the “USER_PRESENCE” notification.<br />
I knew that the module I am using is a collector of GPIO devices…</p>
<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
]]></description><link>https://forum.magicmirror.builders/post/104351</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104351</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Fri, 09 Sep 2022 12:38:00 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Fri, 09 Sep 2022 12:10:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> ok  got it.</p>
<p dir="auto">what I was saying is that the</p>
<p dir="auto">MMM-PIR-???</p>
<p dir="auto">modules, if you use them, THEY send the USER_PRESENCE  notification</p>
<p dir="auto">the GPIO_Notifcations module is more generic and can send notifications for ANY gpio device</p>
]]></description><link>https://forum.magicmirror.builders/post/104349</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104349</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 09 Sep 2022 12:10:14 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Fri, 09 Sep 2022 08:59:24 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/104335">PIR sensor to turn on LED strip</a>:</p>
<blockquote>
<p dir="auto">u don’t need the GPIO_Notifications module. as the PIR modules send the USER_PRESENCE notification:</p>
</blockquote>
<p dir="auto">The module I use for sending notifications when the PIR detects motion is <a href="https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-GPIO-Notifications</a><br />
I believe he is sending the “USER_PRESENCE” notification:</p>
<pre><code>notifications: [
            {
              notification: 'USER_PRESENCE',
              payload: true
            },
</code></pre>
<p dir="auto">Thanks for your patience <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> ! ;-)</p>
]]></description><link>https://forum.magicmirror.builders/post/104346</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104346</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Fri, 09 Sep 2022 08:59:24 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Thu, 08 Sep 2022 13:10:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> u don’t need the GPIO_Notifications module. as the PIR modules send the USER_PRESENCE notification</p>
]]></description><link>https://forum.magicmirror.builders/post/104335</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104335</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Sep 2022 13:10:19 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Thu, 08 Sep 2022 11:52:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mmrize" aria-label="Profile: MMRIZE">@<bdi>MMRIZE</bdi></a> good catch</p>
]]></description><link>https://forum.magicmirror.builders/post/104332</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104332</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Sep 2022 11:52:41 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Thu, 08 Sep 2022 11:52:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> fixed the typo, git pull for the update</p>
]]></description><link>https://forum.magicmirror.builders/post/104331</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104331</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 08 Sep 2022 11:52:31 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Thu, 08 Sep 2022 09:32:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a><br />
<code>' USER_PRESENCE'</code> !== <code>'USER_PRESENCE'</code></p>
]]></description><link>https://forum.magicmirror.builders/post/104330</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104330</guid><dc:creator><![CDATA[MMRIZE]]></dc:creator><pubDate>Thu, 08 Sep 2022 09:32:40 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Thu, 08 Sep 2022 08:33:54 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/104296">PIR sensor to turn on LED strip</a>:</p>
<blockquote>
<p dir="auto">use my updated fork…<br />
<a href="https://github.com/sdetweil/MMM-PiLights" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-PiLights</a><br />
it responds to the PIR modules USER_PRESENCE notification (true  = turn on, false = turn off)<br />
if lights are off  and on is sent, it will restore the previous sequence  set with the normal<br />
SEQUENCE notification</p>
</blockquote>
<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">Let’s see if I understand:</p>
<ul>
<li>By default the LEDs will be off, until the “MMM-GPIO-Notifications” module detects something.</li>
<li>If the PIR detects the movement the “MMM-GPIO-Notifications” module will send the notification USER_PRESENCE = true and the LEDs will turn on</li>
<li>After some time without movement the “MMM-GPIO-Notifications” module will send the notification USER_PRESENCE = false and the LEDs will turn off</li>
</ul>
<p dir="auto">Correct?</p>
<p dir="auto">I’m not a developer, but I’m still trying to understand your change in the code:</p>
<pre><code>else if (notification === ' USER_PRESENCE'){
            if(payload == false){
                this.leds.allOFF();
            } else {
                // user present, restore the last active sequence
                Promise.resolve(this.runSequence(this.lastSequence.sequence, thi,lastSequence.iterations,this.lastSequence.delay)
                .catch((err) =&gt; {
                    this.log('user present Sequence error: ' + err.message);
                }));
</code></pre>
<p dir="auto">why can’t I see this notification in the code?</p>
<pre><code>(notification === ' USER_PRESENCE'){
            if(payload == true){
                this.leds.allON();
            }
</code></pre>
<p dir="auto">Thanks again!</p>
]]></description><link>https://forum.magicmirror.builders/post/104329</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104329</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Thu, 08 Sep 2022 08:33:54 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Wed, 07 Sep 2022 18:59:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I would suggest the solution of <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> as well.</p>
<p dir="auto">An other, but much more complicate version would be to use my <a href="https://github.com/Tom-Hirschberger/PythonLedControl" target="_blank" rel="noopener noreferrer nofollow ugc">PythonLedControl</a> and control it with the MMM-MQTTbridge module.</p>
]]></description><link>https://forum.magicmirror.builders/post/104302</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104302</guid><dc:creator><![CDATA[wishmaster270]]></dc:creator><pubDate>Wed, 07 Sep 2022 18:59:37 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Wed, 07 Sep 2022 19:06:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> use my updated fork…</p>
<p dir="auto"><a href="https://github.com/sdetweil/MMM-PiLights" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-PiLights</a></p>
<p dir="auto">it responds to the PIR modules USER_PRESENCE notification (true  = turn on, false = turn off)</p>
<p dir="auto">if lights are off  and on is sent, it will restore the previous sequence  set with the normal<br />
SEQUENCE notification</p>
]]></description><link>https://forum.magicmirror.builders/post/104296</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104296</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 07 Sep 2022 19:06:39 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Wed, 07 Sep 2022 12:11:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/egnos" aria-label="Profile: Egnos">@<bdi>Egnos</bdi></a> it has a way for all off.  but not all on.</p>
]]></description><link>https://forum.magicmirror.builders/post/104295</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104295</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 07 Sep 2022 12:11:12 GMT</pubDate></item><item><title><![CDATA[Reply to PIR sensor to turn on LED strip on Wed, 07 Sep 2022 08:59:28 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/104284">PIR sensor to turn on LED strip</a>:</p>
<blockquote>
<p dir="auto">but this module rpi-leds, only toggles the leds ON the pi board…   not led strip…</p>
</blockquote>
<p dir="auto">Maybe this module could fit <a href="https://github.com/jc21/MMM-PiLights" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/jc21/MMM-PiLights</a>, using SPI and a LPD8806 or WS2801 LED strip.</p>
<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/104284">PIR sensor to turn on LED strip</a>:</p>
<blockquote>
<p dir="auto">if u can find one that works the ed strip with a python command, then we can make that work</p>
</blockquote>
<p dir="auto">It appears to respond to notifications:</p>
<pre><code>this.sendNotification('PILIGHTS_SEQUENCE', 'blue_pulse');
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/104291</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/104291</guid><dc:creator><![CDATA[Egnos]]></dc:creator><pubDate>Wed, 07 Sep 2022 08:59:28 GMT</pubDate></item></channel></rss>