Skip to content

Features

Dave Schmid edited this page Nov 22, 2024 · 2 revisions
  • Real-Time Data Collection:

    • Collects data from Qingping sensors via MQTT with low latency.
  • Sensor Data Monitoring:

    • Captures and processes the following metrics:
      • Temperature: Monitors ambient temperature.
      • Humidity: Tracks environmental humidity levels.
      • CO2 Levels: Measures carbon dioxide concentration.
      • PM2.5 and PM10: Tracks fine particulate matter in the air.
      • Battery Level: Reports the device’s battery status.
  • Diagnostic Data Collection:

    • Retrieves detailed diagnostic information for devices, including:
      • WiFi Signal Strength: Monitors the strength of the device's WiFi connection.
      • WiFi Channel: Tracks the channel used by the connected WiFi network.
      • WiFi Access Point Details: Includes AP name and MAC address.
      • Software and Hardware Versions: Logs the device firmware and hardware details.
      • Timezone Settings: Captures the configured timezone for the device.
  • Interval Management:

    • Supports dynamic device registration upon receiving the first message.
    • Configurable collection and reporting intervals with MQTT commands.
  • Robust Error Handling:

    • Handles missing or invalid data gracefully with detailed logging.
    • Implements reconnection logic with exponential backoff for MQTT.
  • Flexible Configuration:

    • Environment-based configuration for all key parameters.
    • Supports adjustable logging levels (DEBUG, INFO, etc.).
    • Option to use the current time instead of timestamps in the payload.
  • Secure and Modern MQTT:

    • Built on MQTT v5 protocol with support for TLS to secure communications.
    • Clean session and keepalive support for reliable connections.
  • Efficient Data Storage:

    • Stores data in InfluxDB, enabling time-series analysis and visualization.
    • Supports batched writes to optimize performance and reduce overhead.
  • Extensible and Configurable:

    • Customizable flags for advanced features such as:
      • Using current time instead of payload timestamps.
      • Automatically setting device intervals upon detection.
    • Fully supports additional data points and new sensors with minimal changes.
Clone this wiki locally