[SOLVED] N00b: no voice output for Weather skill?


#1

Hi there,

I just installed Snips following the quickstart and I’m lost figuring out why I don’t get voice output for the weather skill.
It’s working for the calculator skill so I’m not sure what happens. I just ask one of the german samples sentences “regnet es in Frankfurt?”.

[22:36:48] [Hotword] detected on site default, for model hey_snips
[22:36:48] [Asr] was asked to stop listening on site default
[22:36:48] [Hotword] was asked to toggle itself 'off' on site default
[22:36:48] [Dialogue] session with id '2d899336-ba59-4b5c-b561-b692cc569faa' was started on site default
[22:36:48] [AudioServer] was asked to play a wav of 41.1 kB with id '1c78d38f-d1a2-460c-8798-5d54307076eb' on site default
[22:36:49] [AudioServer] finished playing wav with id '1c78d38f-d1a2-460c-8798-5d54307076eb'
[22:36:49] [Asr] was asked to listen on site default
[22:36:53] [Asr] captured text "regnet es in frankfurt" in 3.0s
[22:36:53] [Asr] was asked to stop listening on site default
[22:36:53] [AudioServer] was asked to play a wav of 93.1 kB with id '2661c6d9-f0e6-4186-8f8c-d4756d333fd5' on site default
[22:36:54] [AudioServer] finished playing wav with id '2661c6d9-f0e6-4186-8f8c-d4756d333fd5'
[22:36:54] [Nlu] was asked to parse input "regnet es in frankfurt"
[22:36:54] [Nlu] detected intent domi:searchWeatherForecastCondition with confidence score 0.977 for input "regnet es in frankfurt"
              Slots ->
                 forecast_condition_name -> Regnet (confidence: 1.000)
                       forecast_locality -> frankfurt (confidence: 1.000)
[22:36:54] [Dialogue] New intent detected domi:searchWeatherForecastCondition with confidence 0.977
              Slots ->
                 forecast_condition_name -> Regnet (confidence: 1.000)
                       forecast_locality -> frankfurt (confidence: 1.000)
[22:36:59] [Dialogue] session with id '2d899336-ba59-4b5c-b561-b692cc569faa' was ended on site default. The session was ended because one of the component didn't respond in a timely manner
[22:36:59] [Asr] was asked to stop listening on site default
[22:36:59] [Hotword] was asked to toggle itself 'on' on site default

What am I doing wrong?


#2

Nothing it doesn’t

And it’s about time Snips @valf change this so we stop getting the same question since the day the skill was released


#3

It doesn’t output anything? How is it intended to be used?
I didn’t see that mentioned in the description


#4

pick a weather skill with an action code (when you search make sure the tick box for "only show apps with action code ")

it has been asked and answered sooo many times now its not funny and the fact that it is still there and n00bs still come to the support pages and write the same question (before using the search box) is just ridicules in how it confuses new comers

i am sure it was just a proof of concept at one point so users to engage in and learn from, even though it is not a fully functioning app


#5

Indeed it was very confusing if you have no idea how to interpret the output and just follow a getting started page :slight_smile: I think it should be mentioned more clearly.

However, I probably skipped some parts as well.

Anyways, good to know and thanks a lot for the help! :slight_smile:

@ozie I just saw that the app shows up if you tick “show only apps with actions”
I’m referring to this one: https://console.snips.ai/assistants/proj_AdwKXzBq3qD


#6

Hey @chbla!

The official way to install the weather demo is using sam

sam install demo

By the way you indeed found an issue we just fixed.

Reinstall the demo with the command provided and the TTS output will be back. :slight_smile:


#7

Haha that’s great, thanks a lot! I will try it again


#8

weird… somehow my assistant switched to english now (sam status) - how can I change this?
it’s German in the online console


#9

and I’m still not getting any voice output with the default

[22:10:20] Watching on localhost:1883 (MQTT)
[22:10:22] [Hotword] detected on site default, for model hey_snips
[22:10:22] [Asr] was asked to stop listening on site default
[22:10:22] [Hotword] was asked to toggle itself 'off' on site default
[22:10:22] [Dialogue] session with id '6c00793b-967d-44e6-aed3-deffcde7dadf' was started on site default
[22:10:22] [AudioServer] was asked to play a wav of 41.1 kB with id '276034a6-ce41-4ea9-ad2b-0918b8e6fa50' on site default
[22:10:22] [AudioServer] finished playing wav with id '276034a6-ce41-4ea9-ad2b-0918b8e6fa50'
[22:10:22] [Asr] was asked to listen on site default
[22:10:26] [Asr] captured text "wie ist das wetter in berlin" in 3.0s
[22:10:26] [Asr] was asked to stop listening on site default
[22:10:26] [AudioServer] was asked to play a wav of 93.1 kB with id 'e82a8a4b-b7e9-480a-84c3-a4eb9a3bad6f' on site default
[22:10:27] [AudioServer] finished playing wav with id 'e82a8a4b-b7e9-480a-84c3-a4eb9a3bad6f'
[22:10:27] [Nlu] was asked to parse input "wie ist das wetter in berlin"
[22:10:28] [Nlu] detected intent domi:searchWeatherForecast with confidence score 1.000 for input "wie ist das wetter in berlin"
              Slots ->
                 forecast_locality -> Berlin (confidence: 1.000)
[22:10:28] [Dialogue] New intent detected domi:searchWeatherForecast with confidence 1.000
              Slots ->
                 forecast_locality -> Berlin (confidence: 1.000)
[22:10:33] [Dialogue] session with id '6c00793b-967d-44e6-aed3-deffcde7dadf' was ended on site default. The session was ended because one of the component didn't respond in a timely manner
[22:10:33] [Asr] was asked to stop listening on site default
[22:10:33] [Hotword] was asked to toggle itself 'on' on site default

#10

then you need to check the system logs

try running snips-skill-server -vvv and what the output in the terminal to see if there are any obvious errors when the skill runs


#11

This is the output I get, does that help?

I can’t interpret it…


#12

Yeah, that line there doesn’t work since hermes-python 0.3.3. I had to rewrite all of my skills with that update. You need to access the slots as “intentMessage.slots.<name of slot>” instead. Be sure it’s not None, and if your slots are optional, be sure that intentMessage.slots is also not None, too.


#13

As it’s the demo skill I think it should be updated globally?


#14

The demo assistant is in english, so its normal that your device output the TTS in english

Regarding the Wetter assistant skill code, it is not maintained by Snips. You can fork this repository and update the code https://github.com/MrJohnZoidberg/Snips-Wetter


#15

I was not referring to the skill, the assistant switched to english somehow, after a reboot it was back to german (I read that in a post somewhere).

I’m not able to fix the code as I’m just starting with snips, I just wanted to point out that it’s confusing if the quickstart/demo is not working.


#16

I agree :confounded:,

Just to clarify your problem, when you are talking about the demo, you are referring to the one installed with sam install demo?

About the language of the assistant (a.k.a the TTS output configuration).
It should be the one stated in /usr/share/snips/assistant/assistant.json