<?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[how to adjust brightness based on time on RPi3?]]></title><description><![CDATA[<p dir="auto">I want to adjust brightness to 100% during day time and 20% at night, how could I do that with RPi3?</p>
]]></description><link>https://forum.magicmirror.builders/topic/9462/how-to-adjust-brightness-based-on-time-on-rpi3</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 01:18:49 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9462.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Jan 2019 13:31:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how to adjust brightness based on time on RPi3? on Sun, 13 Jan 2019 00:42:20 GMT]]></title><description><![CDATA[<p dir="auto">all good! thanks, I missed the dependencies installation section.</p>
]]></description><link>https://forum.magicmirror.builders/post/50018</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/50018</guid><dc:creator><![CDATA[lkthomas]]></dc:creator><pubDate>Sun, 13 Jan 2019 00:42:20 GMT</pubDate></item><item><title><![CDATA[Reply to how to adjust brightness based on time on RPi3? on Sat, 12 Jan 2019 17:20:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lkthomas" aria-label="Profile: lkthomas">@<bdi>lkthomas</bdi></a> okay, a couple of things to check</p>
<ol>
<li>Have you installed the module and its dependencies as per the <a href="https://github.com/ianperrin/MMM-ModuleScheduler#installation" target="_blank" rel="noopener noreferrer nofollow ugc">instructions</a></li>
<li>Did you restart MM after installing and changing the <code>config.js</code> file.</li>
</ol>
<p dir="auto">With the config above place at the end of <code>modules</code> section you should see the following lines in the log.</p>
<pre><code>MMM-ModuleScheduler is removing all scheduled jobs
MMM-ModuleScheduler received CREATE_GLOBAL_SCHEDULE
MMM-ModuleScheduler is creating a global schedule for all modules using "0 6 * * *" and "0 22 * * *" with dim level 20
MMM-ModuleScheduler has created the global schedule for all modules
MMM-ModuleScheduler will next show all modules at Sun Jan 13 2019 06:00:00 GMT+0000 (UTC)
MMM-ModuleScheduler will next dim all modules at Sat Jan 12 2019 22:00:00 GMT+0000 (UTC)
</code></pre>
<p dir="auto">Whilst testing, you could use the following config to toggle the brightness more frequently (i.e. every two minutes):</p>
<pre><code>        {
            module: 'MMM-ModuleScheduler',
            config: {
                global_schedule: {from: '0-59/4 * * * *', to: '2-59/4 * * * *', dimLevel: '20' },
            }
        },
</code></pre>
<p dir="auto">Let us know how you get on.</p>
]]></description><link>https://forum.magicmirror.builders/post/49998</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49998</guid><dc:creator><![CDATA[ianperrin]]></dc:creator><pubDate>Sat, 12 Jan 2019 17:20:59 GMT</pubDate></item><item><title><![CDATA[Reply to how to adjust brightness based on time on RPi3? on Sat, 12 Jan 2019 14:16:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ianperrin" aria-label="Profile: ianperrin">@<bdi>ianperrin</bdi></a> just tested, dimlevel at 20 and 80 also show black screen</p>
]]></description><link>https://forum.magicmirror.builders/post/49990</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49990</guid><dc:creator><![CDATA[lkthomas]]></dc:creator><pubDate>Sat, 12 Jan 2019 14:16:40 GMT</pubDate></item><item><title><![CDATA[Reply to how to adjust brightness based on time on RPi3? on Sat, 12 Jan 2019 04:17:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lkthomas" aria-label="Profile: lkthomas">@<bdi>lkthomas</bdi></a> take a look at <a href="https://github.com/ianperrin/MMM-ModuleScheduler" target="_blank" rel="noopener noreferrer nofollow ugc">MMM=ModuleScheduler</a>. It contains a method for <a href="https://github.com/ianperrin/MMM-ModuleScheduler#dimming-modules" target="_blank" rel="noopener noreferrer nofollow ugc">dimming modules</a>.</p>
<p dir="auto">Once installed, adding something like this should to your <code>config.js</code> should work</p>
<pre><code>    {
        module: 'MMM-ModuleScheduler',
        config: {
            // SHOW ALL MODULES AT FULL BRIGHTNESS AT 06:00 AND DIM THEM TO 20% AT 22:00
            global_schedule: {from: '0 6 * * *', to: '0 22 * * *', dimLevel: '20' },
        }
    },</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/49981</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49981</guid><dc:creator><![CDATA[ianperrin]]></dc:creator><pubDate>Sat, 12 Jan 2019 04:17:19 GMT</pubDate></item><item><title><![CDATA[Reply to how to adjust brightness based on time on RPi3? on Thu, 10 Jan 2019 15:19:50 GMT]]></title><description><![CDATA[<p dir="auto">@sean</p>
<p dir="auto">pi@raspberrypi:~/MagicMirror/config $ xbacklight<br />
RANDR Query Version returned error -1</p>
<p dir="auto">no, doesn’t work in RPi3</p>
]]></description><link>https://forum.magicmirror.builders/post/49906</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49906</guid><dc:creator><![CDATA[lkthomas]]></dc:creator><pubDate>Thu, 10 Jan 2019 15:19:50 GMT</pubDate></item><item><title><![CDATA[Reply to how to adjust brightness based on time on RPi3? on Thu, 10 Jan 2019 15:13:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/lkthomas" aria-label="Profile: lkthomas">@<bdi>lkthomas</bdi></a><br />
For official 7" LCD Screen, <code>echo 32 &gt; /sys/class/backlight/rpi_backlight/brightness</code> will work.<br />
For common monitors,  as far as I know, debian has <code>xbacklight</code>but I’m not sure it will work on RPI also.</p>
]]></description><link>https://forum.magicmirror.builders/post/49905</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49905</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 10 Jan 2019 15:13:31 GMT</pubDate></item></channel></rss>