Was editing that as you wrote. fixed =)
I to use .yaml most of the time.
But Hey the Dev,s made it easy for anyone to add complex automation’s without knowing Yaml at all. might as well use it once in a wile.
Missing an ‘e’.
Fixed. i think.
I made ESP32 Audio Kit (Ai Thinker ESP32-A1S) working with ESPHome I2S Media Player.
Model: ESP32-A1S 2974 (DAC: ES8388)
Here is the ESPHome Yaml: ESP32 Audio Kit (Ai Thinker ESP32-A1S) - ESPHome I2S Media Player - Pastebin.com
See it here: [ESPHome] ESP32-Audio-Kit (ESP32-A1S) - YouTube
esphome:
name: esp32-audio-kit
esp32:
board: esp-wrover-kit
framework:
type: arduino
logger:
api:
password: "api-password-here"
ota:
password: "ota-password-here"
wifi:
ssid: "your-ssid-here"
password: "your-ssid-password-here"
ap:
ssid: "esp32-audio-kit Fallback Hotspot"
password: "fallback-hotspot-password-here"
captive_portal:
i2c:
sda: GPIO33
scl: GPIO32
external_components:
- source: github://pr#3552
components: [es8388]
refresh: 0s
es8388:
media_player:
- platform: i2s_audio
name: "ESP32 Audio Kit"
dac_type: external
i2s_lrclk_pin: GPIO25
i2s_dout_pin: GPIO26
i2s_bclk_pin: GPIO27
mode: stereo
mute_pin:
number: GPIO21
inverted: true
switch:
- platform: gpio
pin: GPIO21
name: "AMP Switch"
restore_mode: ALWAYS_ON
binary_sensor:
- platform: gpio
pin:
number: GPIO39
inverted: true
mode:
input: true
name: "Jack Status"
light:
- platform: binary
name: "Test LED 1"
output: light_output_1
- platform: binary
name: "Test LED 2"
output: light_output_2
output:
- id: light_output_1
platform: gpio
pin: GPIO22
inverted: true
- id: light_output_2
platform: gpio
pin: GPIO19
inverted: true
Nice, This works well
Although, I’m not sure that I have ES8388 My board marking says ESP32 Audio Kit V2.2 A210
.
I’m also able to get the Keys 1-3 working, and 4-6 is making a lot of noise! After taking a look, I see those Keys are missing capacitors compare to keys 1-3
Anyone interested, I Added these as binary_sensors:
- platform: gpio
pin:
number: GPIO036
inverted: true
name: "Key 1"
filters:
- delayed_off: 10ms
- platform: gpio
pin:
number: GPIO013
inverted: true
name: "Key 2"
filters:
- delayed_off: 10ms
- platform: gpio
pin:
number: GPIO019
inverted: true
name: "Key 3"
filters:
- delayed_off: 10ms
just bough an ESP32 Audio Kit V2.2 -for use as a notifyer /smart music player
and i am wondering how to flash squeezelite-esp32 firmware onto it
wondering if any one can tell uss what we can use to flash the firmware
i manged to get the firmware.bin files for the board(squeezelite-esp32-ESP32-A1S.32.699.master)
- just dont know what i can use to flash it /how
Does anyone know if that squeezelite-esp32 image can do automatic latency adjust like snapcast as there is a snapcast-esp but doesn’t seem complete as lacks certain codecs, but the main problem supposedly was the memory for the buffering even with 512k but maybe it just a lacked bit of support as the GitHub - jorgenkraghjakobsen/snapclient: WIP snapclient on ESP32.
Hence I just got 2x good quality ebay bookshelf speakers 75watt, 2x sure-electronics 100 watt amps & 2x ES9018K2M ES9018 I2S Input Decoding Board but mainly because I had 2x RaspberryPiZero2.
I looked at squeezelite-esp and it just didn’t seem to have the jitter or latency compensation methods to match snapcast and is that correct as still to see any documentation or code?
So a couple of questions really firstly the one about squeezelite-esp and a 2nd has anyone tried GitHub - jorgenkraghjakobsen/snapclient: WIP snapclient on ESP32 as didn’t, as feel far more confdent on the Pi and Python as can hack a bit of C but not much more.
tnx -wil give it a try as soon as my board arives
Ive got it flashed with squeezebox .but i am not getting any output to my speaker . through a 3.5 m audio jack
cant get any sound to it with lms server -for testing
im i missing somthing -
What is the version of the firmware you have flashed? If you have squeezelite-esp32-master-v4.3-I2S-4MFlash-32-1.1034.bin you can choose a preset acording to your variant:
If not you can flash it ota by the updates tab and then upload the bin with the Local File option.
Let me know if you need more help.
im currently runing the fw: I2S-4MFlash.16.1023.master-cmak , mode: Squeezelite-ESP32
and flashed it by using https://github.com/balloob/squeezelite-esp32-install
and selecting the i2s option
i have conected it -to my wifi -and have conected the board to the lms desktop app server
also have speaker with 3.5 jack pluged into the board
Can you dm me to avoid spamming this thread?
I have the same board and could use some help also…
Very interested and watching.
What amplifier you use ?
How loud is your ESP32-A1S 2974 ES8388?
I think my DAC is not working. But I dont know why.
Its very loud with the built in amp
See it here: [ESPHome] ESP32-Audio-Kit (ESP32-A1S) - YouTube
okay, that show me that it should work generaly, but my problem with my ESP32-A1S 2974 ES8388 is that I want to use it as a squeezebox-client.
Any ideas what could be wrong in my config?
Is there something I can do or I need to do?
In the bottom line of my device is this written:
fw: Muse.16.1036.master-cmake, mode: Muse
Is this the right firmware for my ESP32-A1S ES8388?
Here is my setup:
dac_config: model=ES8388,bck=27,ws=25,do=26,sda=33,scl=32,i2c= 16
set_GPIO: 21=amp,22=green:0,39=jack:0
stereo speaker connecth through headphone-jack.
For install I used the https://raspiaudio.github.io/ webinstaller and choose MUSE.