<?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[snowboy Install Failure]]></title><description><![CDATA[<p dir="auto">I’m trying to set up Google Assistant with hotword detection.<br />
I’ve follow the tutorials on <a href="https://github.com/eouia/MMM-Hotword/blob/master/documents/install.md" target="_blank" rel="noopener noreferrer nofollow ugc">Github</a>, but when I try to install snowboy I’m getting the output below.<br />
I am running the latest Raspian build on a Pi 3. I’ve uninstalled and tried multiple times to install, I’ve even blown away the whole OS and Magic Mirror install and started from scratch.</p>
<p dir="auto">pi@raspberrypi:~/MagicMirror/modules/MMM-Hotword $ ./installer/install.sh<br />
Cloning into ‘snowboy’…<br />
remote: Enumerating objects: 6, done.<br />
remote: Counting objects: 100% (6/6), done.<br />
remote: Compressing objects: 100% (4/4), done.<br />
remote: Total 2131 (delta 2), reused 5 (delta 2), pack-reused 2125<br />
Receiving objects: 100% (2131/2131), 55.22 MiB | 4.97 MiB/s, done.<br />
Resolving deltas: 100% (1060/1060), done.<br />
Checking out files: 100% (313/313), done.<br />
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.<br />
npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (<a href="http://hapi.im/support" target="_blank" rel="noopener noreferrer nofollow ugc">hapi.im/support</a>). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (<a href="http://hapi.im/commercial" target="_blank" rel="noopener noreferrer nofollow ugc">hapi.im/commercial</a>).<br />
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (<a href="http://hapi.im/support" target="_blank" rel="noopener noreferrer nofollow ugc">hapi.im/support</a>). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (<a href="http://hapi.im/commercial" target="_blank" rel="noopener noreferrer nofollow ugc">hapi.im/commercial</a>).<br />
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.<br />
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (<a href="http://hapi.im/support" target="_blank" rel="noopener noreferrer nofollow ugc">hapi.im/support</a>). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (<a href="http://hapi.im/commercial" target="_blank" rel="noopener noreferrer nofollow ugc">hapi.im/commercial</a>).<br />
npm notice created a lockfile as package-lock.json. You should commit this file.</p>
<ul>
<li>nan@2.14.0</li>
<li>node-pre-gyp@0.6.39<br />
added 115 packages from 85 contributors and audited 269 packages in 23.482s<br />
found 8 moderate severity vulnerabilities<br />
run <code>npm audit fix</code> to fix them, or <code>npm audit</code> for details<br />
node-pre-gyp info it worked if it ends with ok<br />
node-pre-gyp info using node-pre-gyp@0.6.39<br />
node-pre-gyp info using node@10.15.2 | linux | arm<br />
gyp info it worked if it ends with ok<br />
gyp info using node-gyp@3.8.0<br />
gyp info using node@10.15.2 | linux | arm<br />
gyp info spawn /usr/bin/python2<br />
gyp info spawn args [ ‘/usr/share/node-gyp/gyp/gyp_main.py’,<br />
gyp info spawn args   ‘binding.gyp’,<br />
gyp info spawn args   ‘-f’,<br />
gyp info spawn args   ‘make’,<br />
gyp info spawn args   ‘-I’,<br />
gyp info spawn args   ‘/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/build/config.gypi’,<br />
gyp info spawn args   ‘-I’,<br />
gyp info spawn args   ‘/usr/share/node-gyp/addon.gypi’,<br />
gyp info spawn args   ‘-I’,<br />
gyp info spawn args   ‘/usr/include/nodejs/common.gypi’,<br />
gyp info spawn args   ‘-Dlibrary=shared_library’,<br />
gyp info spawn args   ‘-Dvisibility=default’,<br />
gyp info spawn args   ‘-Dnode_root_dir=/usr/include/nodejs’,<br />
gyp info spawn args   ‘-Dnode_gyp_dir=/usr/share/node-gyp’,<br />
gyp info spawn args   ‘-Dnode_lib_file=/usr/include/nodejs/&lt;(target_arch)/node.lib’,<br />
gyp info spawn args   ‘-Dmodule_root_dir=/home/pi/MagicMirror/modules/MMM-Hotword/snowboy’,<br />
gyp info spawn args   ‘-Dnode_engine=v8’,<br />
gyp info spawn args   ‘–depth=.’,<br />
gyp info spawn args   ‘–no-parallel’,<br />
gyp info spawn args   ‘–generator-output’,<br />
gyp info spawn args   ‘build’,<br />
gyp info spawn args   ‘-Goutput_dir=.’ ]<br />
gyp info ok<br />
gyp info it worked if it ends with ok<br />
gyp info using node-gyp@3.8.0<br />
gyp info using node@10.15.2 | linux | arm<br />
gyp info spawn make<br />
gyp info spawn args [ ‘BUILDTYPE=Release’, ‘-C’, ‘build’ ]<br />
make: Entering directory ‘/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/build’<br />
CXX(target) Release/obj.target/snowboy/swig/Node/snowboy.o<br />
In file included from …/swig/Node/snowboy.cc:1:<br />
…/node_modules/nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:<br />
…/node_modules/nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (<em>)(uv_work_t</em>)’ {aka ‘void (<em>)(uv_work_s</em>)’} to ‘uv_after_work_cb’ {aka ‘void (<em>)(uv_work_s</em>, int)’} [-Wcast-function-type]<br />
, reinterpret_cast&lt;uv_after_work_cb&gt;(AsyncExecuteComplete)<br />
^<br />
…/swig/Node/snowboy.cc: In constructor ‘SnowboyDetect::SnowboyDetect(const string&amp;, const string&amp;)’:<br />
…/swig/Node/snowboy.cc:38:31: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=]<br />
} catch (std::runtime_error e) {<br />
^<br />
In file included from …/node_modules/nan/nan.h:54,<br />
from …/swig/Node/snowboy.cc:1:<br />
…/swig/Node/snowboy.cc: At global scope:<br />
/usr/include/nodejs/src/node.h:570:43: warning: cast between incompatible function types from ‘void (<em>)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (</em>)(v8::Local<a target="_blank" rel="noopener noreferrer nofollow ugc">v8::Object</a>)’} to ‘node::addon_register_func’ {aka ‘void (<em>)(v8::Local<a target="_blank" rel="noopener noreferrer nofollow ugc">v8::Object</a>, v8::Local<a target="_blank" rel="noopener noreferrer nofollow ugc">v8::Value</a>, void</em>)’} [-Wcast-function-type]<br />
(node::addon_register_func) (regfunc),                          <br />
^<br />
/usr/include/nodejs/src/node.h:604:3: note: in expansion of macro ‘NODE_MODULE_X’<br />
NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)<br />
^~~~~~~~~~~~~<br />
…/swig/Node/snowboy.cc:183:1: note: in expansion of macro ‘NODE_MODULE’<br />
NODE_MODULE(SnowboyDetect, SnowboyDetect::Init)<br />
^~~~~~~~~~~<br />
In file included from /usr/include/nodejs/src/node.h:63,<br />
from …/node_modules/nan/nan.h:54,<br />
from …/swig/Node/snowboy.cc:1:<br />
/usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P*, typename v8::WeakCallbackInfo<p>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo</p><p>::Callback = void (<em>)(const v8::WeakCallbackInfo<a target="_blank" rel="noopener noreferrer nofollow ugc">node::ObjectWrap</a>&amp;)]’:<br />
/usr/include/nodejs/src/node_object_wrap.h:85:78:   required from here<br />
/usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<a target="_blank" rel="noopener noreferrer nofollow ugc">node::ObjectWrap</a>::Callback’ {aka ‘void (</em>)(const v8::WeakCallbackInfo<a target="_blank" rel="noopener noreferrer nofollow ugc">node::ObjectWrap</a>&amp;)’} to ‘Callback’ {aka ‘void (<em>)(const v8::WeakCallbackInfo&amp;)’} [-Wcast-function-type]<br />
reinterpret_cast(callback), type);<br />
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
/usr/include/nodejs/deps/v8/include/v8.h: In instantiation of ‘void v8::PersistentBase::SetWeak(P</em>, typename v8::WeakCallbackInfo</p><p>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo</p><p>::Callback = void (<em>)(const v8::WeakCallbackInfo<a target="_blank" rel="noopener noreferrer nofollow ugc">Nan::ObjectWrap</a>&amp;)]’:<br />
…/node_modules/nan/nan_object_wrap.h:65:61:   required from here<br />
/usr/include/nodejs/deps/v8/include/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<a target="_blank" rel="noopener noreferrer nofollow ugc">Nan::ObjectWrap</a>::Callback’ {aka ‘void (</em>)(const v8::WeakCallbackInfo<a target="_blank" rel="noopener noreferrer nofollow ugc">Nan::ObjectWrap</a>&amp;)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo&amp;)’} [-Wcast-function-type]<br />
SOLINK_MODULE(target) Release/obj.target/snowboy.node<br />
COPY Release/snowboy.node<br />
COPY /home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node<br />
TOUCH Release/obj.target/action_after_build.stamp<br />
make: Leaving directory ‘/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/build’<br />
gyp info ok<br />
node-pre-gyp info ok</p></li>
</ul>
<blockquote>
<p dir="auto">snowboy@1.3.1 install /home/pi/MagicMirror/modules/MMM-Hotword/snowboy<br />
node-pre-gyp install --fallback-to-build</p>
</blockquote>
<p dir="auto">[snowboy] Success: “/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node” already installed<br />
Pass --update-binary to reinstall or --build-from-source to recompile<br />
npm WARN prepublish-on-install As of npm@5, <code>prepublish</code> scripts are deprecated.<br />
npm WARN prepublish-on-install Use <code>prepare</code> for build steps and <code>prepublishOnly</code> for upload-only.<br />
npm WARN prepublish-on-install See the deprecation note in <code>npm help scripts</code> for more information.</p>
<blockquote>
<p dir="auto">snowboy@1.3.1 prepublish /home/pi/MagicMirror/modules/MMM-Hotword/snowboy<br />
tsc --listFiles</p>
</blockquote>
<p dir="auto">…/…/…/node_modules/@types/unist/index.d.ts:31:20 - error TS2304: Cannot find name ‘unknown’.</p>
<p dir="auto">31     [key: string]: unknown;<br />
~~~~~~~</p>
<p dir="auto">…/…/…/node_modules/@types/unist/index.d.ts:40:20 - error TS2304: Cannot find name ‘unknown’.</p>
<p dir="auto">40     [key: string]: unknown;<br />
~~~~~~~</p>
<p dir="auto">…/…/…/node_modules/@types/unist/index.d.ts:97:12 - error TS2304: Cannot find name ‘unknown’.</p>
<p dir="auto">97     value: unknown;<br />
~~~~~~~</p>
<p dir="auto">…/…/…/node_modules/@types/vfile-message/index.d.ts:69:24 - error TS2304: Cannot find name ‘unknown’.</p>
<p dir="auto">69         [key: string]: unknown;<br />
~~~~~~~</p>
<p dir="auto">…/…/…/node_modules/@types/vfile/index.d.ts:48:15 - error TS2304: Cannot find name ‘unknown’.</p>
<p dir="auto">48         data: unknown;<br />
~~~~~~~</p>
<p dir="auto">/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/node_modules/typescript/lib/lib.es6.d.ts<br />
/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/index.ts<br />
/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/node-pre-gyp.d.ts<br />
/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/lib/node/SnowboyDetectNative.d.ts<br />
/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/node_modules/@types/node/base.d.ts<br />
/home/pi/MagicMirror/modules/MMM-Hotword/snowboy/node_modules/@types/node/index.d.ts<br />
/home/pi/MagicMirror/node_modules/@types/events/index.d.ts<br />
/home/pi/MagicMirror/node_modules/@types/minimatch/index.d.ts<br />
/home/pi/MagicMirror/node_modules/@types/glob/index.d.ts<br />
/home/pi/MagicMirror/node_modules/@types/unist/index.d.ts<br />
/home/pi/MagicMirror/node_modules/@types/vfile-message/index.d.ts<br />
/home/pi/MagicMirror/node_modules/@types/vfile/index.d.ts<br />
npm ERR! code ELIFECYCLE<br />
npm ERR! errno 2<br />
npm ERR! snowboy@1.3.1 prepublish: <code>tsc --listFiles</code><br />
npm ERR! Exit status 2<br />
npm ERR!<br />
npm ERR! Failed at the snowboy@1.3.1 prepublish script.<br />
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</p>
<p dir="auto">npm ERR! A complete log of this run can be found in:<br />
npm ERR!     /home/pi/.npm/_logs/2019-09-15T03_46_46_443Z-debug.log</p>
<ul>
<li>electron-rebuild@1.8.6<br />
added 91 packages from 76 contributors, removed 15 packages and audited 508 packages in 30.672s<br />
found 8 moderate severity vulnerabilities<br />
run <code>npm audit fix</code> to fix them, or <code>npm audit</code> for details<br />
✔ Rebuild Complete<br />
electron-v3.1-linux-arm  node-v64-linux-arm<br />
lib/node/index.js</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/topic/11170/snowboy-install-failure</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 02:59:59 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/11170.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 15 Sep 2019 03:58:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to snowboy Install Failure on Sat, 05 Oct 2019 11:54:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kai" aria-label="Profile: kai">@<bdi>kai</bdi></a> i use the sample config</p>
<pre><code>{
  module: "MMM-Hotword",
  position: "top_right",
  config: {
    chimeOnFinish: null,
    mic: {
      recordProgram: "arecord",
      device: "plughw:1"
    },
    models: [    // this is the start of the models, note this is an array, so you can have multiple word choices
      {
        hotwords    : "computer",  // what word you expect to hear
        file        : "computer.umdl",  // where it gets the wave pattern model file
        sensitivity : "0.5",
      },
    ],
    commands: {
      "computer": {
        notificationExec: {
          notification: "ASSISTANT_ACTIVATE",
          payload: (detected, afterRecord) =&gt; {
            return {profile:"default"}
          }
        },
        restart:false,
        afterRecordLimit:0
      }
    }
  }
},
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/62186</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/62186</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 05 Oct 2019 11:54:28 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Sat, 05 Oct 2019 02:18:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/citizendevpi" aria-label="Profile: citizendevpi">@<bdi>citizendevpi</bdi></a> no I’ve not yet</p>
]]></description><link>https://forum.magicmirror.builders/post/62185</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/62185</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sat, 05 Oct 2019 02:18:07 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Fri, 04 Oct 2019 02:34:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kai" aria-label="Profile: kai">@<bdi>kai</bdi></a> did you vr get the updated config ? i am also in need</p>
]]></description><link>https://forum.magicmirror.builders/post/62125</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/62125</guid><dc:creator><![CDATA[citizendevpi]]></dc:creator><pubDate>Fri, 04 Oct 2019 02:34:19 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Wed, 02 Oct 2019 14:20:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binaryhellstorm" aria-label="Profile: binaryhellstorm">@<bdi>binaryhellstorm</bdi></a> Can you show me the modified config file or e-mail it to me?</p>
]]></description><link>https://forum.magicmirror.builders/post/62020</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/62020</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Wed, 02 Oct 2019 14:20:43 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Sun, 29 Sep 2019 21:49:31 GMT]]></title><description><![CDATA[<p dir="auto">The hotword detection is working and it’s passing it to the Google Assistant module and that module is working too</p>
]]></description><link>https://forum.magicmirror.builders/post/61817</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61817</guid><dc:creator><![CDATA[binaryhellstorm]]></dc:creator><pubDate>Sun, 29 Sep 2019 21:49:31 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Sun, 29 Sep 2019 05:38:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binaryhellstorm" aria-label="Profile: binaryhellstorm">@<bdi>binaryhellstorm</bdi></a> After fixing this error,  Does your magic mirror in snowboy,hotword is work on Google Ai?</p>
]]></description><link>https://forum.magicmirror.builders/post/61796</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61796</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 29 Sep 2019 05:38:45 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Sat, 21 Sep 2019 23:45:43 GMT]]></title><description><![CDATA[<p dir="auto">Awesome! That was it, thanks so much for the help.</p>
]]></description><link>https://forum.magicmirror.builders/post/61528</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61528</guid><dc:creator><![CDATA[binaryhellstorm]]></dc:creator><pubDate>Sat, 21 Sep 2019 23:45:43 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Sun, 15 Sep 2019 18:12:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binaryhellstorm" aria-label="Profile: binaryhellstorm">@<bdi>binaryhellstorm</bdi></a><br />
You haven’t described “models” in your configuration.<br />
<a href="https://github.com/eouia/MMM-Hotword/blob/master/documents/config.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/eouia/MMM-Hotword/blob/master/documents/config.md</a></p>
]]></description><link>https://forum.magicmirror.builders/post/61332</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61332</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 15 Sep 2019 18:12:51 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Sun, 15 Sep 2019 13:06:28 GMT]]></title><description><![CDATA[<p dir="auto">Ok, here’s the bog standard config with just the hotword module loaded, still don’t get an icon for it.<br />
I am noticing that in the terminal window there is a<br />
[HOTWORD] No model to load</p>
<p dir="auto">Even though there are models in the directory<br />
/home/pi/MagicMirror/modules/MMM-Hotword/models<br />
as well as<br />
/home/pi/MagicMirror/modules/MMM-Hotword/snoboy/resources/models</p>
<p dir="auto">/* Magic Mirror Config Sample<br />
*</p>
<ul>
<li>By Michael Teeuw <a href="http://michaelteeuw.nl" target="_blank" rel="noopener noreferrer nofollow ugc">http://michaelteeuw.nl</a></li>
<li>MIT Licensed.</li>
<li></li>
<li>For more information how you can configurate this file</li>
<li>See <a href="https://github.com/MichMich/MagicMirror#configuration" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror#configuration</a></li>
<li></li>
</ul>
<p dir="auto">*/</p>
<p dir="auto">var config = {<br />
address: “localhost”, // Address to listen on, can be:<br />
// - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface<br />
// - another specific IPv4/6 to listen on a specific interface<br />
// - “”, “0.0.0.0”, “::” to listen on any interface<br />
// Default, when address config is left out, is “localhost”<br />
port: 8080,<br />
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses<br />
// or add a specific IPv4 of 192.168.1.5 :<br />
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],<br />
// or IPv4 range of 192.168.3.0 --&gt; 192.168.3.15 use CIDR format :<br />
// [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],</p>
<pre><code>language: "en",
timeFormat: 24,
units: "metric",

modules: [
	{
		module: "alert",
	},
	{
		module: "updatenotification",
		position: "top_bar"
	},
	{
		module: "clock",
		position: "top_left"
	},
	{
		module: "calendar",
		header: "US Holidays",
		position: "top_left",
		config: {
			calendars: [
				{
					symbol: "calendar-check",
					url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics"					}
			]
		}
	},
	{
		module: "compliments",
		position: "lower_third"
	},
	{
		module: "currentweather",
		position: "top_right",
		config: {
			location: "New York",
			locationID: "",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
			appid: "YOUR_OPENWEATHER_API_KEY"
		}
	},
	{
		module: "weatherforecast",
		position: "top_right",
		header: "Weather Forecast",
		config: {
			location: "New York",
			locationID: "5128581",  //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
			appid: "YOUR_OPENWEATHER_API_KEY"
		}
	},
	{
		module: "newsfeed",
		position: "bottom_bar",
		config: {
			feeds: [
				{
					title: "New York Times",
					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
				}
			],
			showSourceTitle: true,
			showPublishDate: true,
			broadcastNewsFeeds: true,
			broadcastNewsUpdates: true
		}
	},
	//Hotword Module
</code></pre>
<p dir="auto">{<br />
module: “MMM-Hotword”,<br />
config: {<br />
record: {<br />
recordProgram : “arecord”,<br />
device        : “plughw:1”,<br />
},<br />
autostart:true,<br />
onDetected: {<br />
notification: function (payload) {<br />
return “ASSISTANT_ACTIVATE”<br />
},<br />
payload: function (payload){<br />
return {<br />
profile: payload.hotword<br />
}<br />
}<br />
},<br />
},<br />
},<br />
]</p>
<p dir="auto">};</p>
<p dir="auto">/*************** DO NOT EDIT THE LINE BELOW ***************/<br />
if (typeof module !== “undefined”) {module.exports = config;}</p>
]]></description><link>https://forum.magicmirror.builders/post/61322</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61322</guid><dc:creator><![CDATA[binaryhellstorm]]></dc:creator><pubDate>Sun, 15 Sep 2019 13:06:28 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Sun, 15 Sep 2019 12:46:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binaryhellstorm" aria-label="Profile: binaryhellstorm">@<bdi>binaryhellstorm</bdi></a><br />
First, you’d better check Hotword standalone without other modules in config.js (to make things simple)<br />
Backup your current config.js and make a new one, which has only MMM-Hotword and other modules be removed.<br />
Then try to execute and see the log (It is convenient to use <code>npm start dev</code> instead <code>pm2</code>), If there is some issue, it will be logged.<br />
Then show me your config.</p>
]]></description><link>https://forum.magicmirror.builders/post/61321</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61321</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 15 Sep 2019 12:46:04 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Sun, 15 Sep 2019 12:42:17 GMT]]></title><description><![CDATA[<p dir="auto">Ah Ok, I guess I assumed the errors were bad.</p>
<p dir="auto">So then I guess my next question is, why would Hotword detection not work? I’ve enabled it in the config.js and I get the Google Assistant icon at the bottom of my screen, but no hotword icon, and saying any of the built in hotwords doesn’t seem to do anything.</p>
<p dir="auto">I’ve done test recordings from command line and the microphone is picking up audio, but just no dice on getting the mirror to respond to voice commands.</p>
]]></description><link>https://forum.magicmirror.builders/post/61320</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61320</guid><dc:creator><![CDATA[binaryhellstorm]]></dc:creator><pubDate>Sun, 15 Sep 2019 12:42:17 GMT</pubDate></item><item><title><![CDATA[Reply to snowboy Install Failure on Sun, 15 Sep 2019 08:32:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/binaryhellstorm" aria-label="Profile: binaryhellstorm">@<bdi>binaryhellstorm</bdi></a></p>
<blockquote>
<p dir="auto">✔ Rebuild Complete<br />
electron-v3.1-linux-arm node-v64-linux-arm<br />
lib/node/index.js</p>
</blockquote>
<p dir="auto">means you completed installation finally.</p>
]]></description><link>https://forum.magicmirror.builders/post/61311</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/61311</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 15 Sep 2019 08:32:25 GMT</pubDate></item></channel></rss>