Skip to main content

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())

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)

Source distribution for wireless-sensor 1.0.0
File Size Uploaded
wireless-sensor-1.0.0.tar.gz 35.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wireless-sensor 1.0.0
File Interpreter ABI Platform
wireless_sensor-1.0.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page