check-dht
Nagios plugin to monitor humidity and temperature data from a Raspberry Pi Pico
$ check_dht
DHT OK - temperature is 23°C | humidity=48%;60;65;0;100 onboard=23°C;30;40 temperature=23°C;30;40
Format
Notice: This plugin works in conjuction with the pico-dht project! It expects a device to be available which periodically prints JSON data to a serial port:
{
"humidity":48,
"temperature":23,
"onboard":23,
"error":0
}
humidityandtemperatureare measurements taken directly from a DHT22/DHT11 sensor- The RP2040s built-in temperature sensor is reported in the
onboardfield. - In case of an Issue (e.g. I/O), a POSIX errno is set in the
errorfield.
Install
The recommended installation is via pip install check-dht.
Manually
Alternatively, the source module can be executed after installing needed dependencies:
Usage
$ poetry run check_dht --help
usage: check_dht [-h] [-p PORT] [-b BAUD] [-w TEMP] [-c TEMP]
[--humidity-warning PERCENT] [--humidity-critical PERCENT]
Nagios plugin to monitor humidity and temperature data
options:
-h, --help show this help message and exit
-p PORT, --port PORT the serial file to read from
-b BAUD, --baud BAUD baudrate of the serial port
-w TEMP, --warning TEMP
return warning if air temperature is beyond TEMP
-c TEMP, --critical TEMP
return critical if air temperature is beyond TEMP
--humidity-warning PERCENT
return warning if humidity is beyond PERCENT
--humidity-critical PERCENT
return critical if humidity is beyond PERCENT
(c) Johannes Arnold 2023. This software is published under the terms of the
GNU GPLv3. For the companion project to this plugin, see
https://github.com/j0hax/pico-dht
Metadata
Release files for check-dht 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| check_dht-0.1.5.tar.gz | 15.2 kB | Without provenance | Details for check_dht-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| check_dht-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for check_dht-0.1.5-py3-none-any.whl |
Total release size: 31.5 kB
Release files / check_dht-0.1.5.tar.gz
| Download URL | check_dht-0.1.5.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01187198ca3e01de7f13944eceb670d761bbffc0709754591573aa766826cec9
|
|
BLAKE2b-256 checksum How to use checksums |
fb03b517547cce90d309b044ab7fbfab3ec6873eb31f5df95c7e0cdd161b87d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.10 Linux/5.14.21-150400.24.46-default
|
Release files / check_dht-0.1.5-py3-none-any.whl
| Download URL | check_dht-0.1.5-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15b483360f11e6acb0dea984876ce062273f3655c6250ebee9b0cd62ca60d8fe
|
|
BLAKE2b-256 checksum How to use checksums |
7cd9ab424e649357a13a2b9631c2cd8e8ea73b89772583258bb51a13792da420
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.10 Linux/5.14.21-150400.24.46-default
|
Security for check-dht 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.