Skip to main content

Telegraf plugin for Xiaomi Air Purifier

Project description


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


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


$ pip install telegraf-xiaomi-air-purifier


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

Example telegraf configuration

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

    location = bedroom


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 hashes)

Uploaded source

Built Distribution

Supported by

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