How michalsternadel/zbx-esp-env works
Hardware Layer
• ESP8266 Microcontroller
• DHT11 Sensors (multiple, as the system supports multiple sensors)
• Physical connections (3.3V, GND, Data pins)
Software Components
• Main Application (zbx-esp-env.ino)
• Sensor Management (sensors.h)
• WiFi Configuration (wificonfig.h)
• Web Server (ESPAsyncWebServer)
External Systems
• Zabbix Monitoring Server
• Web Browsers (for direct access)
Use a Multi-Layer Approach
• Bottom Layer: Hardware components
• Middle Layer: Firmware/Software components
• Top Layer: External interfaces and systems
Specific Elements
a. Hardware Section:
• Multiple DHT11 sensors connected to it
• Pin connections
b. Software Section:
• Main application logic
• Sensor management module
• AsyncWebServer component
• WiFi configuration module
c. Interface Section:
• HTTP endpoints (/sensors, /discovery)
• Serial output interface
• Web interface
• JSON API
d. External Systems:
• Zabbix server with template integration
• Web browser access
Data Flow Indicators
• Sensor data collection flow
• HTTP request/response paths
• Zabbix monitoring flow
• Serial output path
Important Notes
• Supported sensor configurations
• WiFi connectivity requirements
• Auto-discovery capability
• Template integration points
• The IoT nature of the project
• Multiple interface options (Web, Serial, JSON API)
• Integration with Zabbix monitoring
• Scalability with multiple sensors
• Real-time data collection and presentation
• All connection types
• Component types
• Data flow directions
• Protocol indicators
Keep the abstraction level focused on system architecture while including enough detail to show the unique aspects of this environmental monitoring solution, particularly its integration with Zabbix and multiple interface options.