wireless-sensor 🌡
Command-line tool & python library to receive & decode signals of FT017TH wireless thermo/hygrometers
Requirements
- FT017TH sensor
- CC1101 transceiver
- Linux machine with CC1101 connected to SPI port &
GDO0connected to some GPIO pin (wiring instructions for raspberry pi)
Setup
$ pip3 install --user --upgrade wireless-sensor
Usage
Command-line
$ wireless-sensor-receive
2020-12-07T10:40:16+0100 23.9°C 46.9%
2020-12-07T10:41:04+0100 23.9°C 46.9%
2020-12-07T10:42:01+0100 23.8°C 47.0%
Python Library
import asyncio
import wireless_sensor
async def _main():
sensor = wireless_sensor.FT017TH(gdo0_gpio_line_name=b'GPIO24')
async for measurement in sensor.receive(timeout_seconds=600):
print(
measurement.decoding_timestamp,
measurement.temperature_degrees_celsius,
measurement.relative_humidity,
)
asyncio.run(_main())
Metadata
Release files for wireless-sensor 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wireless-sensor-1.0.0.tar.gz | 35.5 kB | Without provenance | Details for wireless-sensor-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wireless_sensor-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for wireless_sensor-1.0.0-py3-none-any.whl |
Total release size: 54.9 kB
Release files / wireless-sensor-1.0.0.tar.gz
| Download URL | wireless-sensor-1.0.0.tar.gz |
|---|---|
| Size | 35.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
232b9d56a766fe8d665da13104bf88437ce98d9e996270f675b2e16956d9fd68
|
|
BLAKE2b-256 checksum How to use checksums |
36753728398bf0a2713503fe54aeb14935b081f2726132862aa7b356be2a5771
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / wireless_sensor-1.0.0-py3-none-any.whl
| Download URL | wireless_sensor-1.0.0-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3367a5977eba7fd15e7b8b9d2b6fe7b07fa79f07c9e9612674604e12d5577ab
|
|
BLAKE2b-256 checksum How to use checksums |
deba212bda84b0570939d549f073af9cc5b8e0591f241421cb4d924d5c558ccc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for wireless-sensor 1.0.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.