Skip to main content

Telegraf plugin for Xiaomi Air Purifier

Project description

telegraf-xiaomi-air-purifier

Build Status PyPI version License

Telegraf plugin for the Xiaomi Air Purifier (supports versions: 2, 2pro, 2s) For 2s version you have to provide --token option

Requirements

  • Device have to be accesable (in the same network)
  • You have to have the python in at least 3.5 version

Installation

$ pip install telegraf-xiaomi-air-purifier

Usage

$ telegraf-xiaomi-air-purifier --ip DEVICE_IP_ADDRESS

Example telegraf configuration

[[inputs.exec]]
  commands = ["telegraf-xiaomi-air-purifier --ip DEVICE_IP_ADDRESS"]
  data_format = "influx"

  [inputs.exec.tags]
    location = bedroom

License

See LICENSE file.

Project details


Download files

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

Source Distribution

telegraf-xiaomi-air-purifier-0.2.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file telegraf-xiaomi-air-purifier-0.2.0.tar.gz.

File metadata

  • Download URL: telegraf-xiaomi-air-purifier-0.2.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.10

File hashes

Hashes for telegraf-xiaomi-air-purifier-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8c1ee3aeb087867cc95fe68a6bd248b004ce825871d9ce07405d6797a1ed9810
MD5 6dd2d7903cbb06ec74a8b3d53b5fe692
BLAKE2b-256 bc05191ac572bc0109d526c52c852aa9e78a2b632f5e53f3ec580ebb2629dff2

See more details on using hashes here.

File details

Details for the file telegraf_xiaomi_air_purifier-0.2.0-py2-none-any.whl.

File metadata

  • Download URL: telegraf_xiaomi_air_purifier-0.2.0-py2-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.0 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.10

File hashes

Hashes for telegraf_xiaomi_air_purifier-0.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 523c5b5cac53fb113c07963360502dbacf3bea664634f895b611ee826c7b5897
MD5 40a963b7036b11429e18c900b8ffae91
BLAKE2b-256 230d87dfda10bf94593213568d78f1913bd695cc93553e92f488b046d1a2c76c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page