dht11-temp

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "dht11-temp" with this command: npx skills add noahseeger/dht11-temp

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

VariableDefaultDescription
DHT_PIN19GPIO pin number

Example crontab entry

# Read every 30 minutes
*/30 * * * * sudo python3 ~/scripts/dht/main.py >> /var/log/dht.log 2>&1

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Olares Market (olares-cli market)

olares-cli market command tree against the per-user Market app-store v2 API: list / get / categories for catalog browsing; install / uninstall / upgrade / cl...

Registry SourceRecently Updated
Coding

Mistral Mcp Openclaw

Configure OpenClaw to use the community mistral-mcp stdio server for Mistral OCR, Codestral FIM, Voxtral audio, durable workflows, moderation, classification...

Registry SourceRecently Updated
731swih
Coding

Web Design Lead Qualifier

Research and score prospective web design clients. Crawl their site, assess fit, and produce a qualification report. Use when asked to qualify a lead, resear...

Registry SourceRecently Updated
Coding

Olares Shared (olares-cli foundation)

Shared olares-cli foundation: profile model, first-time login (profile login with password + TOTP), bootstrapping a profile from an existing refresh token (p...

Registry SourceRecently Updated