alexa-pi / AlexaPi

Alexa client for all your devices! # No active development. PRs welcome # consider https://github.com/respeaker/avs instead
MIT License
1.33k stars 396 forks source link

Alexa request an answer but nothing occurs... #444

Open fjluquerodriguez opened 5 years ago

fjluquerodriguez commented 5 years ago

Hi.

When i request to alexa and alexa ask me something... why it stops? For example: Me: "alexa", Raspberry: "yes", Me: "start akinator", raspberry:"bla bla bla... do you want to continue?" (hear, in logs, appears "Finished play"), Me: "yes".... and nothing occurs....

Raspberry Pi 3 A+ with usb headset. Raspbian lastest.

2019-01-25 13:39:05 INFO: Triggered: pocketsphinx
2019-01-25 13:39:05 DEBUG: Stopping audio play
2019-01-25 13:39:05 DEBUG: Playing audio: /opt/AlexaPi/src/resources/alexayes.mp3
2019-01-25 13:39:05 DEBUG: Player State: State.Opening
2019-01-25 13:39:05 DEBUG: Player State: State.Playing
2019-01-25 13:39:05 DEBUG: Started play.
2019-01-25 13:39:06 DEBUG: Player State: State.Ended
2019-01-25 13:39:06 DEBUG: Finished play.
2019-01-25 13:39:06 DEBUG: Recording: Setting up
2019-01-25 13:39:06 DEBUG: Recording: Start
2019-01-25 13:39:06 DEBUG: Starting new HTTPS connection (1): access-alexa-na.amazon.com:443
2019-01-25 13:39:06 DEBUG: Start sending speech to Alexa Voice Service
2019-01-25 13:39:12 DEBUG: Recording: End
2019-01-25 13:39:12 DEBUG: Finished sending speech to Alexa Voice Service
2019-01-25 13:39:14 DEBUG: Processing Request Response...
2019-01-25 13:39:14 DEBUG: JSON String Returned: {
  "messageBody": {
    "directives": [
      {
        "name": "SetMute",
        "payload": {
          "mute": false
        },
        "namespace": "Speaker"
      },
      {
        "name": "speak",
        "payload": {
          "audioContent": "cid:ValidatedSpeakDirective_amzn1.ask.skill.73fc6ee6-448d-4844-94ad-dda4905095dc_a1aa6845-f9f8-46b5-bc3a-b3e49c2daf4e_155980694",
          "contentIdentifier": "amzn1.as-ct.v1.ThirdPartySdkSpeechlet#ACRI#ValidatedSpeakDirective_amzn1.ask.skill.73fc6ee6-448d-4844-94ad-dda4905095dc_a1aa6845-f9f8-46b5-bc3a-b3e49c2daf4e"
        },
        "namespace": "SpeechSynthesizer"
      },
      {
        "name": "ExpectSpeech",
        "payload": {
          "initiator": {
            "type": "EXPECT_SPEECH_PROMPT"
          },
          "timeoutInMilliseconds": 8000
        },
        "namespace": "SpeechRecognizer"
      }
    ]
  },
  "messageHeader": {}
}
2019-01-25 13:39:14 DEBUG: Stopping audio play
2019-01-25 13:39:14 DEBUG: Playing audio: file:///tmp/AlexaPi-runtime-ieoia7y1/70b6056703d8f068343e1835c2598b83.mp3
2019-01-25 13:39:14 DEBUG: Player State: State.Opening
2019-01-25 13:39:14 DEBUG: Player State: State.Playing
2019-01-25 13:39:14 DEBUG: Started play.
2019-01-25 13:39:21 DEBUG: Player State: State.Ended
2019-01-25 13:39:21 DEBUG: Finished play.