Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/klein0r/esp32-smarthome-center
ESP32 Smart home center
https://github.com/klein0r/esp32-smarthome-center
audio esp32 esp32-a1s smart-home
Last synced: 4 months ago
JSON representation
ESP32 Smart home center
- Host: GitHub
- URL: https://github.com/klein0r/esp32-smarthome-center
- Owner: klein0r
- Created: 2022-07-15T13:30:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T09:44:48.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T12:41:41.562Z (9 months ago)
- Topics: audio, esp32, esp32-a1s, smart-home
- Language: C++
- Homepage: https://haus-automatisierung.com
- Size: 206 KB
- Stars: 12
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ESP32 SmartHome Center
## How to start
1. ``cp ./credentials.h.dist ./src/credentials.h``
2. Modify ``./src/credentials.h``
3. Build and upload## Hardware
Based on [ESP32-A1S-AudioKit](https://docs.ai-thinker.com/en/esp32-audio-kit)
- [ESP32-D0WD / ESP32-A1S](https://github.com/Ai-Thinker-Open/ESP32-A1S-AudioKit)
```
esptool.py v4.1
Serial port /dev/cu.usbserial-0001
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting.....
Detecting chip type... ESP32
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: a4:e5:7c:e9:30:70
Uploading stub...
Running stub...
Stub running...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: a4:e5:7c:e9:30:70
Hard resetting via RTS pin...
```## Jumper
- Jumper positions are: OFF,ON,ON,OFF,OFF
## SD-Card
- Format as exFAT
- Copy mp3 files and configuration file to the SD-CardRequirements: 64 kbps / 24kHz / Mono (you can convert your files by using https://onlineaudioconverter.com)
## Dependencies
- https://github.com/pschatzmann/arduino-audio-tools/tree/v0.9.4
- https://github.com/pschatzmann/arduino-audiokit/tree/v0.6.3
- https://github.com/pschatzmann/arduino-libhelix/tree/v0.8 (mp3 decoder)
- https://github.com/pschatzmann/arduino-libmad/tree/v0.7 (mp3 decoder)
- https://github.com/greiman/SdFat/tree/2.2.0
- https://github.com/knolleary/pubsubclient/tree/v2.8