esphome / feature-requests

ESPHome Feature Request Tracker

Home Page:https://esphome.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WS32-ETH01 - VoiceAssistant

unknown1818 opened this issue · 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

Wt32-ETH01 ???

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

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