Robot Not a Dev? Buy Now
Not a Dev?

Misty Community Forum

Misty Conversation skill help

Hey all,

We had our simple Conversation skill working until two days ago- Misty updated yesterday, and now the same skill is not playing the recalled audio file. Here is what the log looks like when the skill is run:

{data: “Misty is listening and will beep when she hears ‘Hey Misty’.”}
skillrunner.js:473 "‘conversation2’ Debug => " “2019-12-04T15:06:35.8883646Z”
skillrunner.js:480 Misty is listening and will beep when she hears ‘Hey Misty’.
skillrunner.js:473 “Calling command ‘GetStateData’” “2019-12-04T15:06:35.8883646Z”
skillrunner.js:480 {key: “googleAccessToken”}
skillrunner.js:473 “Calling command ‘SendExternalRequest’” “2019-12-04T15:06:35.9040029Z”
skillrunner.js:480 {method: “POST”, resource: “https://dialogflow.googleapis.com/v2/projects/libr…gent/sessions/mflctztl2u3brx9xk6suo1:detectIntent”, authorizationType: “Bearer”, token: “ya29.c.KpUBswcFQTUhjXNXJ92jwglfk-MAU6rFkD8a4ryEFfr…RGilh-gZSYNzyR1Z23TpcAyhIs9cGJ2bM_XzGhjLnY065StTE”, arguments: “{“queryInput”:{“audioConfig”:{“audioEncoding”:“AUD…et-C”,“ssmlGender”:“SSML_VOICE_GENDER_FEMALE”}}}}”, …}
skillrunner.js:473 “Calling command ‘Debug’” “2019-12-04T15:06:36.1705799Z”
skillrunner.js:480 {data: “DialogFlow response: {“queryResult”:{“languageCode”:“en-US”}}”}
skillrunner.js:473 "‘conversation2’ Debug => " “2019-12-04T15:06:36.1705799Z”
skillrunner.js:480 DialogFlow response: {“queryResult”:{“languageCode”:“en-US”}}
skillrunner.js:473 “Calling command ‘Debug’” “2019-12-04T15:06:36.1705799Z”
skillrunner.js:480 {data: “Input text: undefined”}data: "Input text: undefined"proto: Object
skillrunner.js:473 "‘conversation2’ Debug => " “2019-12-04T15:06:36.1705799Z”
skillrunner.js:480 Input text: undefined
skillrunner.js:473 “Calling command ‘Debug’” “2019-12-04T15:06:36.1705799Z”
skillrunner.js:480 {data: “Ouput text: undefined”}data: "Ouput text: undefined"proto: Object
skillrunner.js:473 "‘conversation2’ Debug => " “2019-12-04T15:06:36.1705799Z”
skillrunner.js:480 Ouput text: undefined
skillrunner.js:473 “Calling command ‘ChangeLED’” “2019-12-04T15:06:36.1705799Z”
skillrunner.js:480 {red: 0, green: 173, blue: 239}
skillrunner.js:473 “Calling command ‘SaveAudioAssetToRobot’” “2019-12-04T15:06:36.1705799Z”
skillrunner.js:480 {fileName: “40_temp_output_audio.wav”, data: “undefined”, immediatelyApply: true, overwriteExisting: true}
skillrunner.js:473 “Calling command ‘PlayAudioClip’” “2019-12-04T15:06:36.1705799Z”
skillrunner.js:480 {fileName: “40_temp_output_audio.wav”, volume: 50}


Does anything immediately throw up red flags? Any help would be greatly appreciated!

Hi, @virtualservicesbcpl. Welcome to the community!

We have been tracking an issue related to recording audio that could be preventing your robot from sending any actual audio data to the TTS service you are using:

That may be why you are getting an “Input text: undefined” message (assuming that message is what you are getting back from Google).

We don’t currently have an estimate on when this bug will be fixed, but there is a temporary workaround:

If keeping your robot’s default volume low does not work, you can try troubleshooting your request parameters by using the REST version of the SendExternalReqeuest API with a client like Postman. Set up the call with the kind of payload you are using in your skill code, and make sure you are getting valid response data when you POST the request to Misty.

Changing the default volume level as mentioned seems to work.

Thanks for a quick response!

1 Like