Hardware
- ESP32-S3 N16R8
- CJMCU-1334
Libraries
- ESP_IDF 5.4.2
- littlefs 1.20.1
- esp_audio_codec 2.3.0
- esp_audio_effects 1.1.0
Script create_littlefs.cmd for creating image and flashing data folder. (Uses mklittlefs.exe)
Config WiFi ./data/config.json
{
"wifi": {
"ssid": "SID",
"password": "Pass"
},
"ntp":{
"ntp_server": [
"pool.ntp.org",
"ntp.ix.ru",
"ntp0.ntp-servers.net"
],
"ntp_tz": "+0300"
}
}curl -X POST http://<ip>/api/playlist -H "Content-Type: application/json" -d "update"curl -X POST http://<ip>/api/channel -H "Content-Type: application/json" -d "18"curl -X POST http://<ip>/api/volume -H "Content-Type: application/json" -d "90"curl -X POST http://<ip>/api/mute -H "Content-Type: application/json" -d "1"curl -X POST http://<ip>/api/eq -H "Content-Type: application/json" -d "5"curl -X POST http://<ip>/api/player -H "Content-Type: application/json" -d "stop"