<?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-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs]]></title><description><![CDATA[<h2>Description:</h2>
<p dir="auto">MMM-KeyBindings is a Utility Module to accept inputs from an Amazon Fire Stick Remote (or any bluetooth-connected HID device) as well as generic keyboard inputs and pass them to other modules for control.<br />
<img src="/assets/uploads/files/1494777952390-fire_stick_remote.jpeg" alt="0_1494777951798_fire_stick_remote.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">The module can perform basic functions such as turning on/off the screen based on certain remote keys, but the real power is in the ability to send key press notifications to other modules.  My plan is to use this to control other plugins such as my fork of <a class="plugin-mentions-user plugin-mentions-a" href="/user/barnabycolby" aria-label="Profile: barnabycolby">@<bdi>barnabycolby</bdi></a>’s <a href="https://github.com/barnabycolby/MMM-Carousel" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-Carousel</a>  (Fork w/ Navigation Enabled: <a href="https://github.com/shbatm/MMM-Carousel/tree/wip" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-Carousel w/ KeyBindings</a> and <a href="https://github.com/tosti007/MMM-ProfileSwitcher" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-ProfileSwitcher</a> to switch screens based on remote control input.  In the future I also plan to add an on-screen menu with functions similar to those found in the <a href="https://github.com/Jopyth/MMM-Remote-Control" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-RemoteControl</a> module.</p>
<p dir="auto">See the <a href="https://github.com/shbatm/MMM-KeyBindings/blob/master/README.md" target="_blank" rel="noopener noreferrer nofollow ugc">README</a> for full details on the features.</p>
<h2>Download:</h2>
<p dir="auto">[card:shbatm/MMM-KeyBindings]</p>
<h3>Version 1.3.0 - Updated 3-Jan-2019 - [BREAKING CHANGES]  <a href="https://forum.magicmirror.builders/topic/2569/mmm-keybindings-control-your-mirror-with-amazon-fire-stick-remote-and-generic-keyboard-inputs/20">See details here</a></h3>
]]></description><link>https://forum.magicmirror.builders/topic/2569/mmm-keybindings-control-your-mirror-with-amazon-fire-stick-remote-and-generic-keyboard-inputs</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 18:49:44 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/2569.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 May 2017 16:12:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Wed, 24 Feb 2021 16:18:26 GMT]]></title><description><![CDATA[<p dir="auto">@mr-gysy</p>
<p dir="auto">I‘ve got a similar issue with a similar <a href="https://www.amazon.de/gp/aw/d/B07M6QNCND?psc=1&amp;ref=ppx_pop_mob_b_asin_image" target="_blank" rel="noopener noreferrer nofollow ugc">remote</a></p>
<p dir="auto">Did you solve your problem?</p>
<p dir="auto">In my case the keys (KEY_PAGEUP &amp; DOWN &amp; BACKSPACE) don‘t work.<br />
I changed the evdev path. I added them to „handleKeys“. I added them to „keyMap“.</p>
<p dir="auto">I can see them in „evtest“ working- KeyCode 104 &amp; 109 &amp; 14</p>
<p dir="auto">But in „viewnotifications“ they are not displayed</p>
<p dir="auto">The other keys are working with keybindings &amp; carousel.<br />
But i need two more keys xD</p>
]]></description><link>https://forum.magicmirror.builders/post/88851</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/88851</guid><dc:creator><![CDATA[matze86]]></dc:creator><pubDate>Wed, 24 Feb 2021 16:18:26 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Sun, 20 Sep 2020 07:51:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> ,</p>
<p dir="auto">ive been using MMM-Keybindings for a while with MMM-pages and up untill a month or so ago i noticed a problem that if ive used google assistant or click on screen, keybindings seems to loose focus and pressing the keys will not work until you click in the top bar where alerts come then i can use again untill problem repeats itself. i also have had the same problems with it when using your MMM-Carousel module as i taught it might be pages fault.</p>
<p dir="auto">thank you</p>
]]></description><link>https://forum.magicmirror.builders/post/82081</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/82081</guid><dc:creator><![CDATA[banbutcher]]></dc:creator><pubDate>Sun, 20 Sep 2020 07:51:29 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Tue, 30 Jun 2020 14:22:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> and everybody here I am trying to setup a Fire Stick, but I am stuck at step #3 of the module’s instructions because I don’t know WHERE in the file <code>99-btremote.rules</code> I’ve got to insert the remote name (in my case it’s <code>mice</code>)? :confused_face:</p>
]]></description><link>https://forum.magicmirror.builders/post/77850</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/77850</guid><dc:creator><![CDATA[Cr4z33]]></dc:creator><pubDate>Tue, 30 Jun 2020 14:22:23 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Sun, 22 Mar 2020 17:38:33 GMT]]></title><description><![CDATA[<p dir="auto">Hey,<br />
Great Tool and I got it worked with my Keyboard but not with my remote.</p>
<p dir="auto">Remote I bought: <a href="https://www.amazon.de/gp/product/B07BBH2F7T/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&amp;psc=1" target="_blank" rel="noopener noreferrer nofollow ugc">Remote</a></p>
<p dir="auto">its a remote with a USB reciver.</p>
<p dir="auto">Thats what I insert into my config file. Is something wrong?</p>
<p dir="auto"><img src="https://i.ibb.co/8YrRsTS/1.jpg" alt="alt text" class=" img-fluid img-markdown" /></p>
<p dir="auto">Please help me guys. THX</p>
]]></description><link>https://forum.magicmirror.builders/post/70970</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/70970</guid><dc:creator><![CDATA[Mr.Gysy]]></dc:creator><pubDate>Sun, 22 Mar 2020 17:38:33 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Tue, 17 Mar 2020 13:45:35 GMT]]></title><description><![CDATA[<p dir="auto">Didnt get this really to work, tried the same but it wont change between the pages. Mind take a look? (<a href="https://forum.magicmirror.builders/topic/12332/mmm-keybindings-mmm-pages-mmm-page-indicator">https://forum.magicmirror.builders/topic/12332/mmm-keybindings-mmm-pages-mmm-page-indicator</a>), Me really stuck :(</p>
]]></description><link>https://forum.magicmirror.builders/post/70693</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/70693</guid><dc:creator><![CDATA[l0b5ter]]></dc:creator><pubDate>Tue, 17 Mar 2020 13:45:35 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Thu, 12 Mar 2020 11:52:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrdenmark" aria-label="Profile: mrdenmark">@<bdi>mrdenmark</bdi></a> Did you get a response regarding this matter?<br />
im having a hard time doing the same as you :(</p>
]]></description><link>https://forum.magicmirror.builders/post/70517</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/70517</guid><dc:creator><![CDATA[l0b5ter]]></dc:creator><pubDate>Thu, 12 Mar 2020 11:52:32 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Sun, 16 Feb 2020 17:42:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> how comes I never noticed this topic before? 😅</p>
<p dir="auto">Can this module be adapted virtually for anything available in MagicMirror?</p>
<p dir="auto">What about your other module MMM-RTSPStream?<br />
Can I switch ie. streams by using the Fire Stick remote?</p>
]]></description><link>https://forum.magicmirror.builders/post/69590</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/69590</guid><dc:creator><![CDATA[Cr4z33]]></dc:creator><pubDate>Sun, 16 Feb 2020 17:42:04 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Thu, 31 Oct 2019 07:00:50 GMT]]></title><description><![CDATA[<p dir="auto">on my miirror i have set up 3 pages with mmm-pages,i’ve installed mmm-keybindings as i want to use the arrow keys to cycle through the pages but so far i’m having no luck,could anyone suggest a config sample to set this up?</p>
]]></description><link>https://forum.magicmirror.builders/post/63580</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/63580</guid><dc:creator><![CDATA[mrdenmark]]></dc:creator><pubDate>Thu, 31 Oct 2019 07:00:50 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Thu, 07 Feb 2019 05:48:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> Fantastic!  Thanks again!</p>
]]></description><link>https://forum.magicmirror.builders/post/51739</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51739</guid><dc:creator><![CDATA[gregp]]></dc:creator><pubDate>Thu, 07 Feb 2019 05:48:45 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Thu, 07 Feb 2019 02:58:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gregp" aria-label="Profile: gregp">@<bdi>gregp</bdi></a> Glad you got it working.  I’m not sure what happened with the README and where the details went around “enableKeyboard” and “enableKeyBindings”, looks like it got lost during an update.  I will get it corrected on Github.</p>
<p dir="auto">Also, <code>enableMousetrap</code> was replaced by <code>enableKeyboard</code> as a breaking change during one of the recent updates.  You no longer need <code>enableMousetrap</code> in your config, just <code>enableKeyboard</code>.</p>
<p dir="auto">Just a note, if you want to use ArrowLeft and ArrowRight you can (depending on your keyboard).  This will not interfere with the “KeyBindings” (Bluetooth Remote) unless you want the ArrowLeft on the remote to do something different than the keyboard.</p>
<p dir="auto">Finally, it looks like you found it between your first and second post, but just for anyone else, the <code>keyBindings</code> section needs to be inside the <code>config</code> section for MMM-Carousel.</p>
<p dir="auto">Just to close the loop with <a class="plugin-mentions-user plugin-mentions-a" href="/user/jdfraser" aria-label="Profile: jdfraser">@<bdi>jdfraser</bdi></a>, this was discussed further and closed in <a href="https://github.com/shbatm/MMM-KeyBindings/issues/6" target="_blank" rel="noopener noreferrer nofollow ugc">Issue #6</a> and <a href="https://github.com/shbatm/MMM-KeyBindings/issues/7" target="_blank" rel="noopener noreferrer nofollow ugc">Issue #7</a> on GitHub.</p>
]]></description><link>https://forum.magicmirror.builders/post/51735</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51735</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Thu, 07 Feb 2019 02:58:52 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Wed, 06 Feb 2019 20:38:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> and <a class="plugin-mentions-user plugin-mentions-a" href="/user/jdfraser" aria-label="Profile: jdfraser">@<bdi>jdfraser</bdi></a> , I believe I figured it out after much debugging and banging my head on the desk.</p>
<p dir="auto">There’s a config property that’s not documented that needs to be configured to accept keyboard presses. You’ll need to add</p>
<pre><code>enableKeyboard: true,
</code></pre>
<p dir="auto">in your MMM-KeyBindings module config.  Here’s my working config, there may or may not be some unneeded commands in there, but it was needed to get the “r” and “l” keys to move the MMM-Carousel page next and previous.  Note you also need to add the “handleKeys” for any of the non-standard keys.</p>
<pre><code>    {
            module: 'MMM-KeyBindings',
	    config: {
                enabledKeyStates: ["KEY_PRESSED"],
                evdev: { enabled: false },
                handleKeys: [ 'r', 'l' ],
                enableMousetrap: true,
                enableKeyboard: true,
			}
		},

        {
            module: 'MMM-Carousel',
            position: 'top_bar', // Required only for navigation controls
            config: {
                transitionInterval: 0, //20000,
                showPageIndicators: false,
                showPageControls: true,
                ignoreModules: ['MMM-ViewNotifications','alert','updatenotification','MMM-KeyBindings'],
                mode: 'slides',
                slides: {
                    main: [{name:'clock', classes:'zoom200'},'MMM-CalendarExt2', {name:'MMM-DarkSkyForecast', classes:'zoom200'}],
					"Slide 2": ['MMM-BackgroundSlideshow',],
                    "Slide 3": [{name:'MMM-aviationwx', classes:'zoom200'},{name:'MMM-DarkSkyForecast', classes:'zoom200'},],
                },
                keyBindings: { 
                    enabled: true,
                    map: {
                        NextSlide: "r", 
                        PrevSlide: "l", 
                    },
                    mode: "DEFAULT"
                }
            },
        },
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/51713</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51713</guid><dc:creator><![CDATA[gregp]]></dc:creator><pubDate>Wed, 06 Feb 2019 20:38:13 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Tue, 05 Feb 2019 18:35:32 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
This module looks like exactly what I need, but unfortunately I’m having a hard time getting it to work with a standard USB keyboard directly connected.  Reading through I believe I’ve got MMM-KeyBindings and MMM-Carousel set up appropriately, but no matter what I try it doesn’t appear to have any effect.</p>
<p dir="auto">I can use the mouse to click on the Carousel navigation to change pages.  I’ve also ensured I’ve clicked within the window to make sure the browser has focus, but the keyboard events don’t do anything.  Clicking CTRL-SHIFT-I, I can see in the debugger that MouseTrap is actually seeing the keyboard events, but I must have something wrong in the config preventing them from being handled appropriately.</p>
<p dir="auto">At first I was trying to get the right and left arrow keys on the keyboard to work, but it looks like the names of those are a bit more complicated (having similar-but-different names to the ArrowRight and ArrowLeft buttons on the remote), so I just switched to “r” and “l”. I’ve also tried the “keyBindings” both inside the MMM-Carousel “config” section and up at the module top level as shown below.</p>
<p dir="auto">I’m running the latest versions of both KeyBindings and Carousel as of today.  Here’s the relevant sections of my config.js, any help is greatly appreciated:</p>
<pre><code>	{
            module: 'MMM-KeyBindings',
			config: {
                enabledKeyStates: ["KEY_PRESSED"],
                evdev: { enabled: false },
                handleKeys: [ 'r', 'l' ],
                enableMousetrap: true,
			}
		},

        {
            module: 'MMM-Carousel',
            position: 'top_bar', // Required only for navigation controls
            config: {
                transitionInterval: 0, //20000,
                showPageIndicators: false,
                showPageControls: true,
                ignoreModules: ['MMM-ViewNotifications','alert','updatenotification','MMM-KeyBindings'],
                mode: 'slides',
                slides: {
                    main: [{name:'clock', classes:'zoom200'},'MMM-CalendarExt2', {name:'MMM-DarkSkyForecast', classes:'zoom200'}],
					"Slide 2": ['MMM-BackgroundSlideshow',],
                    "Slide 3": [{name:'MMM-aviationwx', classes:'zoom200'},{name:'MMM-DarkSkyForecast', classes:'zoom200'},],
				},
            },
            keyBindings: { 
                //NextSlide: "ArrowRight", // Remote Key Name
                NextSlide: "r",          // Keyboard Key Name
                //PrevSlide: "ArrowLeft",  // Remote Key Name
                PrevSlide: "l"           // Keyboard Key Name
            },
        },
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/51616</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/51616</guid><dc:creator><![CDATA[gregp]]></dc:creator><pubDate>Tue, 05 Feb 2019 18:35:32 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Sat, 26 Jan 2019 05:03:59 GMT]]></title><description><![CDATA[<p dir="auto">thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> for all your work on this module.</p>
<p dir="auto">I am having some problems getting it working with my MM. I have the module installed and loading, my Amazon Fire TV Remote is recognized and recognizing key presses. I am however, having issues with getting modules to respond to any keypresses.</p>
<p dir="auto">I started with the basic config as suggested in your doc, hoping that I could succeed in getting the monitor to turn on and off with the home key.  I could not get this to work.</p>
<pre><code>{
    module: 'MMM-KeyBindings',
    config: {
        enableMousetrap: true
    }
</code></pre>
<p dir="auto">I installed the “MM-ViewNotifications” module to see what was happening and it seems that the MMM-KeyBindings module is sending a “MONITORTOGGLE” command with the homekey press and my Monitor does not turn off. From reading your previous message I don’t think that this will work anymore, as it sounds like you have removed that functionality from this module and rely on other modules like MMM-Remote-Control for this.</p>
<p dir="auto">So I added this (below) to my config file, but even though I have specifically changed the Home button action to ‘MONITOROFF’, MMM-ViewNotifications still reports that it is sending a ‘MONITORTOGGLE’ command.  My next attempt was to try and control somthing else (hiding the clock) with the ‘Enter’ button. I think that the problem I am having with that may be syntax, I’m not really sure how I should configure MMM-KeyBindings include the corrrect payload.</p>
<p dir="auto">I am able to successfully use the following URL to turn off my monitor with MMM-Remote-Control “<a href="http://192.168.1.104:8080/remote?action=MONITOROFF" target="_blank" rel="noopener noreferrer nofollow ugc">http://192.168.1.104:8080/remote?action=MONITOROFF</a>” as well “<a href="http://192.168.1.104:8080/remote?action=HIDE&amp;module=module_5_clock" target="_blank" rel="noopener noreferrer nofollow ugc">http://192.168.1.104:8080/remote?action=HIDE&amp;module=module_5_clock</a>” is able to hide my clock.</p>
<p dir="auto">If you could look and my configuration and offer some guidance I would appreciate it.</p>
<pre><code>{ 
    module: 'MMM-KeyBindings',
    config: {
        enableMousetrap: true,
		keyMap: {  
    Home: "KEY_HOMEPAGE", 
    Enter: "KEY_KPENTER", 
    ArrowLeft: "KEY_LEFT", 
    ArrowRight: "KEY_RIGHT", 
    ArrowUp: "KEY_UP", 
    ArrowDown: "KEY_DOWN",
    Menu: "KEY_MENU", 
    MediaPlayPause: "KEY_PLAYPAUSE", 
    MediaNextTrack: "KEY_FASTFORWARD", 
    MediaPreviousTrack: "KEY_REWIND",
    Return: "KEY_BACK"
},
	},
	actions: [{
		key: "Enter",
		state: "KEY_LONGPRESSED",
		instance: "SERVER",
	//	mode: "DEFAULT",
		notification: "REMOTE_ACTION",
		payload: { action: "HIDE&amp;module=module_5_clock" }
		},
		{
		key: "Home",
		state: "KEY_PRESSED",
		instance: "SERVER",
	//	mode: "DEFAULT",
		notification: "REMOTE_ACTION",
		payload: { action: "MONITOROFF" }
		}
		]

},
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/50742</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/50742</guid><dc:creator><![CDATA[jdfraser]]></dc:creator><pubDate>Sat, 26 Jan 2019 05:03:59 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Thu, 03 Jan 2019 22:31:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aries1984" aria-label="Profile: aries1984">@<bdi>aries1984</bdi></a> said in <a href="/post/46169">MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs</a>:</p>
<blockquote>
<p dir="auto">you talk about “KeyCode” being a part of the payload</p>
</blockquote>
<p dir="auto">Thanks for catching this. There must have been some remnants from the first version when that’s what I used.  It’s been fixed now.</p>
]]></description><link>https://forum.magicmirror.builders/post/49297</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49297</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Thu, 03 Jan 2019 22:31:37 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Thu, 03 Jan 2019 22:29:33 GMT]]></title><description><![CDATA[<h3>ANNOUNCEMENT: Version 1.3.0 - Updated 3-Jan-2019 - [BREAKING CHANGES] Remove server controls in favor of External Modules, Remove Python script in favor of Native Node.JS modules</h3>
<p dir="auto">Here are the highlights from this major change:</p>
<ul>
<li>This update had the overall goal of simplifying this module.  I made a major philosophy change with this update, shifting from the original goal of this module performing a lot of its own sever-side functions and also relying on other modules to implement listeners to handle key presses-to this module being focused on listening to keys and letting other modules handle the heavy lifting.</li>
<li>Removed all server-side controls from this module (monitor toggle, external interupts) in favor of declaring actions and sending notifications to other modules instead.
<ul>
<li>Instead of this module trying to figure out if it should do something like turn on the screen, before it sent the action out–now it just gets the action and sends it. If you want to control the screen, use a module made to do that, like MMM-Remote-Control.</li>
</ul>
</li>
<li>Removed Notify Server in favor of extensible REST API being developed for <a href="https://github.com/Jopyth/MMM-Remote-Control/pull/104" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-Remote-Control</a>
<ul>
<li>The “notify” server was cumbersome and difficult to properly format. It was only really required as a way for the python script to send notifications back.  The new REST API is much simpler and the bluetooth monitoring is now done within Node, so that makes this redundant.</li>
</ul>
</li>
<li>Added <a href="https://github.com/shbatm/MMM-KeyBindings#actions" target="_blank" rel="noopener noreferrer nofollow ugc">Actions</a> to send notifications on a keypress rather than rely on other modules to actively listen for them.
<ul>
<li>Instead of requiring other modules to listen for specific “KEY_PRESSED” notifications, you can now translate key presses to notifications that other modules already understand.</li>
<li>The module is still extensible by other modules, and in fact, it has been made easier now.  Rather than incorporate all of the code into your module, you can get a KeyHandler instance and add a few small functions to handle the key press notifications.  The heavy lifting to validate a key press is done in the background.  See <a href="https://github.com/shbatm/MMM-KeyBindings/wiki/Integration-into-Other-Modules" target="_blank" rel="noopener noreferrer nofollow ugc">this wiki page</a> for updated instructions.</li>
</ul>
</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/49296</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/49296</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Thu, 03 Jan 2019 22:29:33 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Thu, 01 Nov 2018 00:00:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">first of all: Great module. You’ve just got a quite major issue in your documentation 😉 In your wiki (<a href="https://github.com/shbatm/MMM-KeyBindings/wiki/Integration-into-Other-Modules" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/shbatm/MMM-KeyBindings/wiki/Integration-into-Other-Modules</a>) you talk about “KeyCode” being a part of the payload.</p>
<p dir="auto">I wanted to use that in my module to determine which keyboard key has been pressed and react accordingly. More specificly I was intrested in the arrow-keys.</p>
<p dir="auto">First there was no reaction at all on any of the key presses. I could see that the press itself was recognized but when logging the payload “KeyCode” was always set to “undefined”. It cost me about 3hrs of my life only to find out that in your code you use “KeyName” but in the documentation you refer to “KeyCode”. I was surprised to be the first one to notice it but obiously I am as otherwise somebody else would have flagged it up already 😉</p>
]]></description><link>https://forum.magicmirror.builders/post/46169</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/46169</guid><dc:creator><![CDATA[Aries1984]]></dc:creator><pubDate>Thu, 01 Nov 2018 00:00:27 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Thu, 30 Aug 2018 20:45:57 GMT]]></title><description><![CDATA[<p dir="auto">Another thing. The evdev “process” stopps working every now and than. A pm2 start evdev, gets it going again. Any clue how I could troubleshoot this?</p>
]]></description><link>https://forum.magicmirror.builders/post/43982</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43982</guid><dc:creator><![CDATA[rak]]></dc:creator><pubDate>Thu, 30 Aug 2018 20:45:57 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Wed, 29 Aug 2018 05:48:15 GMT]]></title><description><![CDATA[<p dir="auto">Solved it.</p>
<p dir="auto">I added “pairable on” to the mix. After that it worked.</p>
<p dir="auto">Works like a charm. Only thingis that after restarting MagicMirror (pm2 restart MagicMirror) the evdev service ist typically stopped and needs a restart as well (pm2 start evdev).</p>
<p dir="auto">Not sure whats missing here.</p>
]]></description><link>https://forum.magicmirror.builders/post/43908</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43908</guid><dc:creator><![CDATA[rak]]></dc:creator><pubDate>Wed, 29 Aug 2018 05:48:15 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Sun, 26 Aug 2018 15:57:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a>, did you had a chance to look into this? Thanks for an update.</p>
]]></description><link>https://forum.magicmirror.builders/post/43806</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43806</guid><dc:creator><![CDATA[rak]]></dc:creator><pubDate>Sun, 26 Aug 2018 15:57:01 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Sun, 19 Aug 2018 20:59:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shbatm" aria-label="Profile: shbatm">@<bdi>shbatm</bdi></a> Thanks. Much appreciated. No urgent need. Looking forward to your reply.</p>
<p dir="auto">I tried both. GUI and command line. Both gave the same error message. I even tried a 2nd remote without success. Same error message.</p>
]]></description><link>https://forum.magicmirror.builders/post/43575</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43575</guid><dc:creator><![CDATA[rak]]></dc:creator><pubDate>Sun, 19 Aug 2018 20:59:45 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Sun, 19 Aug 2018 15:26:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jchenaud" aria-label="Profile: jchenaud">@<bdi>jchenaud</bdi></a> I am away right now and will take a closer look at your issue when I am back in town.</p>
]]></description><link>https://forum.magicmirror.builders/post/43564</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43564</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Sun, 19 Aug 2018 15:26:25 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Sun, 19 Aug 2018 15:25:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rak" aria-label="Profile: rak">@<bdi>rak</bdi></a> Have you tried pairing the remote using the Bluetooth menu/GUI on the desktop?</p>
]]></description><link>https://forum.magicmirror.builders/post/43563</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43563</guid><dc:creator><![CDATA[shbatm]]></dc:creator><pubDate>Sun, 19 Aug 2018 15:25:23 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Sun, 19 Aug 2018 10:08:21 GMT]]></title><description><![CDATA[<p dir="auto">Hello guys,</p>
<p dir="auto">I cant get the remote connected to the R3B+. I stuck. Searching the web like cracy since yetserday evening with no result.</p>
<p dir="auto">It seems the pairing fails bc of the message “ServicesResolved: no”</p>
<p dir="auto">Any clue whats missing?</p>
<pre><code>$ sudo bluetoothctl 
[NEW] Controller B8:27:EB:DF:FF:D1 raspberrypi [default]
[bluetooth]# agent on
Agent registered
[bluetooth]# scan on
Discovery started
[CHG] Controller B8:27:EB:DF:FF:D1 Discovering: yes
[NEW] Device C4:95:00:6F:19:8A Amazon Fire TV Remote
[CHG] Device C4:95:00:6F:19:8A RSSI: -66
[CHG] Device C4:95:00:6F:19:8A RSSI: -74
[CHG] Device C4:95:00:6F:19:8A RSSI: -62
[bluetooth]# scan off
Discovery stopped
[bluetooth]# pair C4:95:00:6F:19:8A
Attempting to pair with C4:95:00:6F:19:8A
[CHG] Device C4:95:00:6F:19:8A Connected: yes
Request confirmation
[agent] Confirm passkey 301420 (yes/no): yes
[CHG] Device C4:95:00:6F:19:8A Modalias: usb:v1949p0410d0304
[CHG] Device C4:95:00:6F:19:8A UUIDs: 00001101-0000-1000-8000-00805f9b34fb
[CHG] Device C4:95:00:6F:19:8A UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[CHG] Device C4:95:00:6F:19:8A UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device C4:95:00:6F:19:8A ServicesResolved: yes
[CHG] Device C4:95:00:6F:19:8A Paired: yes
Pairing successful
[CHG] Device C4:95:00:6F:19:8A ServicesResolved: no     &lt;&lt;&lt;&lt;&lt; THIS sounds strange to me
[CHG] Device C4:95:00:6F:19:8A Connected: no

[bluetooth]# trust C4:95:00:6F:19:8A
[CHG] Device C4:95:00:6F:19:8A Trusted: yes
Changing C4:95:00:6F:19:8A trust succeeded

[bluetooth]# devices
Device 4F:8A:AE:69:E9:71 4F-8A-AE-69-E9-71
Device 6A:79:D3:6A:17:13 6A-79-D3-6A-17-13
Device C4:95:00:6F:19:8A Amazon Fire TV Remote
Device 61:A4:04:D0:5D:66 61-A4-04-D0-5D-66
Device 6E:91:C7:B3:7A:C8 6E-91-C7-B3-7A-C8
[bluetooth]# trust C4:95:00:6F:19:8A
Changing C4:95:00:6F:19:8A trust succeeded
[bluetooth]# pair C4:95:00:6F:19:8A
Attempting to pair with C4:95:00:6F:19:8A
Failed to pair: org.bluez.Error.AlreadyExists
[bluetooth]# conntect C4:95:00:6F:19:8A
Invalid command
[bluetooth]# connect C4:95:00:6F:19:8A
Attempting to connect to C4:95:00:6F:19:8A
[CHG] Device C4:95:00:6F:19:8A Connected: yes
Failed to connect: org.bluez.Error.Failed
[CHG] Device C4:95:00:6F:19:8A Connected: no
[bluetooth]# 
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/43561</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43561</guid><dc:creator><![CDATA[rak]]></dc:creator><pubDate>Sun, 19 Aug 2018 10:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-KeyBindings: Control your mirror with Amazon Fire Stick Remote and Generic Keyboard Inputs on Wed, 15 Aug 2018 13:41:49 GMT]]></title><description><![CDATA[<p dir="auto">hey i remake all process but nothing new .  i am alone in this case ?</p>
<p dir="auto">just my log when  all looks ok</p>
<pre><code> MagicMirror git:(master) ✗ npm start

&gt; magicmirror@2.4.1 start /home/pi/MagicMirror
&gt; sh run-start.sh

Starting MagicMirror: v2.4.1
Loading config ...
Loading module helpers ...
No helper found for module: alert.
Initializing new module helper ...
Module helper loaded: updatenotification
No helper found for module: clock.
No helper found for module: compliments.
Initializing new module helper ...
Module helper loaded: newsfeed
No helper found for module: MMM-EyeCandy.
Initializing new module helper ...
Module helper loaded: Print_text_from_txt
Initializing new module helper ...
Module helper loaded: MMM-kalliope
Initializing new module helper ...
Module helper loaded: MMM-KeyBindings
No helper found for module: MMM-pages.
All module helpers loaded.
Starting server on port 8080 ... 
Server started ...
Connecting socket for: updatenotification
Connecting socket for: newsfeed
Starting module: newsfeed
Connecting socket for: Print_text_from_txt
Starting module helper: Print_text_from_txt
Connecting socket for: MMM-kalliope
MMM-kalliope is started
Connecting socket for: MMM-KeyBindings
MMM-KeyBindings helper has started...
Sockets connected &amp; modules started ...
Launching application.
Create new news fetcher for url: https://www.tdg.ch/rss_ticker.html - Interval: 300000
MMM-kalliope received a socket notification: CONNECT - Payload: null


</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/43420</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/43420</guid><dc:creator><![CDATA[jchenaud]]></dc:creator><pubDate>Wed, 15 Aug 2018 13:41:49 GMT</pubDate></item></channel></rss>