Read temperature and humidity from DHT11 sensor. Supports custom GPIO pins via CLI argument or environment variable.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add modbender/skill-library-mcp --skill dht11-temp --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Dht11 Temp?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-dht11-temp)More formats (shields.io, HTML) on the badges page.
---
name: dht11-temp
description: Read temperature and humidity from DHT11 sensor. Supports custom GPIO pins via CLI argument or environment variable.
metadata: {"openclaw": {"emoji": "🌡️", "requires": {"bins": ["python3", "sudo", "RPi.GPIO"]}}}
---
# 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
```bash
# Install dependencies
pip3 install RPi.GPIO
```
## Usage
### Read Sensor (default pin 19)
```bash
sudo python3 scripts/dht/main.py
```
### Read Sensor (custom pin)
```bash
sudo python3 scripts/dht/main.py 4 # Uses GPIO 4
```
### Using Environment Variable
```bash
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
```bash
# Read every 30 minutes
*/30 * * * * sudo python3 ~/scripts/dht/main.py >> /var/log/dht.log 2>&1
```
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Compress natural language memory files (CLAUDE.md, todos, preferences) into caveman format to save input tokens. Preserves all technical substance, code, URLs, and structure. Compressed version overwrites the original file. Human-readable backup saved as FILE.original.md. Trigger: /caveman-compress FILEPATH or "compress memory file"