<?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[Shell scripts through mirror]]></title><description><![CDATA[<p dir="auto">Hi.</p>
<p dir="auto">I am trying to implement a way to turn my lights on and off. I have managed to write 2 very simple shell scripts in my rpi, one that turns lights on and one turns lights off.</p>
<p dir="auto">What is the easiest way to run these scripts through the magic mirror? I am also intending to run this by voice control, so a suggestion on how to do this is also appreciated.</p>
]]></description><link>https://forum.magicmirror.builders/topic/8388/shell-scripts-through-mirror</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 17:36:34 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/8388.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Jul 2018 23:55:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Shell scripts through mirror on Thu, 12 Jul 2018 05:22:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/trmst" aria-label="Profile: trmst">@<bdi>trmst</bdi></a> the way I’m calling the turn off monitor cmd in my voice module you can execute your shell script.</p>
<p dir="auto"><a href="https://github.com/fewieden/MMM-voice/blob/master/node_helper.js#L348" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/fewieden/MMM-voice/blob/master/node_helper.js#L348</a></p>
<p dir="auto">official documentation <a href="https://nodejs.org/dist/latest-v8.x/docs/api/child_process.html#child_process_child_process_exec_command_options_callback" target="_blank" rel="noopener noreferrer nofollow ugc">https://nodejs.org/dist/latest-v8.x/docs/api/child_process.html#child_process_child_process_exec_command_options_callback</a></p>
]]></description><link>https://forum.magicmirror.builders/post/42199</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/42199</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Thu, 12 Jul 2018 05:22:29 GMT</pubDate></item></channel></rss>