home

aircon-influx

A little application that queries echonetlite-compat air conditioners and sends the data to influxdb.

Source

github.com/rene00/aircon-influx

Current Status

aircon-influx is no longer actively developed.

Install

$ poetry install

Or container:

$ podman build .

Usage

$ INFLUX_URL=http://influx_url.example.com:8086 \
    INFLUX_BUCKET=bucket \
    INFLUX_TOKEN=secret \
    INFLUX_ORG=influxdata \
    AIRCON_HOSTS="aircon1.local aircon2.local" \
    poetry run python ./app.py
Room temperature for host aircon1.local: 21
Operational temperature for host aircon1.local: 22
Operational status for host aircon1.local: on
Cumulative power for host aircon1.local: 4700
Room temperature for host aircon2.local: 20
Operational temperature for host aircon2.local: 22
Operational status for host aircon2.local: on
Cumulative power for host aircon2.local: 4900

or with container:

$ cat <<EOF > .env
INFLUX_URL=http://influx_url.example.com:8086
INFLUX_BUCKET=bucket
INFLUX_TOKEN=secret
INFLUX_ORG=influxdata
AIRCON_HOSTS=aircon1.local aircon2.local
EOF
$ podman run --rm -it --net=host --env-file .env ghcr.io/rene00/aircon-influx/aircon-influx:latest