Ulanzi TC001 控制:像素时钟自动化 - Openclaw Skills

作者:互联网

2026-03-30

AI教程

什么是 Ulanzi TC001 像素时钟控制器?

Ulanzi TC001 技能可以通过其本地 HTTP API 与这款流行的智能像素时钟进行无缝交互。通过将其集成到 Openclaw Skills 中,用户可以以编程方式管理设备的方方面面——从基础的时间和日期显示到复杂的社交媒体粉丝计数器——无需访问网络浏览器。

该工具充当了您的自动化开发环境与物理像素显示屏之间的桥梁。它支持广泛的命令来更新系统配置(如亮度和夜间模式),以及针对 YouTube、Bilibili 和天气小工具的特定应用设置。它专为希望将物理通知和实时状态显示纳入其自动化工作流的开发者而设计。

下载入口:https://github.com/openclaw/skills/tree/main/skills/felipeouropreto/ulanzi-tc001

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install ulanzi-tc001

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 ulanzi-tc001。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

Ulanzi TC001 像素时钟控制器 应用场景

  • 根据一天中的时间,将像素时钟亮度与房间照明自动化同步。
  • 在直播或发布内容期间触发特定的小工具,如 YouTube 订阅者计数器。
  • 为计划好的生产力时段远程切换矩阵(Matrix)或番茄钟模式。
  • 自动执行夜间模式转换和时区更新,以确保时钟始终准确且不干扰生活。
Ulanzi TC001 像素时钟控制器 工作原理
  1. 用户在环境或配置文件中配置设备的本地 IP 地址。
  2. 通过 Openclaw Skills 发出的命令被路由到处理逻辑的专用 Python 实用脚本。
  3. 脚本将用户的意图转化为指向 TC001 内部 HTTP 端点的 POST 请求。
  4. 像素时钟处理表单数据并立即更新其状态,按要求切换应用或更改系统参数。

Ulanzi TC001 像素时钟控制器 配置指南

首先,在您的 config.json 文件中设置设备 IP:

{ "host": "192.168.1.32" }

或者,您可以设置环境变量 TC001_HOST。然后,您可以使用提供的 Python 脚本与设备进行交互。要检查当前设备状态,请运行:

python3 scripts/tc001.py status

要开启 YouTube 小工具,请使用:

python3 scripts/tc001.py gadget on you@tube

Ulanzi TC001 像素时钟控制器 数据架构与分类体系

该技能使用结构化方法来管理设备参数和应用程序数据。以下是主要配置模式:

属性 值 / 格式 描述
host IP 地址 (例如 192.168.1.32) 时钟的网络位置。
brightness 0 - 100 手动亮度级别控制。
gadgets time, date, weather, you@tube 等 设备上可用的特定小程序。
nightmode on / off 夜间显示设置的布尔标记。
switchspeed noswitch 到 60 自动小工具轮换的时间。
scrollspeed 0 - 10 矩阵显示屏上文本滚动的速度。
name: ulanzi-tc001
description: Control the Ulanzi TC001 (Pixel Clock) over local HTTP. Use to list tc1/tc001 commands, read status, enable/disable gadgets (time/date/you@tube/matrix/etc.), or change settings like brightness, night mode, timezone, switch speed, or scroll speed. Trigger on commands starting with “tc1” or “tc001”.

Ulanzi TC001

Control the Ulanzi TC001 Pixel Clock using its local HTTP endpoints (no browser needed).

Quick start

  1. Set the device IP in config.json (preferred):
{ "host": "192.168.1.32" }

(Env fallback is supported: TC001_HOST)

  1. Use the helper script:
python3 scripts/tc001.py status
python3 scripts/tc001.py gadgets list
python3 scripts/tc001.py gadget on you@tube
python3 scripts/tc001.py brightness manual 80
python3 scripts/tc001.py nightmode on
python3 scripts/tc001.py timezone GMT-3

Supported commands (script)

  • status → JSON summary (sys settings + gadgets on/off)
  • gadgets list|on|off
  • gadget on|off
  • brightness auto | manual <0-100>
  • nightmode on|off | start HH:MM | end HH:MM
  • timezone GMT-3 | AUTO (see mapping in script)
  • switch <10|15|20|25|30|35|40|45|50|55|60|noswitch>
  • scroll <0-10>

Full config (sys)

sys fields:

  • language: english|chinese
  • autobrightness: auto|manual
  • brightness: 0-100
  • nightbrightness: 0-100
  • switchspeed: noswitch|10|15|20|25|30|35|40|45|50|55|60
  • scrollspeed: 0-10
  • timezone: GMT-3 (or AUTO)
  • timeformat: HH:mm|HH:mm:ss
  • dateformat: DD/MM|MM/DD
  • showweek: show|hide
  • firstday: sunday|monday
  • nightmode: on|off
  • nightstart: HH:MM
  • nightend: HH:MM

Full config (app)

app fields:

  • citycode
  • bilibili_uid / bilibili_animation / bilibili_color / bilibili_format
  • weibo_uid / weibo_animation / weibo_color / weibo_format
  • you@tube_uid / you@tube_apikey / you@tube_animation / you@tube_color / you@tube_format
  • douyin_uid / douyin_animation / douyin_color / douyin_format
  • awtrix_server / awtrix_port
  • showlocalip: on|off

Animations: swipe|scroll · Colors: default|red|orange|yellow|green|cyan|blue|purple · Format: none|format

Gadgets (names)

time, date, weather, bilibili, weibo, you@tube, douyin, scoreboard, chronograph, tomato, battery, matrix, awtrix, localip

Notes

  • Uses POST / and POST /app_switch with form data. See references/tc001-api.md.
  • Keep YouTube API key private (if used).