Skip to main content

Library for accessing cloud service of Qingping IoT .

Project description

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

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³

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

qingping_iot_cloud-0.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qingping_iot_cloud-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file qingping_iot_cloud-0.1.0.tar.gz.

File metadata

  • Download URL: qingping_iot_cloud-0.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.9

File hashes

Hashes for qingping_iot_cloud-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8a9dd7052bfc58bbf398bed806479de72c548f4c07b829f1ba6e153bd71c730e
MD5 1aa8d63790f236b591d1bd2ed0d201f7
BLAKE2b-256 8f9b41354ea406ed44c73e9a06bb9cf5f306e5cdabf7e97e1fd8968e40af1616

See more details on using hashes here.

File details

Details for the file qingping_iot_cloud-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for qingping_iot_cloud-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f066f219b5d294ba1cd2e372e364d035b57a7f2242b6f8151e7768af7a20811
MD5 092b961e7500514b4452bf3249087448
BLAKE2b-256 ee6d25cfdbcb01d3ac0675ffbb69708849e045b1142253b2931d21cd2a78ffb1

See more details on using hashes here.

Supported by

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