Home Community Blog Buy Now
Blog

Misty Community Forum

Misty's Conversation Skill Using Google Dialog Flow

Hello,

I followed the steps given by Cameroon at:

Everything worked perfectly and Misty gave a proper response about her age. However when I tried to add a new intent, I could not get a response. I am stuck because it seems like everything else is working, except Misty wont respond when I say “Hey Misty.” Not sure if she is just having trouble hearing me or if there is something else going on.

This is what my console looks like:

"Calling command ‘SetDefaultVolume’" "2020-02-26T00:44:11.5294292Z"
skillrunner.js:518 {volume: 60}
skillrunner.js:511 “Calling command ‘SendExternalRequest’” "2020-02-26T00:44:11.5450521Z"
skillrunner.js:518 {method: “POST”, resource: "https://us-central1-misty-xonabd.cloudfunctions.net/get-access-token ", save: false, apply: false, contentType: “application/json”, …}
skillrunner.js:1125 Running skill ‘Conversation’. Open the web console to see misty.Debug() messages and other skill data.
skillrunner.js:511 “Calling command ‘SaveStateData’” "2020-02-26T00:44:11.6863466Z"
skillrunner.js:518 {key: “googleAccessToken”, value: “ya29.c.KpUBvwfQi8JTahf2wMtIhevVwHQD3c6kD5jUejPtMBU…XVDMv2ywiSSZ8g5LzEl4cGJVRELXCZe1JdKQKt-0iCQ22hYI4”}
skillrunner.js:511 “Calling command ‘AddReturnProperty’” "2020-02-26T00:44:11.6863466Z"
skillrunner.js:518 {eventName: “VoiceRecord”, returnProperty: “Filename”}
skillrunner.js:511 “Calling command ‘AddReturnProperty’” "2020-02-26T00:44:11.6863466Z"
skillrunner.js:518 {eventName: “VoiceRecord”, returnProperty: “Success”}
skillrunner.js:511 “Calling command ‘AddReturnProperty’” "2020-02-26T00:44:11.6863466Z"
skillrunner.js:518 {eventName: “VoiceRecord”, returnProperty: “ErrorCode”}
skillrunner.js:511 “Calling command ‘AddReturnProperty’” "2020-02-26T00:44:11.6863466Z"
skillrunner.js:518 {eventName: “VoiceRecord”, returnProperty: “ErrorMessage”}
skillrunner.js:511 “Calling command ‘RegisterEvent’” "2020-02-26T00:44:11.6863466Z"
skillrunner.js:518 {eventName: “VoiceRecord”, messageType: “VoiceRecord”, debounce: 10, keepAlive: false}
skillrunner.js:511 “Calling command ‘RegisterEvent’” "2020-02-26T00:44:11.6863466Z"
skillrunner.js:518 {eventName: “KeyPhraseRecognized”, messageType: “KeyphraseRecognized”, debounce: 10, keepAlive: false}
skillrunner.js:511 “Calling command ‘StartKeyPhraseRecognition’” "2020-02-26T00:44:11.6863466Z"
skillrunner.js:518 {}
skillrunner.js:511 “Calling command ‘Debug’” "2020-02-26T00:44:11.7019979Z"
skillrunner.js:518 {data: “Misty is listening and will beep when she hears ‘Hey Misty’.”}
skillrunner.js:511 "‘Conversation’ Debug => " "2020-02-26T00:44:11.7019979Z"
skillrunner.js:518 Misty is listening and will beep when she hears ‘Hey Misty’.

I have tried saying “Hey Misty” in a variety of different ways and closer and further from the microphones. I have not tried is creating a new agent. Do you think that will resolve this issue? Do you know of any issues that would be causing this?

This does not sound like it is related to the Dialogflow agent; Without digging into the skill code, a couple things to check:

  • Have you applied Misty’s Android patch? It fixes an audio bug related key phrase recognition.
  • Does the problem persist when you disable and then re-enable Misty’s audio service? (Use the DisableAudioService and EnableAudioService commands in the API Explorer, under “System”)
  • Does the problem persist after rebooting Misty?