No hotword trigger, nothing happens

Hi there !

Struggling to install snips. I think that I got everything working good, but nothing happens. I’m screaming JARVIS, but “sam watch” doesn’t show anything.

Here is my status, which seems ok :
pi@raspberrypi:~ $ sam status

Connected to device localhost

OS version ................... Raspbian GNU/Linux 9 (stretch)
Installed assistant .......... Jarvis
Language ..................... fr
Hotword ...................... jarvis
ASR engine ................... snips
Status ....................... Live

Service status:

snips-analytics .............. (not running)
snips-asr .................... 0.63.3 (running)
snips-audio-server ........... 0.63.3 (running)
snips-dialogue ............... 0.63.3 (running)
snips-hotword ................ 0.63.3 (running)
snips-nlu .................... 0.63.3 (running)
snips-skill-server ........... 0.63.3 (running)
snips-tts .................... 0.63.3 (running)

I ran into problems while running snips-audio-server : it was crashing, I had to configure the microphone. Here are the 2 things I did :

in /etc/asound.conf :

pcm.!default {
    type asym
    playback.pcm {
        type plug
        slave.pcm "hw:0,0"
    }
    capture.pcm {
        type plug
        slave.pcm "hw:1,0"
    }
}

In /etc/snips.toml under snips-audio-server :
alsa_capture = “default”

sam test microphone and speaker work OK. But I just can’t make it react to the hotword.

Also, there was an error while isntalling the assistant, but I don’t know if it’s a real problem or not :

pi@raspberrypi:~ $ sam install assistant -i proj_*****
Downloading assistant

✔ Deploying assistant to localhost...
Checking for actions
Python skill deudtens.JeedomOfficiel has 1 snippet:
        valf
Generating actions based on the snippets, copying the actions in /var/lib/snips/skills
INFO:snips_actions_templates_engine_lib: parsing snippets for app "/usr/share/snips/assistant/snippets/deudtens.JeedomOfficiel"
INFO:snips_actions_templates_engine_lib: parsing snippets dir "/usr/share/snips/assistant/snippets/deudtens.JeedomOfficiel/python2"
INFO:snips_actions_templates_engine_lib: parsed 15 snippets

Setting up Python actions
Running setup.sh & generating virtual environment for deudtens.JeedomOfficiel
✖ Error setting up virtualenv, one or more actions might not be able to run. Reason :
setup.sh: 5: venv/bin/activate: [[: not found
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support

Checking actions for end-user parameters
Relaunching snips-skill-server
✔ Snips assistant is now running. Say jarvis to start!
i Run sam watch to see the logs

Thank you in advance for your help !