I have a raspberry pi 4 with raspbian buster on it, and as microphone I am using the matrix voice. The microphone and the speakers are working, both aplay & sam prove this.
However when following the instructions, the step
sam install assistant will quit with an error:
Wildfire:~ s710$ sam connect 10.0.0.5 ? Enter username for the device: pi ? Enter password for the device: [hidden] ✔ Connected to 10.0.0.5 i A public key has been generated and copied to the device at 10.0.0.5:~/.ssh/authorized_keys Wildfire:~ s710$ sam init Installing Snips Platform components. This may take a few minutes... ✔ Updating aptitude repository ✔ Installing dirmngr ✔ Adding Snips APT source list ✔ Adding Snips PGP public key ✔ Updating aptitude repository ✔ Installing Snips Platform, this could take a while, grab a cup of tea & relax ✔ Adding current user to snips-skills-admin group for security ✔ Successfully installed the Snips Platform i You can now setup your audio with sam setup audio Wildfire:~ s710$ sam setup audio ? Is it a Snips Makers Kit? No ? Found 2 interfaces to record sound. Choose the one you want to use card 2: MATRIXIOSOUND [MATRIXIO-SOUND], device 0: matrixio.mic.0 snd-soc-dummy-dai-0  ? Found 4 interfaces to output sound. Choose the one you want to use as your speaker card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] ✔ Installed /etc/asound.conf Setting to volume to 90% if possible Restarting snips-audio-server service done i You can test your microphone & speaker with sam test microphone / speaker Wildfire:~ s710$ sam test microphone i Plug in your microphone and turn on your speaker Stopping snips audio server ✔ Say something in the microphone, then press a key to continue... ✔ Playing the recording Relaunching snips-audio-server i Didn't hear anything? Check the recording level of your microphone and the volume of the speaker. i Alternatively you can run sam setup audio to setup your microphone Wildfire:~ s710$ sam install assistant ✖ No user information to connect to the console, you must login first with sam login Wildfire:~ s710$ sam login ? Enter email used on the console: firstname.lastname@example.org ? Enter password used on the console: [hidden] ✔ Logged in Wildfire:~ s710$ sam install assistant Fetching assistants done Found 1 assistant named Home assistant Downloading assistant Fetching assistants done ✔ Deploying assistant to 10.0.0.5... Checking for actions ✔ Installing snips-template and snips-skill-server ✖ Error: Failed to stop snips-skill-server.service: Unit snips-skill-server.service not loaded.
What should I do?
Looking for running processes, I see none of the snips services. Also,
sam status shows:
Wildfire:~ s710$ sam status Connected to device 10.0.0.5 OS version ................... Raspbian GNU/Linux 10 (buster) Status ....................... Snips Platform not installed You may install the Snips Platform using sam init To install specific components, check the help using sam init --help
So it seems like the
sam init didnt actually install anything. Is this a raspi 4 / buster compatibility issue?
Also, I am not sure if “Adding current user to snips-skills-admin group for security” went well:
pi@homepi:~/.ssh $ id uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),105(input),109(netdev),997(gpio),998(i2c),999(spi)
I don’t see any additional/snips-related group.