<?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[IR control of presentations?]]></title><description><![CDATA[<p dir="auto">Hey everyone - i’m looking to run <a href="https://revealjs.com/demo/" target="_blank" rel="noopener noreferrer nofollow ugc">https://revealjs.com/demo/</a> on MM, in a web browser module.   I have a basic MM setup but otherwise a newbie :)</p>
<p dir="auto">The idea would be to able to able navigate through the slides with an IR remote (either mimicking keystrokes, or issuing api calls to the revealjs server.</p>
<p dir="auto">Does this seem realistic to do?  Any pointers on implementation would be very helpful!</p>
]]></description><link>https://forum.magicmirror.builders/topic/17119/ir-control-of-presentations</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 20:22:13 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17119.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Aug 2022 00:17:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IR control of presentations? on Tue, 23 Aug 2022 04:06:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfalken" aria-label="Profile: DrFalken">@<bdi>DrFalken</bdi></a> said in <a href="/post/103747">IR control of presentations?</a>:</p>
<blockquote>
<p dir="auto">Hey everyone - i’m looking to run <a href="https://revealjs.com/demo/" target="_blank" rel="noopener noreferrer nofollow ugc">https://revealjs.com/demo/</a> on MM, in a web browser module.   I have a basic MM setup but otherwise a newbie :)</p>
<p dir="auto">The idea would be to able to able navigate through the slides with an IR remote (either mimicking keystrokes, or issuing api calls to the revealjs server.</p>
<p dir="auto">Does this seem realistic to do?  Any pointers on implementation would be very helpful!</p>
</blockquote>
<p dir="auto">As others have explained, MagicMirror won’t do what you want.</p>
<p dir="auto">To solve your need,<br />
There are presentation wireless “mice” which look like tv remotes which can do what you want, if you are using a computer to display your website on a screen.<br />
OR<br />
you could turn each slide of your presentation into a graphic image and load them on a usb stick. Most “smart” tv’s have the ability to display images from a usb stick and will allow you to adjust the settings so you can change pages by clicking on your tv’s remote control.</p>
]]></description><link>https://forum.magicmirror.builders/post/103844</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103844</guid><dc:creator><![CDATA[kayakbabe]]></dc:creator><pubDate>Tue, 23 Aug 2022 04:06:17 GMT</pubDate></item><item><title><![CDATA[Reply to IR control of presentations? on Tue, 23 Aug 2022 04:03:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thierry7100" aria-label="Profile: Thierry7100">@<bdi>Thierry7100</bdi></a> Awesome, thank you!  Will give it a shot.</p>
]]></description><link>https://forum.magicmirror.builders/post/103843</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103843</guid><dc:creator><![CDATA[DrFalken]]></dc:creator><pubDate>Tue, 23 Aug 2022 04:03:44 GMT</pubDate></item><item><title><![CDATA[Reply to IR control of presentations? on Sun, 21 Aug 2022 05:06:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">If you are looking for an IR remote module, I wrote one some months ago to control a radio player embedded in the mirror. This module send notifications to other modules (or actions to show, hide or toggle modules).<br />
This module work with lirc (the Linux infrared control) and has been tested on a RPi (4).</p>
<p dir="auto">The module is available at <a href="https://github.com/thierry7100/MMM-Infrared-Remote" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/thierry7100/MMM-Infrared-Remote</a></p>
<p dir="auto">Hope this can help you.</p>
]]></description><link>https://forum.magicmirror.builders/post/103802</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103802</guid><dc:creator><![CDATA[Thierry7100]]></dc:creator><pubDate>Sun, 21 Aug 2022 05:06:58 GMT</pubDate></item><item><title><![CDATA[Reply to IR control of presentations? on Sat, 20 Aug 2022 20:50:09 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> Thank you!</p>
]]></description><link>https://forum.magicmirror.builders/post/103792</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103792</guid><dc:creator><![CDATA[DrFalken]]></dc:creator><pubDate>Sat, 20 Aug 2022 20:50:09 GMT</pubDate></item><item><title><![CDATA[Reply to IR control of presentations? on Sat, 20 Aug 2022 18:50:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfalken" aria-label="Profile: DrFalken">@<bdi>DrFalken</bdi></a> mm is a  composite ( built from parts) information display.  the ‘modules’ each from different author, control their content and update frequency, without knowledge of any other module.</p>
<p dir="auto">because the parts are independent, anyone can construct the information display any way they want</p>
<p dir="auto">technically mm is an output only medium, which has tiny bits of input nowadays…  button push, limited voice, and some externally submitted events.</p>
<p dir="auto">no general keyboard or mouse. no office type desktop.</p>
<p dir="auto">due to some creative invention, mm has the ability to fake multiple pages, and allow externally invoked page change</p>
]]></description><link>https://forum.magicmirror.builders/post/103789</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103789</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 20 Aug 2022 18:50:39 GMT</pubDate></item><item><title><![CDATA[Reply to IR control of presentations? on Sat, 20 Aug 2022 18:44:22 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> ah I get it.  So what’s the point of browser modules? Just to provide a UI to navigate?</p>
]]></description><link>https://forum.magicmirror.builders/post/103788</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103788</guid><dc:creator><![CDATA[DrFalken]]></dc:creator><pubDate>Sat, 20 Aug 2022 18:44:22 GMT</pubDate></item><item><title><![CDATA[Reply to IR control of presentations? on Sat, 20 Aug 2022 17:02:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfalken" aria-label="Profile: DrFalken">@<bdi>DrFalken</bdi></a> in MM a module creates a small section of html content</p>
<p dir="auto">div -&gt;iframe &lt;end-div</p>
<p dir="auto">and then gives that to MM which places it inside the div matching the position declared for the modules content… (see index.html for the raw mm html page layout)</p>
<p dir="auto">so, you create the div,  create iframe, add the url to the iframe, add the iframe to the div and return the div to MM (return from getDom() function.).  and mm does the placement, and browser does all the rest of the work…</p>
]]></description><link>https://forum.magicmirror.builders/post/103784</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103784</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 20 Aug 2022 17:02:14 GMT</pubDate></item><item><title><![CDATA[Reply to IR control of presentations? on Sat, 20 Aug 2022 16:57:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfalken" aria-label="Profile: DrFalken">@<bdi>DrFalken</bdi></a> MagicMirror is an app inside  a browser to present its stuff…</p>
]]></description><link>https://forum.magicmirror.builders/post/103783</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103783</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 20 Aug 2022 16:57:10 GMT</pubDate></item><item><title><![CDATA[Reply to IR control of presentations? on Sat, 20 Aug 2022 16:54:57 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!  Awesome writeup.</p>
<p dir="auto">Why would it be a browser to open a web browser?  I meant to use the browser module to open a revealjs URL (which would represent a desired slideshow), or would that not be possible?  Maybe I’m missing something.</p>
]]></description><link>https://forum.magicmirror.builders/post/103782</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103782</guid><dc:creator><![CDATA[DrFalken]]></dc:creator><pubDate>Sat, 20 Aug 2022 16:54:57 GMT</pubDate></item><item><title><![CDATA[Reply to IR control of presentations? on Sat, 20 Aug 2022 01:41:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/drfalken" aria-label="Profile: DrFalken">@<bdi>DrFalken</bdi></a> don’t know why you would want to use a web browser to open a web browser to do this… but</p>
<p dir="auto">if you put the demo in an iframe, it would be isolated from MM in terms of operation…</p>
<p dir="auto">and you can send events to that iframe from an MM module<br />
see<br />
<a href="https://stackoverflow.com/questions/28672152/pass-an-event-to-an-iframe-from-the-parent-window-javascript" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/28672152/pass-an-event-to-an-iframe-from-the-parent-window-javascript</a></p>
<p dir="auto">if you google search, ‘raspberry pi ir remote control gpio python tutorial’, there are a number of exmaples of using an IR report on a pi…</p>
<p dir="auto">collect the events in python, and pass to a module node_helper.js<br />
which can forward the events up to your controller module (that injected the iframe and  forwards the events)<br />
my python print module, <a href="https://github.com/sdetweil/MMM-PythonPrint" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-PythonPrint</a><br />
shows how to launch the python script and collect its output and forward up to module…</p>
<p dir="auto">so you need some IR receiver hardware, the python IR receiver code (library) , and what keys/gestures you want to pass on,<br />
and the module side that  injects the iframe, with url … etc…</p>
<p dir="auto">nothing exists today…</p>
<p dir="auto">doc on building modules here<br />
<a href="https://docs.magicmirror.builders/development/introduction.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.magicmirror.builders/development/introduction.html</a><br />
my SampleModule, which implemnnts the spec<br />
<a href="https://github.com/sdetweil/SampleModule" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/SampleModule</a><br />
the PythonPrint module is built from the sample…</p>
<p dir="auto">you should be able to get the iframe up and running in less than an hour using the sample… all yo u have to do is generate the right html iframe tag content in getDom() sample… (or maybe print is better)</p>
]]></description><link>https://forum.magicmirror.builders/post/103748</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/103748</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 20 Aug 2022 01:41:35 GMT</pubDate></item></channel></rss>