Skip to content

Releases: lux4rd0/kidde-collector

v2024.10.00

18 Oct 23:10
732b418
Compare
Choose a tag to compare

Key Changes

  1. Code Refactoring:

    • The main kidde_collector.py file has been split into separate modules for better organization:
      • kidde_collector.py
      • kidde_api.py
      • influxdb_writer.py
      • config.py
  2. Timeouts:

    • Added configurable timeouts for API requests:
      • REQUEST_TIMEOUT (default: 10 seconds)
      • CONNECTION_TIMEOUT (default: 5 seconds)
    • These can be set via environment variables.
  3. Updated Python Modules:

    • Updated dependencies to the latest versions:
      • aiohttp==3.10.10
      • influxdb_client==1.46.0
  4. Updated Docker Base Image:

    • Switched to a new Docker base image: python:3.12.6-slim for improved performance and security.