Read the statement by Michael Teeuw here.
MMM-AssistantMk2 problems when using electron-rebuild
-
@sean said in MMM-AssistantMk2 problems when using electron-rebuild:
rm -rf grpc
Hi @Sean,
cool that helps. You you just advice for some of the not so advanced npm and node users how to downgrade?
Thank you so much,
Stephan
-
@yep_dd
Currently, I’m not in front of my device, so I write this without test.npm install [package]@[version]
That is a usual form.
Thus,
cd ~/MagicMirror/modules/MMM-AssistantMk2 rm -rf ./node_modules/grpc npm install grpc@1.13
would work, I think.
-
if anybody needs a working raspie3b+ image with hotword/notification/assistant installed drop a pm
:-)
-
@Sean
works like a charm, thank you -
@Sean
off topic: is there a way to set the audio output (Device / Program) routing like “record” for the mic?
-
This post is deleted! -
@yep_dd
I didn’t make it configurable much. But you can modify ‘node_helper.js’ by yourselfvar speaker = new Speaker({
channels: 1,
sampleRate: cfgInstance.conversation.audio.sampleRateOut,
});You can add here ‘device:”hw:1,0”,”. I’ll fix them to be configurable next update.
-
@Sean
cool, works, thank you so much. Would you know where youtube audio is configured? Because that still uses the standard.
-
@yep_dd I don’t know about that, sorry. :| I think you should adjust your mixer (alsa? or pulse?)
-
@Sean
correct, works. Modified /usr/share/alsa/alsa.conf for the default sound card and added a “record” for MMM-Hotkey so it wouldn’t use that as default: working just fine.Just stuttering, the audio output as well as video. Let’s see why… when audio is played through the 3.5mm jack it works fine.