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.0a0.tar.gz (35.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for wireless-sensor-1.0.0a0.tar.gz
Algorithm Hash digest
SHA256 2d8fcb23f6a2fd88ae09427a9455ee5511d662d5f7b0d76c175d90fd11e52ae4
MD5 9fbb06040d9f0ae2b9945c1bec226c60
BLAKE2b-256 045a53995483cfec444d29a41c998717cea7210b94d2eaf0158646cb06dfd940

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wireless_sensor-1.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 713f23eceb8bc09566fb86217aef93abeeee1cd616748a9b38d7d69582e1f5e1
MD5 47da7e91f56e60c3f1b3d19639657bc3
BLAKE2b-256 855ebff380be12ec79448c1e82a4de0661b35ad9963f43584b7c4e21526969c9

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