暂无描述

philippe44 89f15619c7 add BT display (still WIP) 5 年之前
.settings c85d2afbaf json button mapping config 5 年之前
build-scripts 26ecdf60d9 refactor services, increase max sockets - release 5 年之前
components 89f15619c7 add BT display (still WIP) 5 年之前
idf-patch c44c31f6d4 i2s ... 5 年之前
main 1fd31471a2 Display for AirPlay / Bluetooth (still WIP) 5 年之前
plugin 766d6972b1 display fixing 5 年之前
server_certs 53369475dc More OTA work 5 年之前
.cproject c85d2afbaf json button mapping config 5 年之前
.gitattributes a5b37a13c9 :confetti_ball: Added .gitattributes & .gitignore files 5 年之前
.gitignore c85d2afbaf json button mapping config 5 年之前
.gitmodules 6e7793a756 initial work on a wifi/http configuration module 5 年之前
.project be714988f1 Merge pull request #6 from philippe44/pr/4 5 年之前
CMakeLists.txt 07873a7710 Jenkins integration - Migrate to CMake 5 年之前
Dockerfile 6cf04a3a83 Merge branch 'master' into nvs_parameters 5 年之前
Makefile 47d06a8dc2 Merge branch 'Over_The_Air_Update' of 5 年之前
Makefile_std.mk 8aedca48a7 OTA Work in progress 5 年之前
README.md 61c3a1058c Update README.md 5 年之前
TODO 3304571312 add comments & and a TODO 5 年之前
alltags.txt c5fc6b8a81 nvs configuration fixes 5 年之前
github.pem 53369475dc More OTA work 5 年之前
makeBuildDocs.sh b1f234d460 Added in better build instructions. Added script for generating documentation and scripts to add to release zip. (#12) 5 年之前
non-ota-partitions.csv 372dcb1640 align non-ota build 5 年之前
partitions.csv e9ba659b4f Refactor configuration. needs new recovery image! -- release 5 年之前
repo.xml a51ff972ea repo update 5 年之前

README.md

Squeezelite-esp32

Supported Hardware

SqueezeAMP

Works with the SqueezeAMP see here and here. Add repository https://raw.githubusercontent.com/sle118/squeezelite-esp32/master/plugin/repo.xml to LMS if you want to have a display

Use the squeezelite-esp32-SqueezeAmp-sdkconfig.defaults configuration file.

ESP32-WROVER + I2S DAC

Squeezelite-esp32 requires esp32 chipset and 4MB PSRAM. ESP32-WROVER meets these requirements.
To get an audio output an I2S DAC can be used. Cheap PCM5102 I2S DACs work others may also work. PCM5012 DACs can be hooked up via:

I2S - WROVER
VCC - 3.3V
3.3V - 3.3V
GND - GND
FLT - GND
DMP - GND
SCL - GND
BCK - 26
DIN - 22
LCK - 25
FMT - GND
XMT - 3.3V

Use the squeezelite-esp32-I2S-4MFlash-sdkconfig.defaults configuration file.

Configuration

To access NVS, in the webUI, go to credits and select "shows nvs editor". Go into the NVS editor tab to change NFS parameters. In syntax description below <> means a value while [] describe optional parameters.

I2C

The NVS parameter "i2c_config" set the I2C's gpio needed to enable. Leave it blank to disable I2C usage. Note that on SqueezeAMP, port must be 1. Syntax is

sda=<gpio_num>,scl=<gpio_num>,port=0|1

Display

The NVS parameter "display_config" sets the parameters for an optional display. Syntax is

I2C|SPI,width=<pixels>,height=<pixels>[,address=<i2c_address>][,HFlip][,VFlip]
  • VFlip and HFlip are optional can be used to change display orientation

The NVS parameter "metadata_config" sets how metadata is displayed for AirPlay and Bluetooth. Syntax is

[format=<display_content>][,speed=<speed>]
  • 'speed' is the scrolling speed in ms (default is 33ms)

  • 'format' can contain free text and any of the 3 keywords %artist%, %album%, %title%. Using that format string, the keywords are replaced by their value to build the string to be displayed. Note that the plain text following a keyword that happens to be empty during playback of a track will be removed. For example, if you have set format=%artist% - %title% and there is no artist in the metadata then only