← 返回 Skills 市场
Sp501lw Mqtt
作者
likong-iot
· GitHub ↗
· v0.1.0
· MIT-0
88
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install serial-server-mqtt
功能描述
SP501LW 串口网关纯 MQTT 管理技能——支持串口透传和 Modbus RTU 数据采集两种工作模式,通过 MQTT 完全控制设备,支持自定义主题和 Broker。
安全使用建议
This skill is coherent with its stated purpose but take care before using it: 1) Review sp501lw_mqtt.py and SKILL.md to confirm where MQTT traffic will go. 2) Do not rely on the bundled default broker — explicitly set --broker-host, --username and --password to a broker you control. 3) Inspect devices.json before and after adding devices; it stores credentials in plaintext. 4) If you must test quickly, run the tool in a network-isolated environment or monitor outbound network connections to ensure data isn't sent to untrusted endpoints. 5) If you need privacy, run your own MQTT broker (e.g., on localhost or on a trusted host) and update examples to use it. If you want, I can point to the exact lines in the Python file that set the default broker and write devices.json so you can review them.
功能分析
Type: OpenClaw Skill
Name: serial-server-mqtt-skill
Version: 0.1.0
The skill bundle is a legitimate management tool for the SP501LW serial-to-MQTT gateway. The Python script (sp501lw_mqtt.py) implements standard MQTT communication using the paho-mqtt library to configure device modes, serial parameters, and Modbus RTU polling tasks. While it stores MQTT credentials in a local plain-text file (devices.json), this is a common functional requirement for CLI tools of this nature and does not indicate malicious intent. The documentation (SKILL.md and ARCHITECTURE.md) accurately describes the hardware's reboot behavior and provides clear instructions for the AI agent to manage the device without any evidence of prompt injection or unauthorized data exfiltration.
能力评估
Purpose & Capability
Name/description, required binary (python3), SKILL.md and included Python script all line up: this is a tool to manage SP501LW gateways over MQTT and to configure Modbus polling. The dependency on paho-mqtt is proportional and expected.
Instruction Scope
Runtime instructions direct the agent to run the included Python CLI which will publish/subscribe to MQTT topics and write a local devices.json containing device and broker settings. The SKILL.md and examples rely on a default remote broker (mqtt.likong-iot.com) and provide examples that include plaintext credentials — this means out-of-the-box use (or following examples exactly) will cause network traffic to a third-party broker and may upload device data unless the user supplies a different broker.
Install Mechanism
No binary downloads or obscure install steps; the only runtime dependency is paho-mqtt (pip). SKILL.md lists pip install for paho-mqtt, which is normal and low-risk.
Credentials
The skill requests no environment variables, which is proportional, but it stores broker credentials in devices.json in plaintext and ships with default broker host/username/password values pointing to mqtt.likong-iot.com/public: 'Aa123456'. Using defaults without review could leak telemetry/Modbus data to the author-controlled broker. Requiring credentials (via CLI args) is reasonable for MQTT control, but persistent plaintext storage and defaults to a remote host increase risk.
Persistence & Privilege
always:false and no evidence the skill modifies other skills or system-wide configs. It writes its own devices.json (expected for a CLI tool). Autonomous invocation is allowed by platform defaults; combined with the networking behavior above, this increases the need for caution but is not in itself a new privilege.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install serial-server-mqtt - 安装完成后,直接呼叫该 Skill 的名称或使用
/serial-server-mqtt触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
sp501lw-mqtt v1.0.0 introduces initial support for SP501LW MQTT serial gateway management.
- Supports two main modes: serial transparent transmission (mqtt_tcp) and Modbus RTU data acquisition.
- Provides complete device management via MQTT, including custom topics and Broker.
- Implements device add, list, remove, update, mode switching, serial/data send/listen, Modbus item management, and polling controls.
- Documents all available and planned commands, with clear distinction between currently implemented and future features.
- Includes detailed usage instructions, parameter explanations, and device registration/configuration flow.
元数据
常见问题
Sp501lw Mqtt 是什么?
SP501LW 串口网关纯 MQTT 管理技能——支持串口透传和 Modbus RTU 数据采集两种工作模式,通过 MQTT 完全控制设备,支持自定义主题和 Broker。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 88 次。
如何安装 Sp501lw Mqtt?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install serial-server-mqtt」即可一键安装,无需额外配置。
Sp501lw Mqtt 是免费的吗?
是的,Sp501lw Mqtt 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Sp501lw Mqtt 支持哪些平台?
Sp501lw Mqtt 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Sp501lw Mqtt?
由 likong-iot(@likong-iot)开发并维护,当前版本 v0.1.0。
推荐 Skills