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)

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.1.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

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