Skip to main content

No project description provided

Project description

py-air-control-exporter build-badge pypi-badge

Exports air quality metrics to Prometheus.

This exporter uses py-air-control to obtain data.


pip install py-air-control-exporter


py-air-control-exporter --host --protocol <http|coap|plain_coap>

This will serve metrics at

For more instructions run py-air-control-exporter --help.

You can make Prometheus scrape these with this scrape config:

  - job_name: "py_air_control"
      - targets: ["<the IP of your exporter host>:9896"]
          location: "bedroom"


  • Hours remaining to replace or clean filters are now exported as py_air_control_filter_hours gauges.


  • Default listening port and address are now displayed in the CLI help.
  • The exporter now counts sampling errors and exports this as a metric rather than crash the process.


  • Introduced the py-air-control-exporter command line tool.


  • Packaging fixes:
    • Building outside a git repository now supported.
    • Build process now verifies that the version matches the git version.


  • Source distribution fixes: using SCM version, including test sources, including


  • Removed the py-air-control-exporter entry point.
  • Fixed pyairctrl.http_air_client references to pyairctrl.http_client.


  • Ported to prometheus_client and added descriptions to each metric.


  • Initial release.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py-air-control-exporter, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size py-air-control-exporter-0.3.0.tar.gz (7.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page