Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

tasmota-skill塔斯莫塔技能

Agent Skill

tasmota-skill 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

32,976

周安装

1,334

GitHub Stars

公开资料未说明

下载量

10,352
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tasmota-skill(塔斯莫塔技能)
来源仓库:https://github.com/wmantly/tasmota-skill
安装命令:
openclaw skills install tasmota-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tasmota-skill

简介

发现、监控和控制本地网络上的 Tasmota 智能家居设备。当任务涉及通过网络扫描查找 Tasmota 设备、检查设备状态和电源状态、控制设备(开关、亮度、颜色)、管理设备库存或运行 Tasmota 固件的 ESP8266 或 ESP32 设备上的任何其他 Tasmota 管理操作时使用。

SKILL.md

name
tasmota
description
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.

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

StatusNET:

  • IPAddress - Device IP
  • Hostname - mDNS hostname
  • Mac - MAC address

Bulk Operations

Get All Device Status

python3 scripts/tasmota-status.py

Iterates through inventory file and shows power state for all devices.

Managing Inventory

Devices are tracked in a CSV inventory file. Format:

IP Address,Device Name,Version,Hardware,Response Time (ms)
192.168.1.116,Office Hall Light,13.1.0,ESP8266EX,53

After discovery, save output to inventory file for batch operations.

Common Tasks

Finding Labeled Devices

# Scan and grep for specific device names
python3 scripts/tasmota-discovery.py | grep "Kitchen"
python3 scripts/tasmota-discovery.py | grep "Bulb"

Checking All Lights

# Get status of all devices
python3 scripts/tasmota-status.py

Power Cycle a Device

# Off, wait 2s, on
python3 scripts/tasmota-control.py 192.168.1.116 power off
sleep 2
python3 scripts/tasmota-control.py 192.168.1.116 power on

Tasmota API Reference

Command Format

http://<IP>/cm?cmnd=<COMMAND>

Common Commands

CommandDescription
PowerToggle power
Power ONTurn on
Power OFFTurn off
Power TOGGLEToggle state
Status 0Device status
Status 4Network status
Dimmer <0-100>Set brightness
Color <hex>Set RGB color
`Fade <ONOFF>`Enable fade effects

Troubleshooting

Device Not Found

  • Verify device is on same subnet
  • Check device has HTTP server enabled (Webserver 2 in config)
  • Ensure device is powered on and connected to WiFi
  • Try direct HTTP request: curl http://<IP>/cm?cmnd=Status%200

Timeout Errors

  • Device may be power saving (WiFi sleep)
  • Network latency or packet loss
  • Check device uptime for recent restarts

Unknown Power State

Some devices (BLE gateways, sensors) don't have power control. Check capability in StatusSTS.

Network Configuration

Tasmota devices typically:

  • Connect on WiFi channel 1-11
  • Use DHCP (check StatusNET for current IP)
  • May respond to mDNS (hostname patterns: tasmota-XXXXXX)
  • Use HTTP on port 80 (standard)

Best Practices

  • Scan during network maintenance windows (avoid peak usage)
  • Cache inventory file to avoid repeated scans
  • Use device friendly names for easier identification
  • Set static IPs for critical devices (via Tasmota web UI or DHCP reservations)
  • Group devices by location/function in inventory comments

Resources

scripts/tasmota-discovery.py

Network scanner that finds live hosts and identifies Tasmota devices via HTTP and JSON API.

scripts/tasmota-control.py

Device controller supporting power, brightness, color, and status queries via Tasmota JSON API.

scripts/tasmota-status.py

Bulk status checker that queries all devices in inventory and displays power states.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.09%
按下载量换算9,016

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills