Hi, new to rhasspy and have hit a bit of a brick wall.
Fresh docker image installed on top of a fresh raspbian (rpi3) with a webcam as mic (detected, shown as ‘working’ on a test). Audio stats are showing constantly shifting values which spike when I speak into the mic.
Testing on the home tab, hit “Wake up”, try one of the default sentences (“what time is it”), no dice and when attempting to download the recorded wav it’s presenting as a zero length recording (no speakers plugged in at the moment)
Any bright ideas on the stupid mistake I’ve made?
Update: It’s now recording (though I can’t see that I’ve made any relevant changes, but that’s the joy of computers), but timing out with 30s of recording and not being able to map my voice to the sentence / intent.
Rhasspy : 2.5.11
Debian : 11.6
Docker working nicely, it all comes back into service after a rpi level reboot
Log file from the test
[ERROR:2023-02-12 10:43:03,821] rhasspyserver_hermes:
Traceback (most recent call last):
File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/quart/app.py", line 1821, in full_dispatch_request
result = await self.dispatch_request(request_context)
File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request
return await handler(**request_.view_args)
File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__main__.py", line 943, in api_listen_for_command
async for response in core.publish_wait(handle_intent(), [], message_types):
File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__init__.py", line 995, in publish_wait
result_awaitable, timeout=timeout_seconds
File "/usr/lib/python3.7/asyncio/tasks.py", line 423, in wait_for
raise futures.TimeoutError()
concurrent.futures._base.TimeoutError
[DEBUG:2023-02-12 10:42:33,816] rhasspyserver_hermes: Waiting for intent (session_id=None)
[DEBUG:2023-02-12 10:42:33,813] rhasspyserver_hermes: <- HotwordDetected(model_id='default', model_version='', model_type='personal', current_sensitivity=1.0, site_id='default', session_id=None, send_audio_captured=None, lang=None, custom_entities=None)
[DEBUG:2023-02-12 10:42:33,803] rhasspyserver_hermes: Publishing 199 bytes(s) to hermes/hotword/default/detected
[DEBUG:2023-02-12 10:42:33,802] rhasspyserver_hermes: -> HotwordDetected(model_id='default', model_version='', model_type='personal', current_sensitivity=1.0, site_id='default', session_id=None, send_audio_captured=None, lang=None, custom_entities=None)
root@943d6a222a75:/# arecord -l
**** List of CAPTURE Hardware Devices ****
card 2: Camera [HD Web Camera], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
root@943d6a222a75:/# arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
usbstream:CARD=Headphones
bcm2835 Headphones
USB Stream Output
usbstream:CARD=vc4hdmi
vc4-hdmi
USB Stream Output
default:CARD=Camera
HD Web Camera, USB Audio
Default Audio Device
sysdefault:CARD=Camera
HD Web Camera, USB Audio
Default Audio Device
front:CARD=Camera,DEV=0
HD Web Camera, USB Audio
Front speakers
surround21:CARD=Camera,DEV=0
HD Web Camera, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Camera,DEV=0
HD Web Camera, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Camera,DEV=0
HD Web Camera, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Camera,DEV=0
HD Web Camera, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Camera,DEV=0
HD Web Camera, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Camera,DEV=0
HD Web Camera, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Camera,DEV=0
HD Web Camera, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Camera,DEV=0
HD Web Camera, USB Audio
Direct sample mixing device
dsnoop:CARD=Camera,DEV=0
HD Web Camera, USB Audio
Direct sample snooping device
hw:CARD=Camera,DEV=0
HD Web Camera, USB Audio
Direct hardware device without any conversions
plughw:CARD=Camera,DEV=0
HD Web Camera, USB Audio
Hardware device with all software conversions
usbstream:CARD=Camera
HD Web Camera
USB Stream Output