SUSI.AI implementation for Magic Mirror
LGPL-2.1 License
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 MagicMirror
npm install & npm start
npm start dev
This will start Magic Mirror with basic modules on your screen.
git clone https://github.com/fossasia/MMM-SUSI-AI.git
npm install
npm 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{
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 start
Now, 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.