A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MM won't run, blank screen with cursor showing after updating
-
pi@raspberrypi:~ $ arecord -l **** List of CAPTURE Hardware Devices **** card 1: Snowball [Blue Snowball], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0
does this mean it is 1 or 1,0?
-
card 1
device 01,0
you can also test the mic with
arecord -D hw:1,0 test.wav ctrl-break , ctrl-c, or ctrl-z after saying something
then
aplay test.wav
to hear the recorded voice back
-
@sdetweil should i change it in MM’s config file? or MM-voice’s file:MM-voice.js? and if the second, where?
-
@jmartin1009 never change anything in the module folder, only the config.js for magic mirror
-
@sdetweil so it should look like this?
{ module: 'MMM-voice', position: 'upper_third', config: { microphone: '1,0', keyword: 'Magic Mirror', timeout: 15, } },
-
@jmartin1009 yes
mine looks like
{ module: 'MMM-voice', position: 'bottom_bar', config: { microphone: '1,0', keyword: 'MAGIC MIRROR', timeout: 15, debug: true, standByMethod: 'hide', startHidden: false } },
-
@sdetweil okay ,i will run it and see what happens.
-
@sdetweil still came up saying error :(
-
@jmartin1009 ok, add debug: yes,
to the config
run again and then look at the debug log in the modules/mmm-Voice folder -
@sdetweil when i add debug: yes, it fails and says this in the terminal:
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.6.0 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.6.0 Loading config ... WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: ReferenceError: yes is not defined at Object.<anonymous> (/home/pi/MagicMirror/config/config.js:80:15) at Object.<anonymous> (/home/pi/MagicMirror/config/config.js:123:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) at tryModuleLoad (module.js:504:12) at Function.Module._load (module.js:496:3) at Module.require (module.js:586:17) at require (internal/module.js:11:18) at loadConfig (/home/pi/MagicMirror/js/app.js:64:12) Loading module helpers ... Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: helloworld. All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: updatenotification Sockets connected & modules started ... Launching application. Shutting down server... Stopping module helper: updatenotification