pysensorpush - Python interface for the SensorPush API
Python implementation of the SensorPush temperature and humidity/hygrometer sensors cloud API which supports both temperature (°F) and humidity (Rh) sensors.
NOTE: Ideally SensorPush sensors would be located within range of a SensorPush G1 WiFi Gateway for continously collecting and publishing data from the sensors to the SensorPush cloud. However, SensorPush sensors can also synchronize historical data over Bluetooth when nearby to an iOS or Android device with the SensorPush app.
Installation
pip3 install pysensorpush
Enable the SensorPush API
While the SensorPush API is in beta, you may need to contact support@sensorpush.com to get access to the API for your account. Here are details direct from SensorPush:
If you're ready to use the beta of the SensorPush API, please review the updated Terms of Service at this link on our website (http://www.sensorpush.com/legal/info).
These Terms are based largely on the Terms of Service already in place. The primary difference is that we added language to cover the API, so if you accept these terms, please respond to support@sensorpush.com with the following:
1.) Confirmation: "Yes, I accept these Terms of Service" 2.) Your Gateway email address
We need these two things so we can grant you access to the API.
If you have any questions. Please just send them to support@sensorpush.com and include "[api]" in the subject
Examples
sensorpush = PySensorPush(username, password)
sensorpush.gateways
sensorpush.sensors
sensorpush.samples(10)
See also example-client.py for a working example.
See Also
Hardware
- SensorPush Wireless Thermometer/Hygrometer - Humidity & Temperature Smart Sensor
- SensorPush G1 WiFi Gateway
- SensorPush (official product page)
Future Enhancements
-
improve error handling/edge conditions
-
allow fetching data directly from the sensor via Bluetooth (no cloud dependency required)
Metadata
Release files for pysensorpush 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysensorpush-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pysensorpush-0.1.8-py3-none-any.whl
| Download URL | pysensorpush-0.1.8-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
866af81266e6ad01212cc96112d5eb78220b53f28a9bc7d1bd8310aa8ff95922
|
|
BLAKE2b-256 checksum How to use checksums |
1baa57d22a3b263e6d76e28ead97a59b32721067768e2432aff270628b868faf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.6
|
Security for pysensorpush 0.1.8
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.