ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

tasmota

Discover, monitor, and control Tasmota smart home devices on local networks. Use when tasks involve finding Tasmota devices via network scanning, checking device status and power states, controlling devices (on-off, brightness, color), managing device inventory, or any other Tasmota management operations on ESP8266 or ESP32 devices running Tasmota firmware.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/wmantly/tasmota-skill
Or

Tasmota Device Management

Overview

Automated discovery and control of Tasmota-powered smart home devices (ESP8266/ESP32) on local networks. Includes network scanning, status monitoring, power control, dimming, color control, and inventory management.

Quick Start

Scan network for Tasmota devices:

python3 scripts/tasmota-discovery.py

Check device status:

python3 scripts/tasmota-control.py <IP> status 0

Control device:

python3 scripts/tasmota-control.py <IP> power on|off|toggle
python3 scripts/tasmota-control.py <IP> brightness 0-100
python3 scripts/tasmota-control.py <IP> color <hex-rgb>

Discovery

Network Scan

Run a full network scan to find all Tasmota devices:

python3 scripts/tasmota-discovery.py

The script:

  1. Performs ping sweep to identify live hosts
  2. Scans HTTP (port 80) on live hosts
  3. Detects Tasmota via Server header (e.g., "Tasmota/13.1.0")
  4. Confirms via JSON API (/cm?cmnd=status%200)
  5. Retrieves device names, versions, and hardware

Output includes:

  • IP address
  • Device friendly name
  • Tasmota version
  • Hardware platform (ESP8266/ESP32)
  • Response time

Identification Signals

Tasmota devices are identified by:

  • Server header: Tasmota/<version> (<hardware>)
  • JSON API response: /cm?cmnd=status%200 returns structured status
  • Content keywords: "Tasmota" in HTML

Device Control

Power Control

Toggle or set power state:

# Toggle
python3 scripts/tasmota-control.py <IP> power toggle

# On/Off
python3 scripts/tasmota-control.py <IP> power on
python3 scripts/tasmota-control.py <IP> power off

Brightness (Dimmers)

Set brightness level (0-100):

python3 scripts/tasmota-control.py <IP> brightness 50

Works on devices with Dimmer support (check StatusSTS).

Color (RGB Lights)

Set RGB color (hex or comma-separated):

# Hex format
python3 scripts/tasmota-control.py <IP> color FF0000  # Red
python3 scripts/tasmota-control.py <IP> color 00FF00  # Green

# RGB comma format
python3 scripts/tasmota-control.py <IP> color 255,0,0

Works on devices with RGB support (AiYaTo-RGBCW, etc.).

Status Queries

Device Status

Retrieve status information:

# Basic status
python3 scripts/tasmota-control.py <IP> status 0

# All statuses
python3 scripts/tasmota-control.py <IP> status all

Status codes:

  • 0 = Status - Device info, friendly name, power state
  • 1 = StatusPRM - Parameters, uptime, MAC
  • 2 = StatusFWR - Firmware version, hardware
  • 3 = StatusLOG - Log settings
  • 4 = StatusNET - Network config (IP, gateway, WiFi)
  • 5 = StatusMQT - MQTT configuration
  • 9 = StatusTIM - Time, timezone, sunrise/sunset

Key Status Fields

StatusSTS (Status 0):

  • POWER - Current state (ON/OFF)
  • Dimmer - Brightness level (0-100)
  • Wifi.RSSI - Signal strength
  • Wifi.SSId - Connected WiFi network

Metadata

Author@wmantly
Stars919
Views0
Updated2026-02-12
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-wmantly-tasmota-skill": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.