<?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[Modules suspending and never resuming after HotWord and MK2]]></title><description><![CDATA[<p dir="auto">I am using a Sony PS Eye for my mic. I recently installed Hotword and MK2. All modules disappear after some time besides currentWeather. I looked through the console from chromium and found this:</p>
<pre><code>AssistantMk2 / HotWord
module.js:154 calendar received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
module.js:154 MMM-NetworkScanner received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
module.js:205 alert is resumed.
module.js:205 updatenotification is resumed.
main.js:275 Will not show updatenotification. LockStrings active: module_4_MMM-iFrame-Ping
module.js:205 clock is resumed.
module.js:205 calendar is resumed.
module.js:205 currentweather is resumed.
module.js:205 MMM-NetworkScanner is resumed.
module.js:205 mmm-nest-status is resumed.
module.js:205 MMM-Hotword is resumed.
module.js:205 MMM-AssistantMk2 is resumed.
module.js:154 clock received a module notification: HOTWORD_LISTENING from sender: MMM-Hotword

Then some time more later

alert is suspended.
module.js:198 MMM-Hotword is suspended.
module.js:198 updatenotification is suspended.
module.js:198 clock is suspended.
module.js:198 calendar is suspended.
module.js:198 currentweather is suspended.
module.js:198 MMM-NetworkScanner is suspended.
module.js:198 mmm-nest-status is suspended.
module.js:198 MMM-AssistantMk2 is suspended.
</code></pre>
<p dir="auto">CurrentWeather eventually resumes and remains the only module. If I call HotWord and give it a command all the modules resume.</p>
<p dir="auto">Full Log from the console can be seen here:</p>
<p dir="auto"><a href="https://pastebin.com/xCw9J4W2" target="_blank" rel="noopener noreferrer nofollow ugc">https://pastebin.com/xCw9J4W2</a></p>
<p dir="auto">My Module Config:</p>
<pre><code>//Hotword Module
{
    module: "MMM-Hotword",
    config: {
      record: {
        recordProgram : "arecord",  
        device        : "plughw:1",
      },
      autostart:true,
      onDetected: {
        notification: function (payload) {
          return "ASSISTANT_ACTIVATE"
        },
        payload: function (payload){
          return {
            profile: payload.hotword
          }
        }
      },
    },
  },

//Google Assistant 2
{
		module: "MMM-AssistantMk2",
		position: "bottom_bar",
		config: {
		record: {
        recordProgram : "arecord",  
        device        : "plughw:1",
      },
	screenDuration: 5000,
      notifications: {
        ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
        ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
      },
deviceLocation: {
      coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com)
        latitude: 00.8, // -90.0 - +90.0
        longitude: -00.667821, // -180.0 - +180.0
      },
    },
                
}
},
</code></pre>
<p dir="auto">Any insight would be helpful.<br />
MagicMirror 2 v 2.6.0<br />
All Modules Updated</p>
]]></description><link>https://forum.magicmirror.builders/topic/9487/modules-suspending-and-never-resuming-after-hotword-and-mk2</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 08:56:30 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9487.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 13 Jan 2019 14:43:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Modules suspending and never resuming after HotWord and MK2 on Sun, 13 Jan 2019 17:58:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/numb3rs" aria-label="Profile: numb3rs">@<bdi>numb3rs</bdi></a><br />
It might be due to “onIdle” and “onDetected” features. Disable them.(see the manual)</p>
]]></description><link>https://forum.magicmirror.builders/post/50068</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/50068</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 13 Jan 2019 17:58:45 GMT</pubDate></item></channel></rss>