feature-requests icon indicating copy to clipboard operation
feature-requests copied to clipboard

WS32-ETH01 - VoiceAssistant

Open unknown1818 opened this issue 9 months ago • 2 comments

Hi,

I have WS32-ETH01 board im trying to use it as VoiceAssistant throught PCM5102 DAC This board support i2s audio? Its working on esp32-wroom but not o eth01 module, the leds on eth port turn off and on for 2 sec when press play

My config:

i2s_audio:
  # DAC
- id: i2s_dac
  i2s_bclk_pin: GPIO15   #SCK Clock           -> BCK Master clock PCM5102
  i2s_lrclk_pin: GPIO14  #WS 0=Left 1=Right   -> LCK

  # Mikrofon
- id: i2s_microphone
  i2s_bclk_pin: GPIO4    #SCK Clock
  i2s_lrclk_pin: GPIO2   #WS 0=Left 1=Right


# Glosnik
media_player:
  - platform: i2s_audio
    id: glosnik
    i2s_audio_id: i2s_dac
    name: ${speaker_1}
    dac_type: external
    i2s_dout_pin: GPIO12  #SD Data -> DIN
    mode: mono
    on_pause:
      - media_player.stop

# Mikrofon
microphone:
  - platform: i2s_audio
    id: mikrofon
    i2s_audio_id: i2s_microphone
    adc_type: external
    i2s_din_pin: GPIO35   #SD Data
    pdm: false


voice_assistant:
  id: va
  microphone: mikrofon
  media_player: glosnik

unknown1818 avatar May 12 '24 12:05 unknown1818

Wt32-ETH01 ???

cocorne avatar May 12 '24 19:05 cocorne

Yeah... How nice it would be to have a wired option too.

nagyrobi avatar May 12 '24 19:05 nagyrobi

I think its not supported on that board. Its better to use ESP32-WROOM and LAN8720 ETH Board I will post tomorrow code for that combo. I want to use always listen voiceassistant with wake word on wifi is not good idea cause its using too much wifi

unknown1818 avatar May 13 '24 18:05 unknown1818

Any updates!?? i am looking for similar concept.

Please update me!

jhony251 avatar Sep 12 '24 15:09 jhony251