Let’s get serious.
When i added no assistant file I could turn off the light in the living room. The other stuff did not work.
Now i installed your app clean without changing anything. I copied the assistant.zip into the share folder. Restarted the addon and hassio found it and extracted it.
I (of course) changed the intent_script because the names of my covers are different … of course.
Covers:
speech:
type: plain
text: 'Allright, {{ actionType }}ing the {{ whichCover }} cover.'
action:
- service_template: cover.{{ actionType | lower }}_cover
data_template:
entity_id: cover.{% if whichCover == "back" %}oeq1850763{% elif whichCover == "front" %}oeq1850763{% elif whichCover == "right" %}peq0005525{% elif whichCover == "left" %}peq0005525{% endif %}
I know its two times the same cover but i wanted to change as little as possible.
and thats my error.
[18:29:19] [Asr] was asked to stop listening on site default
[18:29:19] [Hotword] was asked to toggle itself 'off' on site default
[18:29:19] [Dialogue] session with id 'f7d50d60-b6c4-4eac-84ec-52ad71f655d5' was started on site default
[18:29:19] [AudioServer] was asked to play a wav of 41.1 kB with id 'e61623a0-5017-4e65-b3ee-02aad1aaead1' on site default
INFO:snips_audio_portaudio: Playing "e61623a0-5017-4e65-b3ee-02aad1aaead1" using output "default", wav spec: WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
INFO:snips_audio_portaudio: Playing of "e61623a0-5017-4e65-b3ee-02aad1aaead1" finished
[18:29:20] [AudioServer] finished playing wav with id 'e61623a0-5017-4e65-b3ee-02aad1aaead1'
WARN:snips_tts_hermes: Did received a "play finished" message from audio server with an unknown id 'e61623a0-5017-4e65-b3ee-02aad1aaead1'. It could be normal if you have more than one audio server.
[18:29:20] [Asr] was asked to listen on site default
INFO:snips_asr_hermes: Listening
INFO:snips_asr_lib::asr: T0 entered AsrRunner::run
INFO:snips_asr_lib::asr: T0+0.000 capture started
INFO:snips_asr_lib::asr: T0+4.577 endpoint detected (rule:1) frame:274 samples:70144 signal_time:4.384 rtf:0.857
INFO:snips_asr_lib::asr: T0+4.579 capture ended
INFO:snips_asr_lib::asr: T0+4.748 decoder finalized
INFO:snips_asr_lib::asr: T0+4.749 lookup and post-processing done
INFO:snips_asr_hermes : Cleanup
INFO:snips_asr_hermes : Preparing decoder
[18:29:24] [Asr] captured text "" in 4.0s
[18:29:24] [Asr] was asked to stop listening on site default
[18:29:24] [AudioServer] was asked to play a wav of 93.1 kB with id '6884693b-2562-42fa-a79a-169b8b42945f' on site default
INFO:snips_audio_portaudio: Playing "6884693b-2562-42fa-a79a-169b8b42945f" using output "default", wav spec: WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
INFO:snips_asr_hermes : Idle
INFO:snips_audio_portaudio: Playing of "6884693b-2562-42fa-a79a-169b8b42945f" finished
[18:29:26] [AudioServer] finished playing wav with id '6884693b-2562-42fa-a79a-169b8b42945f'
WARN:snips_tts_hermes: Did received a "play finished" message from audio server with an unknown id '6884693b-2562-42fa-a79a-169b8b42945f'. It could be normal if you have more than one audio server.
[18:29:26] [AudioServer] was asked to play a wav of 61.1 kB with id '39ab5d44-2f19-45ca-82ec-83e322718bc6' on site default
INFO:snips_audio_portaudio: Playing "39ab5d44-2f19-45ca-82ec-83e322718bc6" using output "default", wav spec: WavSpec { channels: 2, sample_rate: 44100, bits_per_sample: 16, sample_format: Int }
INFO:snips_audio_portaudio: Playing of "39ab5d44-2f19-45ca-82ec-83e322718bc6" finished
[18:29:26] [AudioServer] finished playing wav with id '39ab5d44-2f19-45ca-82ec-83e322718bc6'
INFO:snips_dialogue_lib::coordinator::coordinator: Session [f7d50d60-b6c4-4eac-84ec-52ad71f655d5]: closing session which was active: IntentNotRecognized
INFO:snips_dialogue_lib::coordinator::coordinator: Site [default]: reset site -> turn off ASR and turn on Hotword
[18:29:26] [Dialogue] session with id 'f7d50d60-b6c4-4eac-84ec-52ad71f655d5' was ended on site default. The session was ended because the platform didn't understand the user
WARN:snips_tts_hermes: Did received a "play finished" message from audio server with an unknown id '39ab5d44-2f19-45ca-82ec-83e322718bc6'. It could be normal if you have more than one audio server.
[18:29:26] [Asr] was asked to stop listening on site default
[18:29:26] [Hotword] was asked to toggle itself 'on' on site default
INFO:snips_hotword_lib::features : Audio thread for site default running
edit: going to reinstall the addon
edit2: when i plug the headset into my computer and use it on snips to test the assistant, it recognizes the things i say perfectly!
edit3: When i delete the assistant.zip file and use the standard one it detects what I say.
[18:52:46] [Hotword] detected on site default, for model hey_snips
INFO:snips_dialogue_lib::coordinator::coordinator: Site [default]: reset site -> turn off ASR and turn off Hotword
INFO:snips_dialogue_lib::coordinator::coordinator: Session [f6f834e8-b832-402a-89fa-5ef36f650d09]: The session has been created because the site "default" is free
[18:52:46] [Asr] was asked to stop listening on site default
[18:52:46] [Hotword] was asked to toggle itself 'off' on site default
[18:52:46] [Dialogue] session with id 'f6f834e8-b832-402a-89fa-5ef36f650d09' was started on site default
[18:52:46] [AudioServer] was asked to play a wav of 41.1 kB with id 'ace67098-2e89-4145-bfa6-42607b7bce8f' on site default
INFO:snips_audio_portaudio: Playing "ace67098-2e89-4145-bfa6-42607b7bce8f" using output "default", wav spec: WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
INFO:snips_hotword_lib::features : Audio thread for site default idle.
INFO:snips_audio_portaudio: Playing of "ace67098-2e89-4145-bfa6-42607b7bce8f" finished
[18:52:47] [AudioServer] finished playing wav with id 'ace67098-2e89-4145-bfa6-42607b7bce8f'
WARN:snips_tts_hermes: Did received a "play finished" message from audio server with an unknown id 'ace67098-2e89-4145-bfa6-42607b7bce8f'. It could be normal if you have more than one audio server.
[18:52:47] [Asr] was asked to listen on site default
INFO:snips_asr_hermes : Listening
INFO:snips_asr_lib::asr: T0 entered AsrRunner::run
INFO:snips_asr_lib::asr: T0+0.000 capture started
INFO:snips_asr_lib::asr: T0+4.187 endpoint detected (rule:2) frame:169 samples:43264 signal_time:2.704 rtf:1.407
INFO:snips_asr_lib::asr: T0+4.197 capture ended
INFO:snips_asr_lib::asr: T0+4.484 decoder finalized
INFO:snips_asr_lib::asr: T0+4.484 lookup and post-processing done
INFO:snips_asr_hermes : Cleanup
INFO:snips_asr_hermes : Preparing decoder
[18:52:51] [Asr] captured text "light on" in 4.0s
[18:52:51] [Asr] was asked to stop listening on site default
[18:52:51] [AudioServer] was asked to play a wav of 93.1 kB with id 'e55fe924-1da4-415d-bcc6-555b479cfe08' on site default
INFO:snips_audio_portaudio: Playing "e55fe924-1da4-415d-bcc6-555b479cfe08" using output "default", wav spec: WavSpec { channels: 2, sample_rate: 22050, bits_per_sample: 16, sample_format: Int }
INFO:snips_asr_hermes : Idle
INFO:snips_audio_portaudio: Playing of "e55fe924-1da4-415d-bcc6-555b479cfe08" finished
WARN:snips_tts_hermes: Did received a "play finished" message from audio server with an unknown id 'e55fe924-1da4-415d-bcc6-555b479cfe08'. It could be normal if you have more than one audio server.
[18:52:52] [AudioServer] finished playing wav with id 'e55fe924-1da4-415d-bcc6-555b479cfe08'
[18:52:53] [Nlu] was asked to parse input "light on"
[18:52:53] [Nlu] detected intent hass:HassTurnOn with probability 0.896 for input "light on"
Slots ->
name -> light
[18:52:53] [Dialogue] New intent detected hass:HassTurnOn with probability 0.896
Slots ->
name -> light
[18:52:53] [Dialogue] was ask to end session with id f6f834e8-b832-402a-89fa-5ef36f650d09 by saying 'Turned Xiaomi Gateway Light on'
[18:52:53] [Tts] was asked to say "Turned Xiaomi Gateway Light on"
INFO:snips_audio_portaudio: Playing "3aff9bac-30d6-4b53-b0f7-b827dff8cc30" using output "default", wav spec: WavSpec { channels: 1, sample_rate: 16000, bits_per_sample: 16, sample_format: Int }
[18:52:53] [AudioServer] was asked to play a wav of 68.7 kB with id '3aff9bac-30d6-4b53-b0f7-b827dff8cc30' on site default
edit 4: thats my snips log after starting the addon
[]
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM front
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround21
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround40.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround40
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround41
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround50
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround51.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround51
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.surround71.0:CARD=0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM surround71
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM iec958
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.bcm2835.pcm.iec958.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM spdif
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
INFO:snips_audio_portaudio: Use input device: "default"
1543781150: New connection from 127.0.0.1 on port 1883.
INFO:snips_hotword : Discovered audio_server default/mqtt, starting hotword listener
INFO:snips_hotword : Connecting using MQTT site-id default
INFO:snips_hotword_lib::features : Audio thread for default started
1543781150: New client connected from 127.0.0.1 as 7cc30544cad14bb49f390c9732f21ec6 (c0, k10).
INFO:snips_asr: Connecting using MQTT site-id default
INFO:snips_asr_hermes: Using model from "/usr/share/snips/assistant/custom_asr"
INFO:snips_hotword_lib : Detector for hey_snips on default thread started
INFO:snips_asr_hermes: Preparing decoder
2018-12-02 21:05:51,206 INFO success: snips-tts entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-12-02 21:05:51,208 INFO success: snips-dialogue entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
INFO:snips_asr_hermes: Idle
2018-12-02 21:05:52,127 INFO success: snips-asr entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-12-02 21:05:52,139 INFO spawned: 'snips-nlu' with pid 106
2018-12-02 21:05:52,141 INFO success: snips-analytics entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-12-02 21:05:52,142 INFO success: snips-hotword entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2018-12-02 21:05:52,143 INFO success: snips-audio-server entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
1543781152: New connection from 127.0.0.1 on port 1883.
1543781152: New client connected from 127.0.0.1 as 243bcde4e1454b5a85421b8e118b2d46 (c0, k10).
INFO:snips_nlu_hermes: loading model at path "/usr/share/snips/assistant/nlu_engine"
ERROR:snips_nlu : Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
-> caused by: Expected model version 0.16.0 but found 0.17.0
1543781152: Socket error on client 243bcde4e1454b5a85421b8e118b2d46, disconnecting.
2018-12-02 21:05:52,247 INFO exited: snips-nlu (exit status 1; not expected)
2018-12-02 21:05:54,256 INFO spawned: 'snips-nlu' with pid 111
1543781154: New connection from 127.0.0.1 on port 1883.
1543781154: New client connected from 127.0.0.1 as a29cf41f84544f92a6cf096276a4f79a (c0, k10).
INFO:snips_nlu_hermes: loading model at path "/usr/share/snips/assistant/nlu_engine"
ERROR:snips_nlu : Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
-> caused by: Expected model version 0.16.0 but found 0.17.0
1543781154: Socket error on client a29cf41f84544f92a6cf096276a4f79a, disconnecting.
2018-12-02 21:05:54,343 INFO exited: snips-nlu (exit status 1; not expected)
2018-12-02 21:05:57,354 INFO spawned: 'snips-nlu' with pid 116
1543781157: New connection from 127.0.0.1 on port 1883.
1543781157: New client connected from 127.0.0.1 as a3973b98b0e54272b9359574b2379ce1 (c0, k10).
INFO:snips_nlu_hermes: loading model at path "/usr/share/snips/assistant/nlu_engine"
ERROR:snips_nlu : Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
-> caused by: Expected model version 0.16.0 but found 0.17.0
1543781157: Socket error on client a3973b98b0e54272b9359574b2379ce1, disconnecting.
2018-12-02 21:05:57,405 INFO exited: snips-nlu (exit status 1; not expected)
2018-12-02 21:05:58,407 INFO gave up: snips-nlu entered FATAL state, too many start retries too quickly
[]