Receive & decode signals of FT017TH thermo/hygrometers
Project description
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())
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
wireless-sensor-1.0.0.tar.gz
(35.5 kB
view details)
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 wireless-sensor-1.0.0.tar.gz.
File metadata
- Download URL: wireless-sensor-1.0.0.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
232b9d56a766fe8d665da13104bf88437ce98d9e996270f675b2e16956d9fd68
|
|
| MD5 |
660bd3c016ee02219f43d7bafecd797d
|
|
| BLAKE2b-256 |
36753728398bf0a2713503fe54aeb14935b081f2726132862aa7b356be2a5771
|
File details
Details for the file wireless_sensor-1.0.0-py3-none-any.whl.
File metadata
- Download URL: wireless_sensor-1.0.0-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3367a5977eba7fd15e7b8b9d2b6fe7b07fa79f07c9e9612674604e12d5577ab
|
|
| MD5 |
662beef088af659c10f8e233365b643b
|
|
| BLAKE2b-256 |
deba212bda84b0570939d549f073af9cc5b8e0591f241421cb4d924d5c558ccc
|