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 &
GDO0
connected 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.0a0.tar.gz
(35.5 kB
view details)
Built Distribution
File details
Details for the file wireless-sensor-1.0.0a0.tar.gz
.
File metadata
- Download URL: wireless-sensor-1.0.0a0.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 | 2d8fcb23f6a2fd88ae09427a9455ee5511d662d5f7b0d76c175d90fd11e52ae4 |
|
MD5 | 9fbb06040d9f0ae2b9945c1bec226c60 |
|
BLAKE2b-256 | 045a53995483cfec444d29a41c998717cea7210b94d2eaf0158646cb06dfd940 |
File details
Details for the file wireless_sensor-1.0.0a0-py3-none-any.whl
.
File metadata
- Download URL: wireless_sensor-1.0.0a0-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 | 713f23eceb8bc09566fb86217aef93abeeee1cd616748a9b38d7d69582e1f5e1 |
|
MD5 | 47da7e91f56e60c3f1b3d19639657bc3 |
|
BLAKE2b-256 | 855ebff380be12ec79448c1e82a4de0661b35ad9963f43584b7c4e21526969c9 |