Skip to main content

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.

Metadata

Release files for telegraf-xiaomi-air-purifier 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telegraf-xiaomi-air-purifier 0.2.0
File Size Uploaded Provenance Actions
telegraf-xiaomi-air-purifier-0.2.0.tar.gz 2.8 kB Without provenance Details for telegraf-xiaomi-air-purifier-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telegraf-xiaomi-air-purifier 0.2.0
File Interpreter ABI Platform Actions
telegraf_xiaomi_air_purifier-0.2.0-py2-none-any.whl Python 2 none any Details for telegraf_xiaomi_air_purifier-0.2.0-py2-none-any.whl

Total release size: 6.3 kB

Release files / telegraf-xiaomi-air-purifier-0.2.0.tar.gz

Download URL telegraf-xiaomi-air-purifier-0.2.0.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8c1ee3aeb087867cc95fe68a6bd248b004ce825871d9ce07405d6797a1ed9810
BLAKE2b-256 checksum
How to use checksums
bc05191ac572bc0109d526c52c852aa9e78a2b632f5e53f3ec580ebb2629dff2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / telegraf_xiaomi_air_purifier-0.2.0-py2-none-any.whl

Download URL telegraf_xiaomi_air_purifier-0.2.0-py2-none-any.whl
Size 3.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
523c5b5cac53fb113c07963360502dbacf3bea664634f895b611ee826c7b5897
BLAKE2b-256 checksum
How to use checksums
230d87dfda10bf94593213568d78f1913bd695cc93553e92f488b046d1a2c76c
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for telegraf-xiaomi-air-purifier 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page