Hi guys!
I’m new at Home Assistant and want replace my Alexa with it. So I bought an ODROID N2+ and Sandberg USB Speakerphone Pro (Sandberg USB Speakerphone Pro (126-17)), configed all and installed Ada and Genie.
When I click on the mic in the right corner on the dashboard, Genie saying any time “Home Assistant didn’t hear anything”. On the config pages at audio I selected “USB Audio Analogue Stereo”, but I also get no TTS when I typed in a text.
Here the audio config:
[core-ssh ~]$ ha audio info
audio:
application:
- addon: ""
index: 0
mute: false
name: Echo-Cancel Sink Stream
stream_index: 1
stream_type: output
volume: 1
- addon: ""
index: 0
mute: false
name: Echo-Cancel Source Stream
stream_index: 1
stream_type: input
volume: 1
- addon: 88544b92092430bc5d3fbbffc12a2f04
index: 6
mute: false
name: Genie
stream_index: 3
stream_type: input
volume: 1
card:
- driver: module-alsa-card.c
index: 0
name: alsa_card.usb-Generic_USB_Audio_201405280001-00
profiles:
- active: false
description: Analog Stereo Input
name: input:analog-stereo
- active: false
description: Digital Stereo (IEC958) Input
name: input:iec958-stereo
- active: false
description: Analog Stereo Output
name: output:analog-stereo
- active: true
description: Analog Stereo Duplex
name: output:analog-stereo+input:analog-stereo
- active: false
description: Analog Stereo Output + Digital Stereo (IEC958) Input
name: output:analog-stereo+input:iec958-stereo
- active: false
description: Digital Stereo (IEC958) Output
name: output:iec958-stereo
- active: false
description: Digital Stereo (IEC958) Output + Analog Stereo Input
name: output:iec958-stereo+input:analog-stereo
- active: false
description: Digital Stereo Duplex (IEC958)
name: output:iec958-stereo+input:iec958-stereo
- active: false
description: "Off"
name: "off"
- driver: module-alsa-card.c
index: 1
name: alsa_card.platform-sound
profiles:
- active: true
description: Analog Stereo Output
name: output:analog-stereo
- active: false
description: Digital Stereo (HDMI) Output
name: output:hdmi-stereo
- active: false
description: Digital Surround 5.1 (HDMI) Output
name: output:hdmi-surround
- active: false
description: Digital Surround 7.1 (HDMI) Output
name: output:hdmi-surround71
- active: false
description: "Off"
name: "off"
input:
- applications:
- addon: ""
index: 0
mute: false
name: Echo-Cancel Source Stream
stream_index: 1
stream_type: input
volume: 1
card: 0
default: true
description: USB Audio Analog Stereo
index: 1
mute: false
name: alsa_input.usb-Generic_USB_Audio_201405280001-00.analog-stereo
volume: 0.2764892578125
- applications:
- addon: 88544b92092430bc5d3fbbffc12a2f04
index: 6
mute: false
name: Genie
stream_index: 3
stream_type: input
volume: 1
card: null
default: false
description: USB Audio Analog Stereo (echo cancelled with Built-in Audio Analog
Stereo)
index: 3
mute: false
name: echosrc
volume: 0.2764892578125
output:
- applications: []
card: 0
default: false
description: USB Audio Analog Stereo
index: 0
mute: false
name: alsa_output.usb-Generic_USB_Audio_201405280001-00.analog-stereo
volume: 0.1999969482421875
- applications:
- addon: ""
index: 0
mute: false
name: Echo-Cancel Sink Stream
stream_index: 1
stream_type: output
volume: 1
card: 1
default: true
description: Built-in Audio Analog Stereo
index: 1
mute: false
name: alsa_output.platform-sound.analog-stereo
volume: 0.1999969482421875
- applications: []
card: null
default: false
description: Built-in Audio Analog Stereo (echo cancelled with USB Audio Analog
Stereo)
index: 2
mute: false
name: echosink
volume: 0.1999969482421875
host: 172.30.32.4
update_available: false
version: 2022.05.0
version_latest: 2022.05.0
Some Ideas?
Edit #2:
???
Edit #3:
genie::state::State-Message: 18:18:35.338: ENTER state Listening
genie::AudioInput-Message: 18:18:35.338: [AudioInput] -> State::WOKE
genie::state::Listening-Message: 18:18:35.342: Stopping audio player...
genie::state::Listening-Message: 18:18:35.342: Playing WAKE sound...
** Message: 18:18:35.343: Queueing file:///usr/local/lib/genie-client/assets/match.oga for playback
genie::state::Listening-Message: 18:18:35.344: Connecting STT...
genie::state::State-Message: 18:18:35.344: Received PlayerStreamEnter with type=1 ref_id=-1, ignoring.
genie::state::State-Message: 18:18:35.348: Received PlayerStreamEnter with type=1 ref_id=-1, ignoring.
genie::state::State-Message: 18:18:35.349: Received PlayerStreamEnter with type=1 ref_id=-1, ignoring.
genie::state::State-Message: 18:18:35.353: Received PlayerStreamEnter with type=1 ref_id=-1, ignoring.
** Message: 18:18:36.417: End of stream
genie::state::State-Message: 18:18:36.422: Received PlayerStreamEnd with type=1 ref_id=-1, ignoring.
genie::AudioInput-Message: 18:18:37.432: [AudioInput] -> State::LISTENING
genie::conversation::Client-Message: 18:18:38.188: Sending: {"type":"ping"}
genie::AudioInput-Message: 18:18:38.196: [AudioInput] -> State::WAITING
genie::state::Listening-Message: 18:18:38.196: Handling InputDone...
** Message: 18:18:38.196: Queueing file:///usr/local/lib/genie-client/assets/match.oga for playback
** Message: 18:18:38.197: TRANSIT to Processing
genie::state::State-Message: 18:18:38.197: Spent 2859 milliseconds in state Listening
genie::state::State-Message: 18:18:38.197: ENTER state Processing
genie::state::State-Message: 18:18:38.198: Received PlayerStreamEnter with type=1 ref_id=-1, ignoring.
genie::state::State-Message: 18:18:38.200: Received PlayerStreamEnter with type=1 ref_id=-1, ignoring.
genie::state::State-Message: 18:18:38.202: Received PlayerStreamEnter with type=1 ref_id=-1, ignoring.
genie::state::State-Message: 18:18:38.205: Received PlayerStreamEnter with type=1 ref_id=-1, ignoring.
[18:18:38.744128] on_message (../src/stt.cpp:262): STT text: Hey Jeannie.What's the weather?
genie::STT-Message: 18:18:38.744: Mangled: What's the weather?
genie::conversation::Client-Message: 18:18:38.748: Sending: {"type":"command","text":"What's the weather?"}
genie::conversation::Client-Message: 18:18:38.752: Received message: {"type":"command","command":"What's the weather?","id":8}
Saving conversation state for main (107 characters)
Received assistant command What's the weather?
Initializing dialogue policy for devices: org.thingpedia.weather
Batched dataset request for org.thingpedia.weather
Loaded 1 devices
Loaded 22 templates
GPS location not available
Genie says: Sorry, I cannot find any location matching “What's the weather?”.
genie::conversation::Client-Message: 18:18:42.921: Received message: {"type":"text","text":"Sorry, I cannot find any location matching ?What's the weather??.","icon":null,"id":9}
genie::state::Processing-Message: 18:18:42.922: Received TextMessage, responding with text: Sorry, I cannot find any location matching ?What's the weather??.
** Message: 18:18:42.922: TRANSIT to Saying
genie::state::State-Message: 18:18:42.922: Spent 4724 milliseconds in state Processing
genie::state::State-Message: 18:18:42.922: ENTER state Saying
Saving conversation state for main (107 characters)
genie::conversation::Client-Message: 18:18:42.931: Received message: {"type":"askSpecial","ask":null,"context":{"code":["null"],"entities":{}}}
genie::state::Saying-Message: 18:18:42.931: Received empty AskSpecialMessage, round done.
** Message: 18:18:48.042: End of stream
** Message: 18:18:48.045: TRANSIT to Sleeping
genie::state::State-Message: 18:18:48.045: Spent 5123 milliseconds in state Saying
############# Processing Performance #################
genie::state::State-Message: 18:18:48.045: ENTER state Sleeping
STT: 546.745 ms ( 11%)
STT->Genie: 3.643 ms ( 0%)
Genie: 4173.987 ms ( 88%)
Genie->TTS: 0.186 ms ( 0%)
TTS: 0.641 ms ( 0%)
------------------------------------------------------
Total: 4725.000 ms (100%)
######################################################
Okay Genie is listening but there is no audio.
Edit #4:
As expected: Genie don’t want to play audio. BUT I tried VLC and the audio is working fine here! So it has to be an issue here.