π¬ PuffiMail - A Smart Mailbox Notifier¶
PuffiMail is a low-power smart mailbox detection device based on the XIAO ESP32-C3 and VL53L0X time-of-flight distance sensor.
It detects whether new mail has arrived in the mailbox and sends real-time updates via Wi-Fi using MQTT.
Seamlessly integrates with platforms like Home Assistant.
β¨ Key Features¶
- β‘ Ultra Low Power: Uses deep sleep mode to minimize energy consumption; wakes only on trigger or hourly timer.
- π Distance-Based Mail Detection: VL53L0X sensor detects objects with up to 2mm precision, suitable for most letters except postcards.
- π§ Smart Detection Algorithm: Baseline calibration with multiple sample filtering ensures stable and accurate results.
- π Battery Monitoring: Reads battery voltage and reports low-battery warnings via MQTT.
- π Web Configuration (AP Mode): Easily configure Wi-Fi and MQTT settings from a built-in multi-language web portal.
- π‘ MQTT Integration: Publishes mail status, distance, and battery info to MQTT broker; fully compatible with Home Assistant.
- π OTA Firmware Update: Upload
.bin
firmware through browserβno cable or external tools needed. - π Multilingual Interface: Built-in UI supports English, ζ₯ζ¬θͺ, and δΈζ.
π‘ Open Source¶
PuffiMail is an open-source project, licensed under the MIT License.
You are welcome to use, modify, or extend it in your own smart home ecosystem.
π GitHub Repository: https://github.com/puffilab/puffimail
Whether you're a maker, hobbyist, or just want a smarter mailbox, PuffiMail is your perfect entry into practical IoT.