Read the statement by Michael Teeuw here.
MMM-voice setup but MagicMirror wont display
-
mine was error cause i accidentally cloned into MMM-Voice…capital V and it didnt create the dic file…
maybe try running npm start dev and see what errors you have in the console -
@cyberphox yes, that I def did -was super careful with that.
-
@cyberphox heres what I get with the npm start dev…not sure I am doing this in the right dir. I checked the Capital V or v, and mine is def lowercase v
pi@raspberrypi:~/MagicMirror/modules/MMM-voice $ npm start dev
npm ERR! missing script: startnpm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-04-07T15_24_32_070Z-debug.log -
pi@raspberrypi:~/MagicMirror $ npm start dev
magicmirror@2.3.1 start /home/pi/MagicMirror
sh run-start.sh “dev”Starting MagicMirror: v2.3.1
Loading config …
Loading module helpers …
No helper found for module: alert.
Initializing new module helper …
Module helper loaded: updatenotification
No helper found for module: clock.
Initializing new module helper …
Module helper loaded: MMM-EARTH
No helper found for module: compliments.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
No helper found for module: MMM-CountDown.
Initializing new module helper …
Module helper loaded: MMM-voice
No helper found for module: MMM-QRCode.
Initializing new module helper …
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 …
Server started …
Connecting socket for: updatenotification
Connecting socket for: MMM-EARTH
Starting module: MMM-EARTH
Connecting socket for: MMM-voice
Starting module helper: MMM-voice
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected & modules started …
Launching application.
https://epic.gsfc.nasa.gov/api/natural
Create new news fetcher for url: http://ewn.co.za/RSS Feeds/Latest News - Interval: 300000
MMM-voice: Checking files.
MMM-voice: Starting pocketsphinx.
Shutting down server…
Stopping module helper: updatenotification
Stopping module helper: MMM-EARTH
Stopping module helper: MMM-voice
Stopping module helper: newsfeed -
is the dev window…check the console tab…look for errors
-
@cyberphox hi… I am so hard trying not to be an ass… but I dont know what you mean? Sorry…I am serously a 5 day taught myself to help my son with his project.
-
@shazglass said in MMM-voice setup but MagicMirror wont display:
I am serously a 5 day taught myself to help my son with his project.
No worries dude. Personally, I’m glad to see you involved with your son. That’s how this started for me. I wanted to have something in common with my 21 year old son so I could stay “cool” in his eyes. Now . . .
I don’t use voice on my Pi mirror anymore but I do use it extensively on other boards. This is what I remember.
- I didn’t use a 3rd party sound card
- USB microphone plugged directly into USB port of the Pi
- Needing to run
alsamixer
in a terminal window to set mic/capture device. - Testing mic by recording your voice (forgot command - google it)
After that, installing MMM-voice, paying careful attention to the directions on how to install the dependencies. If at this point the module runs but displays a microphone and the word “ERROR” then I can help you. If, on the other hand, the module does not run and errors in the terminal or the dev console then something in your beginning steps is amiss
-
@Mykle1 Good morning.
thank you for the reply, makes a lot of sense. I don’t know how to run alsamixer? which directory would I do that in. I have tested the mic and it def works. I am at the point where it displays a microphone with ERROR showing. Sometimes it says , INITIALISING, CHOOSE MODE, then straight away shows ERROR again. Is there something on the pi I need to configure? thnx again Mykle, and I am a mom to a 15 year old :) -
@shazglass There is a error log in the module. Also there is a hidden debug option for for informations
debug: true
-
@strawberry-3.141 Hi - thank you for your reply. Ok, so how do I fix the error log in the module? and where must i type debug: true? Sorry for being a pain - like I said, I have no idea, I am seriously just helping my son, who also just taught himself by reading all of this information.