Closed pmishev closed 5 years ago
Such a thing is impossible to happen. Custom wakeword is independent of Ok_Google. Disable the custom wakeword, manually start the assistant and post the terminal contents here. Also share your config.yaml file.
I apologise, it seems the problem with 'ok google' not working to be random and I can't reproduce it again after a reboot. I suspect there might be something wrong about my audio setup.
I do experience other issues and I'm not even sure where to start looking for the problem:
When I activate custom hotword, it keeps activating itself by certain loud sounds. Even when it's replying to a command, it activates by its own voice, so by the time it finishes talking, it's already starting to listen again (I tried different personal and public voice models)
When I manually run it the output is duplicated twice or sometimes 4 times like this:
ON_CONVERSATION_TURN_FINISHED:
{"with_follow_on_turn": false}
ON_CONVERSATION_TURN_FINISHED:
{"with_follow_on_turn": false}
INFO:snowboy:Keyword 2 detected at time: 2018-11-19 23:00:59
Assistant is listening.... ON_MUTED_CHANGED: {"is_muted": false} ON_MUTED_CHANGED: {"is_muted": false} ON_MUTED_CHANGED: {"is_muted": false} ON_MUTED_CHANGED: {"is_muted": false} ON_CONVERSATION_TURN_STARTED
ON_CONVERSATION_TURN_STARTED ON_END_OF_UTTERANCE ON_END_OF_UTTERANCE ON_RECOGNIZING_SPEECH_FINISHED: {"text": "nevermind"} ON_RECOGNIZING_SPEECH_FINISHED: {"text": "nevermind"} ON_NO_RESPONSE ON_NO_RESPONSE ON_CONVERSATION_TURN_FINISHED: {"with_follow_on_turn": false} ON_CONVERSATION_TURN_FINISHED: {"with_follow_on_turn": false}
ON_MUTED_CHANGED: {"is_muted": true} ON_MUTED_CHANGED: {"is_muted": true} ON_MUTED_CHANGED: {"is_muted": true} ON_MUTED_CHANGED: {"is_muted": true}
In the volume controls I see 2 inputs active:
![image](https://user-images.githubusercontent.com/5188763/48740401-417bbd00-ec4f-11e8-97b8-c69156c38a00.png)
Is that normal at all?
Can you please advise what I can try?
Furthermore, I tried running in another terminal the demo app from the snowboy binaries I downloaded elsewhere: python2 ~/Alexa/third-party/rpi-arm-raspbian-8.0-1.1.1/demo.py ~/Alexa/jarvis.pmdl
and it doesn't give these false detections. Below is the output I get from both terminals for the same interaction:
From snowboy demo:
INFO:snowboy:Keyword 1 detected at time: 2018-11-19 23:11:58
from your script:
INFO:snowboy:Keyword 1 detected at time: 2018-11-19 23:11:58
Assistant is listening....
ON_MUTED_CHANGED:
{"is_muted": false}
ON_MUTED_CHANGED:
{"is_muted": false}
ON_CONVERSATION_TURN_STARTED
ON_CONVERSATION_TURN_STARTED
INFO:snowboy:Keyword 2 detected at time: 2018-11-19 23:12:00
ON_END_OF_UTTERANCE
ON_END_OF_UTTERANCE
ON_RECOGNIZING_SPEECH_FINISHED:
{"text": "what's the weather in London"}
ON_RECOGNIZING_SPEECH_FINISHED:
{"text": "what's the weather in London"}
ON_RENDER_RESPONSE:
{"text": "Pavements may be wet", "type": 0}
ON_RENDER_RESPONSE:
{"text": "Pavements may be wet", "type": 0}
ON_RENDER_RESPONSE:
{
"text": "Currently in London it's 5 degrees Celsius with rain. Tonight, it's predicted to be 5 with showers.\n---\n( More on weather.com )",
"type": 0
}
ON_RENDER_RESPONSE:
{
"text": "Currently in London it's 5 degrees Celsius with rain. Tonight, it's predicted to be 5 with showers.\n---\n( More on weather.com )",
"type": 0
}
ON_RESPONDING_STARTED:
{"is_error_response": false}
ON_RESPONDING_STARTED:
{"is_error_response": false}
INFO:snowboy:Keyword 2 detected at time: 2018-11-19 23:12:07
ON_RESPONDING_FINISHED
ON_RESPONDING_FINISHED
ON_CONVERSATION_TURN_FINISHED:
{"with_follow_on_turn": false}
ON_CONVERSATION_TURN_FINISHED:
{"with_follow_on_turn": false}
INFO:snowboy:Keyword 1 detected at time: 2018-11-19 23:12:11
Assistant is listening....
ON_CONVERSATION_TURN_STARTED
ON_CONVERSATION_TURN_STARTED
ON_CONVERSATION_TURN_FINISHED:
{"with_follow_on_turn": false}
ON_CONVERSATION_TURN_FINISHED:
{"with_follow_on_turn": false}
ON_MUTED_CHANGED:
{"is_muted": true}
ON_MUTED_CHANGED:
{"is_muted": true}
INFO:snowboy:Keyword 2 detected at time: 2018-11-19 23:12:13
Assistant is listening....
ON_MUTED_CHANGED:
{"is_muted": false}
ON_MUTED_CHANGED:
{"is_muted": false}
ON_CONVERSATION_TURN_STARTED
ON_CONVERSATION_TURN_STARTED
INFO:snowboy:Keyword 2 detected at time: 2018-11-19 23:12:15
ON_END_OF_UTTERANCE
ON_END_OF_UTTERANCE
ON_RECOGNIZING_SPEECH_FINISHED:
{"text": ""}
ON_RECOGNIZING_SPEECH_FINISHED:
{"text": ""}
ON_CONVERSATION_TURN_TIMEOUT
ON_CONVERSATION_TURN_TIMEOUT
ON_MUTED_CHANGED:
{"is_muted": true}
ON_MUTED_CHANGED:
{"is_muted": true}
In my config I have:
Wakewords:
Ok_Google: 'Disabled'
Custom_Wakeword: 'Enabled'
Custom_wakeword_models:
- '/home/pi/snowboy_voice_models/jarvis.pmdl'
- '/home/pi/snowboy_voice_models/pedro.pmdl'
You can see how there seem to be 2 assistants running at the same time - they even returned different results.
I had a similar issues regarding the random activation. I did not have snowboy enabled. My setup has the ReSpeaker 4.
Sometimes when we just talking around it, it would activate or when doing house work.
False positive triggering is very common, its not an issue. Even my original Google home starts listening for some weird reason occasionally.
Closing this for inactivity.
Describe the bug:
Did you go through or search the issues section to check if your issue was already discussed (either currently open issues or closed issues).
Yes
2. Is the issue related to assistant installation ?
No
If answer to question 2 is Yes, then paste the contents of the terminal below.
If answer to question 2 is No, then proceed further.
3. Does the assistant service start normally?
Yes
4. Is the assistant service restarting automatically?
Yes
If answer to question 4 is Yes, then paste the contents of the terminal below.
If answer to question 4 is No, then proceed further.
Manually start the assistant. For guidelines to start the assistant manually refer this
Paste the command below, that crashed the assistant
Paste the contents of the terminal below
Attach the log file. Log file can be found in /tmp directory. Remeber to copy your log file before shutting down or restarting the Pi.