Read the statement by Michael Teeuw here.
Posts
-
RE: MM won't run, blank screen with cursor showing after updating
-
MM won't run, blank screen with cursor showing after updating
When i went to go update, it said i had three files that were preventing it from updating, so i deleted them as i said, was package.json, package-lock.json, and vendor/package.json (I think). After updating, i try to run it and it gives a blank screen with the cursor showing and this is what shows in the terminal.
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.8.0 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.8.0 Loading config ... Loading module helpers ... Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'rrule' Loading module helpers ... Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. App threw an error during load Error: Cannot find module 'rrule' at Module._resolveFilename (module.js:543:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:473:25) at Module.require (module.js:586:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:27:13) at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:68:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) Whoops! There was an uncaught exception... { Error: Cannot find module 'rrule' at Module._resolveFilename (module.js:543:15) at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12) at Function.Module._load (module.js:473:25) at Module.require (module.js:586:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:27:13) at Object.<anonymous> (/home/pi/MagicMirror/modules/default/calendar/vendor/ical.js/node-ical.js:68:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) code: 'MODULE_NOT_FOUND' } MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Launching application.It launched and worked fine beforehand, i was just updating because i was getting an error for some reason with MMM-Voice and thought maybe if i updated it would work.
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@jmartin1009 this is possible it’s saying this because it’s already there, but i wasn’t sure i figured i’d give it another go. Let me know if there’s anything i should change or try, but i know this mic does work, as it shows up in
arecord -land it comes up and i can select it in alsamixer and everything, just can’t get hotword to hear me.
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@sdetweil @ejay-ibm well i got a new mic and i tried it out, still no detection for MMM-Hotword. It works for GoogleAssistantMk2 when i click the button on the screen, but no hotword detection. I worried that it may be because of snowboy failing to install properly the first time for some reason, so i went into the module in the console and did npm install and got this:
pi@raspberrypi:~/MagicMirror/modules/MMM-Hotword $ npm install npm WARN deprecated hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated boom@2.10.1: This version is no longer maintained. Please upgrade to the latest version. npm WARN deprecated cryptiles@2.0.5: This version is no longer maintained. Please upgrade to the latest version. npm ERR! path /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy npm ERR! code EISGIT npm ERR! git /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy: Appears to be a git repo or submodule. npm ERR! git /home/pi/MagicMirror/modules/MMM-Hotword/node_modules/snowboy npm ERR! git Refusing to remove it. Update manually, npm ERR! git or move it out of the way first. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2019-03-18T22_16_00_319Z-debug.logany idea how i can fix this?
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@sdetweil yeah it’s the PS3 eye camera microphone, it has a 4 microphone array that alsamixer hates lol
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@sdetweil What explains no response from the modules? My mic’s gain in alsamixer? if so how can i fix that? Or should i just get a new mic
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@ejay-ibm that is for the MM config.js right? Or is that what you have in the MMM-Hotword.js config file?
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@ejay-ibm I also changed it so the sauce wasn’t there and I made it so it said plughw:1 in all of them, but still nothing
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@ejay-ibm also is there anyway to change the gain or whatever? I went to alsamixer and went to the capture section and the bar doesn’t move or anything when I speak into my mic. Not sure if anything is supposed to happen but it says both L and R capture are the 100, not sure what that means.
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@sdetweil I tried getting rid of the space, I tried adding autorestart=true on both configs, and still no luck :/
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@sdetweil is that your config for magicmirror or in the config file or hotword?
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@sdetweil I can try removing the space and hope to works, and I had to do the snowboy rebuild already as it said I had an error when I tried to start magicmirror, so that should be okay, so I’ll try deleting the space and if it doesn’t work I will try to rebuild snowboy and try again and I’ll get back to you. Thanks!!
-
RE: issue with installing MMM-awesome-alexa
@sdetweil that’s alright, I decided to go with Google Assistant, thanks for your help! I do still need some help with getting that to work though, as I stated in my other post! Thanks!
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@ejay-ibm here is my magicmirror config file:
var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 12, units: "imperial", modules: [ { module: "updatenotification", position: "top_bar" }, { module: "MMM-AssistantMk2", position: "top_bar", config: { record: { recordProgram : "arecord", device : "plughw:1, 0", }, notifications: { ASSISTANT_ACTIVATED: "HOTWORD_PAUSE", ASSISTANT_DEACTIVATED: "HOTWORD_RESUME", }, } }, { module: "MMM-Hotword", config: { record: { recordProgram : "arecord", device : "plughw:1, 0", }, autostart:true, onDetected: { notification: function (payload) { return "ASSISTANT_ACTIVATE" }, payload: function (payload){ return { profile: payload.hotword } } }, }, }, { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics" } ] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "Dubuque", locationID: "4854529", //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city appid: "6730254e02c0f50e5d951db321f6fa33" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Dubuque", locationID: "4854529", //ID from https://openweathermap.org/city appid: "6730254e02c0f50e5d951db321f6fa33" } }, { module: "MMM-EARTH", position: "bottom_right", config: { mode: "Natural", rotateInterval: 15000, MaxWidth: "30%", MaxHeight: "30%", } }, { 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 } }, { module: 'MMM-ShairportMetadata', position: 'bottom_left', config: { metadataPipe: "/tmp/shairport-sync-metadata", // location of pipe with shairport-sync metadata alignment: "center", // Possible values [left|right|center]. Default: center } }, ] };here is the output for aplay -l:
pi@raspberrypi:~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] Subdevices: 7/7 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0I do use PulseAudio because i use the PS3 eye mic, which uses a mic array that alsamixer doesn’t like, but it works when i talk to the assistant, Hotword just doesn’t hear my wakewords.
Here is the output for arecord -lpi@raspberrypi:~ $ arecord -l **** List of CAPTURE Hardware Devices **** card 1: CameraB409241 [USB Camera-B4.09.24.1], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0It seems to work whether i use “plughw: 0” and “plughw: 0, 1”.
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@sdetweil I’m not using MMM-Voice, I’m using MMM-Assistantmk2 and MMM-Hotword, hotword pics up the word to wake the assistant and assistant takes care of the rest. I’ve been able to talk to the assistant but hotword doesn’t wake when I say the wakeword.
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@sdetweil do you have any knowledge of these modules? You’ve been a great help in my other problems
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
It works when I get my mouse in the right spot and I click the icon, can talk to it and it talks back, just doesn’t pick up the hotwords :/
-
RE: MMM-Assistantmk2 and MMM-Hotword not picking up
@Sean possible for you to help me? I believe this is your module so you would know best haha
-
MMM-Assistantmk2 and MMM-Hotword not picking up
I have MMM-Assistantmk2 and MMM-Hotword installed and the little logo comes up on screen on MM but none of the hotwords activate it for some reason :/ can anyone help me? Not sure what’s wrong