<?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[Module MMM-Hover dosn&#x27;t work with the new MM 2.7]]></title><description><![CDATA[<p dir="auto">Hello everybody<br />
I have the MM 2.7 update installed now the Hover module does not respond to the inputs. Can someone help me<br />
Thank you</p>
]]></description><link>https://forum.magicmirror.builders/topic/10597/module-mmm-hover-dosn-t-work-with-the-new-mm-2-7</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 01:44:55 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10597.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Jun 2019 19:38:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Module MMM-Hover dosn&#x27;t work with the new MM 2.7 on Wed, 12 Jun 2019 19:05:26 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>  i edit the file.</p>
]]></description><link>https://forum.magicmirror.builders/post/57894</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57894</guid><dc:creator><![CDATA[Skorpionbird]]></dc:creator><pubDate>Wed, 12 Jun 2019 19:05:26 GMT</pubDate></item><item><title><![CDATA[Reply to Module MMM-Hover dosn&#x27;t work with the new MM 2.7 on Tue, 11 Jun 2019 21:03:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skorpionbird" aria-label="Profile: Skorpionbird">@<bdi>Skorpionbird</bdi></a> cool  which solution did u use? Edit file or upgrade on off?</p>
]]></description><link>https://forum.magicmirror.builders/post/57867</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57867</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 11 Jun 2019 21:03:14 GMT</pubDate></item><item><title><![CDATA[Reply to Module MMM-Hover dosn&#x27;t work with the new MM 2.7 on Tue, 11 Jun 2019 17:30:45 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> thx for your help now it works fine. I have the old issue that the page change just on the rightslide. But this ok… when push the left button i can see that the MMM-page-indicator module change the page but it dosnt change the infos on the screen.</p>
]]></description><link>https://forum.magicmirror.builders/post/57857</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57857</guid><dc:creator><![CDATA[Skorpionbird]]></dc:creator><pubDate>Tue, 11 Jun 2019 17:30:45 GMT</pubDate></item><item><title><![CDATA[Reply to Module MMM-Hover dosn&#x27;t work with the new MM 2.7 on Tue, 11 Jun 2019 10:16:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skorpionbird" aria-label="Profile: Skorpionbird">@<bdi>Skorpionbird</bdi></a> ok… on the issue I posted, the developer says latest onoff version should work too…</p>
<p dir="auto">4.1.1, hover-nodejs request 1.1.1 and got 1.2.0</p>
<p dir="auto">so another thing to try after this, is rename the node_modules/onoff folder to onoff-old<br />
then from MagicMirror folder do</p>
<pre><code>npm install onoff
</code></pre>
<p dir="auto">to get the latest</p>
<p dir="auto">and try running mirror again…</p>
<p dir="auto">there are some breaking changes in 4.1.0 and above, so its possible to cause more problems…</p>
]]></description><link>https://forum.magicmirror.builders/post/57838</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57838</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 11 Jun 2019 10:16:37 GMT</pubDate></item><item><title><![CDATA[Reply to Module MMM-Hover dosn&#x27;t work with the new MM 2.7 on Tue, 11 Jun 2019 07:02:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi, thanks for the fast reply. I made the change, but I can only test it tonight when I’m home.</p>
]]></description><link>https://forum.magicmirror.builders/post/57835</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57835</guid><dc:creator><![CDATA[Skorpionbird]]></dc:creator><pubDate>Tue, 11 Jun 2019 07:02:57 GMT</pubDate></item><item><title><![CDATA[Reply to Module MMM-Hover dosn&#x27;t work with the new MM 2.7 on Tue, 11 Jun 2019 00:27:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skorpionbird" aria-label="Profile: Skorpionbird">@<bdi>Skorpionbird</bdi></a> looks like a breaking change in onoff.js module…</p>
<p dir="auto">latest fs has started enforcing callback on async operations.</p>
<p dir="auto">onoff write needs to be fixed like read</p>
<pre><code>Gpio.prototype.read = function (callback) {
  fs.read(this.valueFd, this.readBuffer, 0, 1, 0, function (err, bytes, buf) {
    if (typeof callback === 'function') {
      if (err) {
        return callback(err);
      }

      callback(null, buf[0] === ONE[0] ? 1 : 0);
    }
  });
};
</code></pre>
<p dir="auto">current write</p>
<pre><code>Gpio.prototype.write = function (value, callback) {
  var writeBuffer = value === 1 ? ONE : ZERO;
  fs.write(this.valueFd, writeBuffer, 0, writeBuffer.length, 0, callback);
};
</code></pre>
<p dir="auto">try editing MagicMirror/node_modules/onoff/onoff.js<br />
and changing the Gpio.prototype.write (line 200)<br />
to this</p>
<pre><code>Gpio.prototype.write = function (value, callback) {
  var writeBuffer = value === 1 ? ONE : ZERO;
  fs.write(this.valueFd, writeBuffer, 0, writeBuffer.length, 0, function (err, bytes, buf) {
    if (typeof callback === 'function') {
      if (err) {
        return callback(err);
      }

      callback(null, bytes, buf);
    }
  });
};
</code></pre>
<p dir="auto">I have submitted <a href="https://github.com/fivdi/onoff/issues/150" target="_blank" rel="noopener noreferrer nofollow ugc">issue 150</a> to the onoff module on github</p>
]]></description><link>https://forum.magicmirror.builders/post/57823</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57823</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 11 Jun 2019 00:27:49 GMT</pubDate></item><item><title><![CDATA[Reply to Module MMM-Hover dosn&#x27;t work with the new MM 2.7 on Mon, 10 Jun 2019 20:59: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> hello yes i did mm is starting with this error:</p>
<p dir="auto">Whoops! There was an uncaught exception…<br />
TypeError [ERR_INVALID_CALLBACK]: Callback must be a function<br />
at maybeCallback (fs.js:157:9)<br />
at Object.fs.write (fs.js:652:16)<br />
at Gpio.write (/home/pi/MagicMirror/modules/MMM-Hover/node_modules/onoff/onoff.js:202:6)<br />
at Timeout._onTimeout (/home/pi/MagicMirror/modules/MMM-Hover/node_modules/hover-nodejs/Hover.js:50:15)<br />
at ontimeout (timers.js:427:11)<br />
at tryOnTimeout (timers.js:289:5)<br />
at listOnTimeout (timers.js:252:5)<br />
at Timer.processTimers (timers.js:212:10)</p>
]]></description><link>https://forum.magicmirror.builders/post/57821</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57821</guid><dc:creator><![CDATA[Skorpionbird]]></dc:creator><pubDate>Mon, 10 Jun 2019 20:59:54 GMT</pubDate></item><item><title><![CDATA[Reply to Module MMM-Hover dosn&#x27;t work with the new MM 2.7 on Mon, 10 Jun 2019 19:58:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/skorpionbird" aria-label="Profile: Skorpionbird">@<bdi>Skorpionbird</bdi></a> did u npm install in the MagicMirror folder, and in each module that has a package.json?</p>
]]></description><link>https://forum.magicmirror.builders/post/57818</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57818</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 10 Jun 2019 19:58:05 GMT</pubDate></item></channel></rss>