{"schema_version":1,"id":"rongyishuaige7-esp32-smart-alarm-clock","name":{"en":"Smart Alarm Clock","zh":"带 OLED、温湿度、人体感应和局域网控制的 ESP32 智能闹钟原型。"},"summary":{"en":"基于 ESP32、OLED、DHT11、PIR、MAX98357A 和 Flutter 的局域网智能闹钟教学原型。","zh":"带 OLED、温湿度、人体感应和局域网控制的 ESP32 智能闹钟原型。"},"purpose":"smart alarm clock","tier":"community","author":"rongyishuaige7","repository":"https://github.com/rongyishuaige7/esp32-smart-alarm-clock","license":"MIT","shape":"matrix","scenes":["art"],"boards":[{"name":"ESP32"}],"motion":false,"hardware":{"en":"ESP32-class board. Verify the exact board revision, display, power source and wiring in the upstream build guide.","zh":"ESP32 类开发板；请在上游构建文档中核对具体板型、屏幕、供电与接线。"},"notes":{"en":"A teaching-grade LAN alarm clock: an OLED shows time and room conditions, a DHT11 reads temperature and humidity, a PIR watches for movement, a physical button silences the ring, and the sound comes from a MAX98357A playing PCM files stored in SPIFFS, with NTP keeping time. A Flutter app talks to it over plain HTTP REST to list, add, edit and delete alarms, read status and send a stop command; there is no authentication or TLS, and the notes restrict it to an isolated trusted LAN. No ringtone ships with the code because redistribution rights for the original WAVs could not be confirmed, so it still builds but stays silent.","zh":"课程作业式的局域网闹钟：一块 OLED 显示时间和温湿度，DHT11 测温、PIR 看人有没有动静、实体按键按下去就停闹，响铃交给 MAX98357A 和 SPIFFS 里的 PCM 文件，时间靠 NTP 校准。手机端是 Flutter 写的 App，通过普通 HTTP REST 增删改闹钟、读状态、发停止指令，没有认证也没有 TLS，只适合放在可信的隔离局域网。不带现成铃声，因为原始 WAV 的再分发许可没法逐个确认；缺了音频文件仍能编译，只是到点不会响，适合先拿它把局域网链路跑通。"},"readme_excerpts":[{"label":"Audio","quote":"MAX98357A BCLK / WS / DIN | GPIO26 / GPIO25 / GPIO33 · I²S"},{"label":"Build","quote":"PlatformIO Core 6.1.19、Espressif32 6.13.0"}],"images":{"type":"gallery","primary":"https://esp32gallery.com/previews/rongyishuaige7-esp32-smart-alarm-clock/poster.jpg","poster":"https://esp32gallery.com/previews/rongyishuaige7-esp32-smart-alarm-clock/poster.jpg","sources":["https://esp32gallery.com/previews/rongyishuaige7-esp32-smart-alarm-clock/frames/view-001.jpg"]},"media_credit":{"status":"upstream-project-media","creator":"rongyishuaige7","source":"https://github.com/rongyishuaige7/esp32-smart-alarm-clock/tree/b24cf2c2b50e5a3104f68cf7c36987efdecf190a","note":{"en":"Screenshots from the upstream README. Code and firmware were not executed. License notices are included.","zh":"来自上游 README 的真实截图；未运行代码或固件，预览包保留许可证声明。"},"reviewed":"2026-10-20"},"preview":{"browser_playable":false,"kind":"media_gallery","label":{"en":"Project screenshots","zh":"项目截图"},"width":960,"height":720,"shape":"square","source_commit":"b24cf2c2b50e5a3104f68cf7c36987efdecf190a"},"stars":1,"pushed_at":"2026-10-15T04:44:22Z","added_at":"2026-10-20T14:44:01+08:00","urls":{"html":"https://esp32gallery.com/projects/rongyishuaige7-esp32-smart-alarm-clock/","html_zh":"https://esp32gallery.com/zh/projects/rongyishuaige7-esp32-smart-alarm-clock/","json":"https://esp32gallery.com/data/catalog/projects/rongyishuaige7-esp32-smart-alarm-clock.json","markdown":"https://esp32gallery.com/data/catalog/projects/rongyishuaige7-esp32-smart-alarm-clock.md"}}
