sonus icon indicating copy to clipboard operation
sonus copied to clipboard

Instructions on troubleshooting

Open daangemist opened this issue 7 years ago • 6 comments

I am attempting to build a library with this project. The hotword detection with the snowboy model works. But I never receive a transcribe event after that. How can I debug/troubleshoot what is going wrong. Any suggestions?

daangemist avatar Mar 04 '17 14:03 daangemist

Yeah, having some troubleshooting docs is probably be a good idea. 90% of the time the symptoms you describe are caused by something wrong with the billing configuration.

I have instructions for how to correctly enable billing for another project which should be the same for Sonus: https://docs.smart-mirror.io/docs/configuring_voice.html#setting-up-speech-recognition

evancohen avatar Mar 04 '17 23:03 evancohen

I checked an billing is enabled for the project. Next step I guess is to start with node --inspect and step through the code.

daangemist avatar Mar 06 '17 08:03 daangemist

I'm trying to implement the example, I also have the hot key detection working but not the google speech part :( I check on my google cloud account and I see there some calls but all in 403 errors :( I create new json file and project ID match so I'm out of idea of what's going wrong.

Any ideas ?

jaumard avatar Apr 17 '17 11:04 jaumard

@jaumard 403 most likely means there's a problem with your billing information. I have some instructions on how to correctly enable it do that for another project: Setting up speech recognitinon.

evancohen avatar Apr 17 '17 14:04 evancohen

@evancohen did the trick for me ! Thanks ! All working for me :) any way to choose the langage ? For now it's english but what if I want to switch ? (want to also use French) is it possible ? I know google speech can take a langage field on createRecognizeStream but I didn't see any option to set that in Sonus

jaumard avatar Apr 17 '17 15:04 jaumard

Never mind :D found it :)

jaumard avatar Apr 17 '17 15:04 jaumard