Sam not working correctly

Hello I try to install snips on raspberry pi with osmc (Kodi) image.
Installation was succesfull but there is not possible do any command from sam. Only connect is possible.
I try conect from raspberry lolaly and from debian remotly. both connection was succesfull.
If I put command sam status or sam init I can see error:

Connection failed, is your device turned on?
SSH Error: All configured authentication methods failed

I checked log and I can see error only with led.
Is there way to configure device and test functionality without sam client?

Hello @pato52,

You can manually connect to your RaspberryPi via ssh and configure the platform. You can follow the manual setup documentation.

It’s surprising that sam connect works but additional commands throw you an SSH Error on authentication.

thanks for hint.
I have done installed snips and all servisis are running. But I cant see any reaction on my voice.
I test microphone with arecord and it is working fine. I start audio server service and run snips-watch.
I can see only one row in console that waiting for MQTT bind. (I have connected openhab2 via MQTT bind to brokers. in openhab is online )

Where is possible check audio service functionality without sam ?

Blockquote
root@osmc:/home/osmc # systemctl status ‘snips-*’

  • snips-tts.service - Snips TTS
    Loaded: loaded (/lib/systemd/system/snips-tts.service; enabled; vendor preset
    Active: active (running) since Thu 2019-06-06 22:52:30 CEST; 40min ago
    Main PID: 435 (snips-tts)
    CGroup: /system.slice/snips-tts.service
    `-435 /usr/bin/snips-tts

Jun 06 22:52:30 osmc systemd[1]: Started Snips TTS.
Jun 06 22:52:30 osmc snips-tts[435]: INFO:snips_tts_hermes: starting with provid

  • snips-audio-server.service - Snips Audio Server
    Loaded: loaded (/lib/systemd/system/snips-audio-server.service; enabled; vend
    Active: active (running) since Thu 2019-06-06 22:52:30 CEST; 40min ago
    Main PID: 436 (snips-audio-ser)
    CGroup: /system.slice/snips-audio-server.service
    `-436 /usr/bin/snips-audio-server

Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_
lines 1-24…skipping…

  • snips-tts.service - Snips TTS
    Loaded: loaded (/lib/systemd/system/snips-tts.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2019-06-06 22:52:30 CEST; 40min ago
    Main PID: 435 (snips-tts)
    CGroup: /system.slice/snips-tts.service
    `-435 /usr/bin/snips-tts

Jun 06 22:52:30 osmc systemd[1]: Started Snips TTS.
Jun 06 22:52:30 osmc snips-tts[435]: INFO:snips_tts_hermes: starting with provider PicoTts

  • snips-audio-server.service - Snips Audio Server
    Loaded: loaded (/lib/systemd/system/snips-audio-server.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2019-06-06 22:52:30 CEST; 40min ago
    Main PID: 436 (snips-audio-ser)
    CGroup: /system.slice/snips-audio-server.service
    `-436 /usr/bin/snips-audio-server

Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Jun 06 22:52:31 osmc snips-audio-server[436]: ALSA lib pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
Jun 06 22:52:31 osmc snips-audio-server[436]: INFO:snips_audio_portaudio : Use input device: “default”
Jun 06 22:52:31 osmc snips-audio-server[436]: INFO:snips_broadcast_mqtt_server: Starting broadcasting audio on hermes as site “default”

  • snips-skill-server.service - Snips Skill Server
    Loaded: loaded (/lib/systemd/system/snips-skill-server.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2019-06-06 22:52:24 CEST; 40min ago
    Main PID: 302 (snips-skill-ser)
    CGroup: /system.slice/snips-skill-server.service
    `-302 /usr/bin/snips-skill-server

Jun 06 22:52:28 osmc snips-skill-server[302]: INFO:snips_skill_server_lib::runner : [led_animation_1.6][out] [20:52:27] [Info] [terminate_mqtt_client] D
Jun 06 22:52:28 osmc snips-skill-server[302]: INFO:snips_skill_server_lib::runner : [led_animation_1.6][out] [Error] can’t send spi message
Jun 06 22:52:29 osmc snips-skill-server[302]: WARN:snips_skill_server_lib::handler::nosandbox: child led_animation_1.6 has stopped with status exit code: 1
Jun 06 22:52:29 osmc snips-skill-server[302]: INFO:snips_skill_server_lib::runner : restarting action led_animation_1.6 (restart_fails: 2)
Jun 06 22:52:29 osmc snips-skill-server[302]: INFO:snips_skill_server_lib::runner : [led_animation_1.6][err] [20:52:29] [Error] [load_json_file] Can not
Jun 06 22:52:30 osmc snips-skill-server[302]: INFO:snips_skill_server_lib::runner : [led_animation_1.6][out] [20:52:29] [Info] [reset_power_pin] Mode ha
Jun 06 22:52:30 osmc snips-skill-server[302]: INFO:snips_skill_server_lib::runner : [led_animation_1.6][out] [20:52:29] [Info] [terminate_mqtt_client] D
Jun 06 22:52:30 osmc snips-skill-server[302]: INFO:snips_skill_server_lib::runner : [led_animation_1.6][out] [Error] can’t send spi message
Jun 06 22:52:30 osmc snips-skill-server[302]: WARN:snips_skill_server_lib::handler::nosandbox: child led_animation_1.6 has stopped with status exit code: 1
Jun 06 22:52:30 osmc snips-skill-server[302]: ERROR:snips_skill_server_lib::runner : action led_animation_1.6 failed 3 times in the last 10 seconds, dis

  • snips-dialogue.service - Snips Dialogue
    Loaded: loaded (/lib/systemd/system/snips-dialogue.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2019-06-06 22:52:30 CEST; 40min ago
    Main PID: 438 (snips-dialogue)
    CGroup: /system.slice/snips-dialogue.service
    `-438 /usr/bin/snips-dialogue

Jun 06 22:52:30 osmc systemd[1]: Started Snips Dialogue.
Jun 06 22:52:30 osmc snips-dialogue[438]: INFO:snips_dialogue_hermes: Loading the configuration file
Jun 06 22:52:31 osmc snips-dialogue[438]: INFO:snips_dialogue_lib::config: Loading language en
Jun 06 22:52:31 osmc snips-dialogue[438]: INFO:snips_dialogue_hermes : Starting…

  • snips-asr.service - Snips ASR
    Loaded: loaded (/lib/systemd/system/snips-asr.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2019-06-06 22:52:24 CEST; 40min ago
    Main PID: 287 (snips-asr)
    CGroup: /system.slice/snips-asr.service
    `-287 /usr/bin/snips-asr

Jun 06 22:52:24 osmc systemd[1]: Started Snips ASR.
Jun 06 22:52:26 osmc snips-asr[287]: INFO:snips_asr_hermes::handler: Loading model
Jun 06 22:52:26 osmc snips-asr[287]: INFO:snips_asr_hermes::handler: Using model from “/usr/share/snips/assistant/custom_asr”
Jun 06 22:52:26 osmc snips-asr[287]: INFO:snips_asr_hermes::handler: Using model from “/usr/share/snips/assistant/custom_asr”
Jun 06 22:52:26 osmc snips-asr[287]: INFO:snips_kaldi::decode::model: Loading model v2
Jun 06 22:52:26 osmc snips-asr[287]: INFO:snips_kaldi::decode::model: Loading model v2
Jun 06 22:52:28 osmc snips-asr[287]: INFO:snips_asr_hermes::handler : Preparing decoder

Blockquote

here is sam connection correct but sam status and init not