How luisfelipe18/wireless-doorbell works
• Transmitter Device (Doorbell ESP-01S): Represented as a microcontroller that connects a push button to trigger the doorbell. It is configured to send a “ring” message via MQTT.
• Receiver Devices (Multiple ESP-01S units): These are connected to buzzers for sound alerts and provide a local web interface for log monitoring and status display.
• WiFi Router: This acts as the network medium interconnecting the doorbell, receivers, and the MQTT broker.
• MQTT Broker (e.g., Mosquitto): This server component handles the message distribution between the transmitter and the various receivers.
Relationships and Data Flow
• WiFi Router as an intermediary between the ESP8266 devices and the MQTT Broker. Illustrate how the devices connect wirelessly.
Architectural Patterns & Key Concepts
• Distributed IoT Architecture: Emphasize that the architecture consists of multiple, geographically separated IoT devices that communicate through a centralized messaging broker.
• Real-Time Communication: Represent the MQTT messaging flow and web interface refresh as key real-time elements.
• Reliability Features: Note aspects like automatic reconnection (for both WiFi and MQTT) and health monitoring as indicated in the README.
• Modular Device Roles: Clearly distinguish the doorbell (transmitter) from the receivers, which include additional functionality for monitoring.
Relevant Technologies & Components
• ESP8266 microcontrollers (ESP-01S)
• MQTT protocol (via the PubSubClient library within the Arduino sketch)
• WiFi connectivity (managed by ESP8266WiFi library)
• Web server functionality (through ESP8266WebServer)
• mDNS for local hostname resolution
• Mosquitto MQTT Broker on the server or Raspberry Pi
• CircularBuffer for logging in resources