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.
- register on qingpingiot.com
- download mobile app linked there
- bind devices in app
- go back to qingpingiot.com and validate that you see all the devices
- log in to developer.qingping.co using the same credentials as for the app
- go to Access Management and get credentials
Install
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³
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qingping_iot_cloud-0.2.0a3.tar.gz.
File metadata
- Download URL: qingping_iot_cloud-0.2.0a3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efccb91dc8c1f1aeb5433c18b946fd94dc41887d9618f14f4a63441b2db8c824
|
|
| MD5 |
5735d3d0eb52e6aa41d19d8ba2bf7fb0
|
|
| BLAKE2b-256 |
6dd7df23f0b63e277fc3c03c26f1585ebf460b860604548f5ef466ae5ed2438f
|
File details
Details for the file qingping_iot_cloud-0.2.0a3-py3-none-any.whl.
File metadata
- Download URL: qingping_iot_cloud-0.2.0a3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e0689768ddff0833b2b442e25e4d228b5078bdc929828f038fb4d3fcf6f3745
|
|
| MD5 |
030654d65a9ed61544c25aa8111dbe8e
|
|
| BLAKE2b-256 |
c5fc2298abdf77e5d7f83ec3b369a730f56ad73827298eb0f6c1bb7348408f85
|