Claude
64475dbf5e
Fix install.sh and setup.sh for macOS compatibility
...
install.sh:
- Add SCRIPT_DIR so .env is written to the repo root regardless of cwd
- Detect OS (macOS/Linux) and show platform-appropriate missing-tool hints
- Check for Xcode Command Line Tools on macOS (required by IDF install.sh)
- Handle pip3 absence by falling back to python3 -m pip
- Remove ninja from hard prerequisite list (IDF bundles its own)
setup.sh:
- Show macOS serial port hint (/dev/cu.usbserial-*) vs Linux (/dev/ttyUSB0)
- Show macOS SD card mount hint (/Volumes/) vs Linux (/media/$USER/)
https://claude.ai/code/session_01MhAnh68DPNnTjcKqjNYDmk
2026-06-13 07:34:36 +00:00
Claude
76b02b840c
Add install.sh, setup.sh, and update README
...
install.sh: install ESP-IDF v5.2 + ESP-ADF v2.7, detect existing env,
write .env file with IDF_PATH/ADF_PATH
setup.sh: prompt for WiFi creds, write sdkconfig.defaults, build,
optionally flash and prepare SD card
README: rewrite to reflect current architecture (NFC URL streaming,
web UI, no arduino-esp32), add roadmap and quick start
https://claude.ai/code/session_01MhAnh68DPNnTjcKqjNYDmk
2026-06-13 07:10:28 +00:00
Claude
afbc0e5e23
Remove arduino-esp32 dependency, modernise WiFi and SPI compat
...
- Replace Arduino WiFi.h in Networking.cpp with native esp_wifi/esp_netif;
uses event-driven connect with FreeRTOS EventGroup and 30 s timeout
- Remove initArduino() / Arduino.h from main.cpp
- Remove deprecated arduino-esp32 submodule (was uninitialized and marked
deprecated since it was first added in Dec 2021)
- rc522.h: guard VSPI_HOST → SPI3_HOST for ESP-IDF 5.x compatibility
- WebInterface.cpp: drop redundant esp_wifi.h (esp_netif.h is sufficient)
- CMakeLists.txt: add esp_wifi + nvs_flash to REQUIRES
https://claude.ai/code/session_01MhAnh68DPNnTjcKqjNYDmk
2026-06-12 20:34:52 +00:00
Claude
4f9946bd17
Vendor esp-idf-rc522 as plain source instead of submodule
...
The library is modified (NDEF reading, cascade anticollision) so vendoring
it directly avoids needing push access to the upstream fork.
https://claude.ai/code/session_01MhAnh68DPNnTjcKqjNYDmk
2026-06-12 19:46:21 +00:00
Claude
bf9852c345
Implement full NFC-URL streaming architecture
...
- rc522: add NDEF URL reading via WUPA+cascade anticoll+SELECT+TLV parse
- AudioPlayer: route http:// URIs to esp_player_http_music_play()
- CacheManager: download URLs async to /sdcard/cache/{hash}.{ext}
- TagPlayerControl: NDEF URL → cache-or-stream; fallback to UID local mapping
- RFIDInterface: wire ndef_callback, expose combined uid+url callback
- WebInterface: add /api/info, /api/storage, /api/playback, /api/bluetooth
- BluetoothInterface: stub for A2DP speaker mode
- Networking: WiFi connect with 30s timeout instead of blocking forever
- main.cpp: re-enable WiFi + web server, fix init order, add CacheManager
- www/: full SPA — playback controls, device info, storage, BT pairing
- .gitmodules: switch rc522 submodule URL to HTTPS
https://claude.ai/code/session_01MhAnh68DPNnTjcKqjNYDmk
2026-06-12 19:44:54 +00:00
Simon Weidacher
98872d75df
Removes debug log.
2022-01-03 23:18:48 +01:00
Simon Weidacher
abb1711fcd
Implements pause/resume for one file.
2022-01-03 21:42:53 +01:00
Simon Weidacher
3200e25c65
Adds pictures.
2021-12-30 23:43:44 +01:00
Simon Weidacher
e8d776a9b1
Use arduino-esp32 as submodule. WARNING: this dependency is already
...
deprecated by now.
2021-12-30 23:27:11 +01:00
Simon Weidacher
6c4f2734e3
Changed the esp-idf-rc522 library to my own fork.
2021-12-30 23:24:31 +01:00
Simon Weidacher
6cf97b2c16
Adds a README.
2021-12-30 22:52:43 +01:00
Simon Weidacher
f24a5a8c15
Changes default volume.
2021-12-26 14:05:03 +01:00
Simon Weidacher
80321e8c6a
Adds play/pause by tag support.
2021-12-26 14:05:03 +01:00
Simon Weidacher
5007de4456
Play a configured file when rfid-tag is placed on the reader.
2021-12-26 14:05:03 +01:00
Simon Weidacher
dffa2e6205
Start rfid after the audioplayer to make the rfid callbacks work.
...
This might bread events from the audio-hardware.
2021-12-26 14:05:03 +01:00
Simon Weidacher
93cced767f
Temp.
2021-12-26 14:05:03 +01:00
Simon Weidacher
13bd2051ad
SDCard music player from dueros example.
2021-12-26 14:05:02 +01:00
Simon Weidacher
aef06f09a3
Cleanup.
2021-12-26 14:05:02 +01:00
Simon Weidacher
8751fa5243
Enable the refresh button for the rfidId.
2021-12-26 14:05:02 +01:00
Simon Weidacher
7398e7d604
Provide last read rfid-id via webinterface.
2021-12-26 14:05:02 +01:00
Simon Weidacher
20412bbd9d
Cleanup main a little.
2021-12-26 14:05:02 +01:00
Simon Weidacher
663cabf165
Adds basic web-page stub.
2021-12-26 14:05:02 +01:00
Simon Weidacher
ad2499506a
Cleanup WebInterface and make RFIDInterface reachable.
2021-12-26 14:05:02 +01:00
Simon Weidacher
1788c9e5aa
Adds rfid example code.
2021-12-26 14:05:02 +01:00
Simon Weidacher
68f1427155
Makes WebInterface working.
2021-12-26 14:05:02 +01:00
Simon Weidacher
e61c765fbc
Removes obsolete webserver libs.
2021-12-26 14:05:02 +01:00
Simon Weidacher
d33ad01d6d
Adds RFID module library.
2021-12-26 14:05:02 +01:00
Simon Weidacher
da8e72b5e3
Adds esp32 docs to the repo as the espressif server is super-slow
...
sometimes.
2021-12-26 14:05:02 +01:00
Simon Weidacher
8ad27cfc59
Adds vscode-workspace files to gitignore.
2021-12-26 14:05:02 +01:00
Simon Weidacher
45785517e5
Adds folder to be served from SD.
2021-12-26 14:05:02 +01:00
Simon Weidacher
b110a28d20
Extracts networking.
2021-12-26 14:05:02 +01:00
Simon Weidacher
ebb6ec68c2
First working externalized server.
2021-12-26 14:05:02 +01:00
Simon Weidacher
f189d35932
Initial commit.
2021-12-26 14:04:25 +01:00