Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arska/daikin_exporter
Daikin metrics to prometheus exporter
https://github.com/arska/daikin_exporter
Last synced: 1 day ago
JSON representation
Daikin metrics to prometheus exporter
- Host: GitHub
- URL: https://github.com/arska/daikin_exporter
- Owner: arska
- Created: 2020-04-13T19:24:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T21:03:34.000Z (12 months ago)
- Last Synced: 2023-11-25T23:28:14.787Z (12 months ago)
- Language: Python
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Daikin Airconditioner/Air source heat pump metrics prometheus exporter
Uses https://pypi.org/project/daikinapi/ / https://github.com/arska/python-daikinapi/ to get metrics and either serves them as a webserver on port 8080 or sends them to a prometheus pushgateway (command line argument --pushgateway or env variable PROM_GATEWAY)
## Usage
```
$ python app.py -h
usage: app.py [-h] [-n] [-v] [-p PUSHGATEWAY] [hosts [hosts ...]]Export metrics from Daikin airconditioning to prometheus
positional arguments:
hosts list of airconditioning units to queryoptional arguments:
-h, --help show this help message and exit
-n, --noop dont actually post/change anything, just log what
would have been posted. Mostly relevant with
--pushgateway
-v, --verbose set logging to debug
-p PUSHGATEWAY, --pushgateway PUSHGATEWAY
send metrics prometheus pushgateway and exit. Can also
be defined in PROM_GATEWAY env variable
```
## Environment variables
* PROM_HOSTS: whitespace separated list of hosts to query and metrics to export
* PROM_GATEWAY: prometheus pushgateway to send metrics to and exit
* listenport: port to listen on for prometheus metrics webserver, default=8080