Read the statement by Michael Teeuw here.
Advise for a voice assistant
-
@ejay-ibm, @THeStigh i have installed MMM-Hotword. I hope correctly? as i got only warning via npm like
npm WARN MMM-Hotword@1.1.0 No repository field. pi@raspberrypi:~/MagicMirror/modules/MMM-Hotword $ npm install --save snowboy npm WARN deprecated cryptiles@2.0.5: 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 hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version. npm WARN MMM-Hotword@1.1.0 No repository field.
I am not sure how i can test it tho?
Or there is nothing to expect with only MMM-hotword installed?
(sorry if my question is stupid :) ) -
@bibi start mirror in dev mode
npm start dev
Select the console tab in the developers window
You should see MMM-Hotword sending notifications of the words it recognizes
-
npm WARN MMM-Hotword@1.1.0 No repository field.
pi@raspberrypi:~/MagicMirror/modules/MMM-Hotword $ npm install --save snowboy
npm WARN deprecated cryptiles@2.0.5: 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 hoek@2.16.3: This version is no longer maintained. Please upgrade to the latest version.
npm WARN MMM-Hotword@1.1.0 No repository field.You can ignore some WARN unless your program is working.
-
@ejay-ibm, i wanted to follow your good practice and update MM to latest (ok) and OS to stretch (ok) but now it pm2 won’t start MM automatically as it did in the past… would kindly help me to solve this issue before i can install mk2?
thx alot for any help as well -
-
@Mykle1, thx for your post. It appears that when i want to check npm version, the system issues :
pi@raspberrypi:~ $ npm -v -bash: npm: command not found
Therefore something went wrong during the system upgrade to stretch.
If i am not wrong npm comes along with nodejs which i have current versionpi@raspberrypi:~ $ nodejs -v v8.11.1
I think i would just install it again but i don’t know if I should do it from /home/pi or from inside /home/pi/MagicMirror ?
-
@bibi said in Advise for a voice assistant:
I think i would just install it again but i don’t know if I should do it from /home/pi or from inside /home/pi/MagicMirror ?
pi@raspberrypi:~ Here!
-
finally what i did and what did work is :)
sudo apt-get remove nodered -y sudo apt-get remove nodejs nodejs-legacy -y sudo apt-get remove npm -y sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo bash - sudo apt-get install -y nodejs node -v npm -v
-
Hi @ejay-ibm, was a bit busy last days… couldn’t work on MM. I finally install both MMM-Hotword and Mk2. Works fine but need some fine tuning. Maybe you or anybody can guide/help me on the following:
Mk2 side, i still need to understand how it works and how i can “interact” with the other modules… If you have a simple example to show how to “link” Mk2 with any other modules, it would be very helpful!
As usual thx to all for always supporting the community!