Skip to main content

Receive & decode signals of FT017TH thermo/hygrometers

Project description

wireless-sensor 🌡

Code style: black CI Pipeline Status Coverage Status Last Release Compatible Python Versions DOI

Command-line tool & python library to receive & decode signals of FT017TH wireless thermo/hygrometers

Requirements

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


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)

Uploaded Source

Built Distribution

wireless_sensor-1.0.0-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

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

Hashes for wireless-sensor-1.0.0.tar.gz
Algorithm Hash digest
SHA256 232b9d56a766fe8d665da13104bf88437ce98d9e996270f675b2e16956d9fd68
MD5 660bd3c016ee02219f43d7bafecd797d
BLAKE2b-256 36753728398bf0a2713503fe54aeb14935b081f2726132862aa7b356be2a5771

See more details on using hashes here.

File details

Details for the file wireless_sensor-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wireless_sensor-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3367a5977eba7fd15e7b8b9d2b6fe7b07fa79f07c9e9612674604e12d5577ab
MD5 662beef088af659c10f8e233365b643b
BLAKE2b-256 deba212bda84b0570939d549f073af9cc5b8e0591f241421cb4d924d5c558ccc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page