I tried to use ESP32 with INMP441 MEMS microphone as Voice Assistant
But always get an error “Error: stt-no-text-recognized - No text recognized”
log
14:51:03 [D] [binary_sensor:036]
'Push': Sending state ON
14:51:03 [D] [voice_assistant:065]
Requesting start...
14:51:03 [D] [voice_assistant:045]
Starting...
14:51:03 [D] [voice_assistant:083]
Assist Pipeline running
14:51:03 [D] [switch:012]
'LED RED' Turning ON.
14:51:03 [D] [switch:055]
'LED RED': Sending state ON
14:51:05 [D] [binary_sensor:036]
'Push': Sending state OFF
14:51:05 [D] [voice_assistant:073]
Signaling stop...
14:51:07 [D] [sensor:110]
'sensor_wifi_signal': Sending state -54.00000 dBm with 0 decimals of accuracy
14:51:09 [D] [switch:016]
'LED RED' Turning OFF.
14:51:09 [D] [switch:055]
'LED RED': Sending state OFF
14:51:13 [D] [sensor:110]
'ESP32 WiFi Level': Sending state 92.00000 % with 0 decimals of accuracy
14:51:15 [D] [internal_temperature:048]
Ignoring invalid temperature (success=0, value=53.3)
14:51:17 [E] [voice_assistant:145]
Error: stt-no-text-recognized - No text recognized
14:51:17 [D] [switch:012]
'LED 1' Turning ON.
14:51:17 [D] [switch:055]
'LED 1': Sending state ON
yaml
#--------------------------------------------------------
i2s_audio:
i2s_lrclk_pin: GPIO15 #WS
i2s_bclk_pin: GPIO02 #SCK
microphone:
- platform: i2s_audio
i2s_din_pin: GPIO04 #SD
id: Mic
voice_assistant:
microphone: Mic
id: VA
on_start:
- switch.turn_on: RED
on_end:
- switch.turn_off: RED
on_stt_end:
- switch.turn_on: GREEN
- delay: 5s
- switch.turn_off: GREEN
on_tts_start:
- switch.turn_on: BLUE
on_tts_end:
- switch.turn_off: BLUE
on_error:
- switch.turn_on: LED_1
- delay: 10s
- switch.turn_off: LED_1
binary_sensor:
- platform: gpio
pin: "GPIO05"
name: "Push"
filters:
- delayed_on_off: 500ms
on_press:
- voice_assistant.start:
on_release:
- voice_assistant.stop:
switch:
- platform: gpio
pin: GPIO32
id: RED
name: "LED RED"
- platform: gpio
pin: GPIO33
id: GREEN
name: "LED GREEN"
- platform: gpio
pin: GPIO25
id: BLUE
name: "LED BLUE"
- platform: gpio
pin: GPIO26
id: LED_1
name: "LED 1"
- platform: gpio
pin: GPIO27
id: LED_2
name: "LED 2"
- platform: gpio
pin: GPIO14
id: LED_3
name: "LED 3"
- platform: gpio
pin: GPIO12
id: LED_4
name: "LED 4"
- platform: gpio
pin: GPIO13
id: LED_5
name: "LED 5"