Magic Mirror 的 SUSI.AI 实现
SUSI.AI Module for Magic Mirror Project
This project aims at creating a Magic Mirror Module to provide intelligent answers via Susi directly on your Magic Mirror.
Magic Mirror Project: https://github.com/MichMich/MagicMirror
Currently, magic mirror module for Susi is in working state. You can invoke Susi via hotword 'Susi' and ask any query, Susi will reply back with answer. Notably,
sudo apt install sox libsox-fmt-all libatlas-dev libatlas-base-dev
git clone https://github.com/MichMich/MagicMirror cd MagicMirrornpm install & npm startnpm start devThis will start Magic Mirror with basic modules on your screen.
git clone https://github.com/fossasia/MMM-SUSI-AI.git
npm installnpm run electron-rebuild{
module: "MMM-SUSI-AI",
position: "top_bar",
config: {
hotword: "Susi"
}
}
or if you want to use SUSI in authenticated mode with Face Recognition
user object to
users array.{
module: "MMM-SUSI-AI",
position: "top_bar",
config: {
hotword: "Susi",
users: [
{
face_recognition_username: "NAME_FOR_THIS_USER_USED_IN_MMM-Facial-Recognition"
email: "YOUR_EMAIL",
password: "YOUR_SUSI_PASSWORD"
}
]
},
classes: "default everyone"
}
npm startNow, you can invoke Susi via "Susi" Hotword. Once Hotword Detected, your MagicMirror screen will blur. Ask you query by voice after that, Susi will speak back the reply and Mirror Screen will go in original state.
If you want better experience with SUSI AI on your MagicMirror, disable the default 'Compliments' module. To disable the 'Compliments Module', comment or remove the following lines in configuration file in config/config.js
{
module: "compliments",
position: "lower_third"
},
While running if you get a log statement mentioning SnowBoy module not found, run
npm run electron-rebuild
Project is still in alpha, please report an issue if you experience any problems with logs/screenshots.
The code structure of this module has been inspired and taken from Awesome Alexa Module for Magic Mirror.
What is the status of this?
npm install throws error
Getting this error......what is it?
Use React to create UI
Add Google Text to Speech
Add Live Speech Recognition support for intermediate results
Process SUSI Response for all different Action Types.