Metadata-Version: 2.1
Name: py-air-control-exporter
Version: 0.1.3
Summary: UNKNOWN
Home-page: UNKNOWN
Author: Matej Urbas
Author-email: matej.urbas@gmail.com
License: UNKNOWN
Description: # py-air-control-exporter [![build-badge]](https://travis-ci.com/github/urbas/py-air-control-exporter) [![pypi-badge]](https://pypi.org/project/py-air-control-exporter/)
        
        Exports air quality metrics to Prometheus.
        
        This exporter uses [py-air-control] to obtain data.
        
        ## Installation
        
        ```bash
        pip install py-air-control-exporter
        ```
        
        ## Running
        
        ```bash
        PY_AIR_CONTROL_HOST=<ip of your air purifier> PY_AIR_CONTROL_PROTOCOL=<http|coap|plain_coap> FLASK_ENV=development FLASK_APP=py_air_control_exporter.app flask run --host 0.0.0.0
        ```
        
        This will serve metrics at `http://localhost:5000/metrics`.
        
        You can make Prometheus scrape these with this scrape config:
        
        ```yaml
        scrape_configs:
          - job_name: "py_air_control"
            static_configs:
              - targets: ["<the IP of your exporter host>:5000"]
                labels:
                  location: "bedroom"
        ```
        
        [build-badge]: https://travis-ci.com/urbas/py-air-control-exporter.svg?branch=master
        [py-air-control]: https://github.com/rgerganov/py-air-control
        [pypi-badge]: https://badge.fury.io/py/py-air-control-exporter.svg
        
        
        # 0.1.3
        
        - Source distribution fixes: using SCM version, including test sources, including
           `CHANGELOG.md`.
        
        # 0.1.2
        
        - Removed the `py-air-control-exporter` entry point.
        - Fixed `pyairctrl.http_air_client` references to `pyairctrl.http_client`.
        
        # 0.1.1
        
        - Ported to `prometheus_client` and added descriptions to each metric.
        
        # 0.1.0
        
        - Initial release.
        
Keywords: py-air-control-exporter,py-air-control,prometheus,exporter
Platform: UNKNOWN
Description-Content-Type: text/markdown
