No dramas at all.
Now you need to double check that you are pointing to the correct device number for your audio with the Assistant module.
In a terminal at the root directory (pi@raspberrypi:~ ) Check the device list for audio input:
arecord -l
This should provide you a list of CAPTURE Hardware Devices. The numbers you want to write down is the Card number, and device number.
As an example on my device I have it as Card: 2 Device: 0
Now within the config.js of the MagicMirror ensure that the device number is the same. Here is what it looks like within my config.js:
{
module: "MMM-AssistantMk2",
position: "bottom_bar",
config: {
record: {
recordProgram : "arecord",
device : "plughw:2",
},
notifications: {
ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
},
}
},
{
module: "MMM-Hotword",
config: {
chimeOnFinish:null,
mic: {
recordProgram : "arecord",
device : "plughw:2",
},
models: [
{
hotwords : "smart_mirror",
file : "smart_mirror.umdl",
sensitivity : "0.5",
},
],
defaultCommand: {
notificationExec: {
notification: "ASSISTANT_ACTIVATE",
payload: (detected, afterRecord) => {
return {profile:"default"}
}
},
afterRecordLimit:0,
restart:false,
},
},
},
Notice within both my modules because my card number is ‘2’, that the
device : "plughw:2",
So make sure your number corresponds with your Card number.
Give that a test and we will go from there.