Jump to related tools in the same category or review the original source on GitHub.

Smart Home & IoT @noahseeger Updated 2/17/2026

šŸŒ”ļø Dht11 Temp OpenClaw Plugin & Skill | ClawHub

Looking to integrate Dht11 Temp into your AI workflows? This free OpenClaw plugin from ClawHub helps you automate smart home & iot tasks instantly, without having to write custom tools from scratch.

What this skill does

Read temperature and humidity from DHT11 sensor. Supports custom GPIO pins via CLI argument or environment variable.

Install

npx clawhub@latest install dht11-temp

Full SKILL.md

Open original
Metadata table.
namedescription
dht11-tempRead temperature and humidity from DHT11 sensor. Supports custom GPIO pins via CLI argument or environment variable.

SKILL.md content below is scrollable.

DHT11 Temperature & Humidity Sensor

Read temperature and humidity from a DHT11 sensor.

Hardware Setup

Wiring (adjust pin as needed):

DHT11 Pinout:
─────────────
1. VCC     → 5V (Pin 2 oder 4)
2. DATA    → GPIO <PIN> + 10K Pull-Up Widerstand → 5V
3. GND     → GND (Pin 6)

Important: The 10K pull-up resistor must be connected between DATA and VCC (5V)!

Installation

# Install dependencies
pip3 install RPi.GPIO

Usage

Read Sensor (default pin 19)

sudo python3 scripts/dht/main.py

Read Sensor (custom pin)

sudo python3 scripts/dht/main.py 4     # Uses GPIO 4

Using Environment Variable

export DHT_PIN=4
sudo python3 scripts/dht/main.py

Output

  • Line 1: Temperature (°C)
  • Line 2: Humidity (%)

Customization

Variable Default Description
DHT_PIN 19 GPIO pin number

Example crontab entry

# Read every 30 minutes
*/30 * * * * sudo python3 ~/scripts/dht/main.py >> /var/log/dht.log 2>&1
Original Repository URL: https://github.com/openclaw/skills/blob/main/skills/noahseeger/dht11-temp
Latest commit: https://github.com/openclaw/skills/commit/fffe397eea77826a5bb67133f9292fd706eee139

Related skills

If this matches your use case, these are close alternatives in the same category.