Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Qingping IoT (cloud)

Library for accessing cloud service of Qingping IoT (instead of Bluetooth).

Background

This is designed for users who:

  • have Qingping IoT supported devices
    • see docs for full list
    • boils down to ones with native Wi-Fi and selected BT-only via Qingping gateway
  • do not want to use Bluetooth to poll devices directly
    • at least 2nd generation of Qingping Air Monitor does not have BT at all
    • for larger houses and offices it's problematic to set up several non-Qingping BT gateways
  • do not want to "privatize" devices
    • said operation eliminates access from Qingping IoT mobile app and ability to upgrade firmware
    • it requires local MQTT server and all responsibility is shifted on user

This library is mainly created for use with Home Assistant integration (not yet implemented), but also offers CLI.

The scope of APIs implemented is shown in API.md.

How to get credentials

Normal users have static App Key and App Secret tied to their account.

  1. register on qingpingiot.com
  2. download mobile app linked there
  3. bind devices in app
  4. go back to qingpingiot.com and validate that you see all the devices
  5. log in to developer.qingping.co using the same credentials as for the app
  6. go to Access Management and get credentials

Install

PyPI: qingping-iot-cloud

pip install qingping-iot-cloud

CLI usage

export QINGPINGIOT_APPKEY=...
export QINGPINGIOT_APPSECRET=...
qingping-iot-cloud -h
qingping-iot-cloud list_devices

example response from list_devices:

AAAAAAAAAAAA: sensor_A (CO2& Temp & RH Monitor)
  timestamp: 1735593815 
  battery: 100 %
  signal: -61 dBm
  temperature: 21.4 °C
  humidity: 56 %
  co2: 959 ppm
BBBBBBBBBBBB: sensor_B (CO2& Temp & RH Monitor)
  timestamp: 1735593520 
  battery: 100 %
  signal: -47 dBm
  temperature: 24.4 °C
  humidity: 42 %
  co2: 876 ppm
CCCCCCCCCCCC: sensor_C (Qingping Air Monitor Lite)
  timestamp: 1735593600 
  battery: 100 %
  temperature: 26.4 °C
  humidity: 44.3 %
  co2: 1053 ppm
  pm25: 12 μg/m³
  pm10: 12 μg/m³

Metadata

Release files for qingping_iot_cloud 0.2.0a5

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

Source distribution (sdist)

Source distribution for qingping_iot_cloud 0.2.0a5
File Size Uploaded Provenance Actions
qingping_iot_cloud-0.2.0a5.tar.gz 6.2 kB Without provenance Details for qingping_iot_cloud-0.2.0a5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qingping_iot_cloud 0.2.0a5
File Interpreter ABI Platform Actions
qingping_iot_cloud-0.2.0a5-py3-none-any.whl Python 3 none any Details for qingping_iot_cloud-0.2.0a5-py3-none-any.whl

Total release size: 13.9 kB

Release files / qingping_iot_cloud-0.2.0a5.tar.gz

Download URL qingping_iot_cloud-0.2.0a5.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4758b8170a30a2a6258a2d981bd1aee7b557a91e951228285108a363b0613933
BLAKE2b-256 checksum
How to use checksums
c1426987cbcdc0bfcd4703eefa1146d57999e1f011ad0c784879e1804c762583
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.0

Release files / qingping_iot_cloud-0.2.0a5-py3-none-any.whl

Download URL qingping_iot_cloud-0.2.0a5-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af7e4d0b928d8e0113d62d9861c36b01b7ae1e9ece0107c0c5e5e0151179b376
BLAKE2b-256 checksum
How to use checksums
31140ba86190d13d5e89bcfb1ff9898af9b45ee19c149eb89c88ce60e260b6a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.0

Security for qingping_iot_cloud 0.2.0a5

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