简介
通过 CLI 管理 DAKboard 数字看板设备与屏幕,支持实时推送自定义数据到 Metrics/Fetch 区块,需配置 API 密钥。
原始描述
Manage DAKboard screens, devices, and push custom display data.
通过你的 Agent 添加
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: dakboard description: Manage DAKboard screens, devices, and push custom display data. author: Kristopher Clark homepage: https://github.com/krisclarkdev/dakboard-skill files: ["scripts/*"] metadata: clawdbot: requires: env: - DAKBOARD_API_KEY
DAKboard Skill
This skill provides a command-line interface to interact with the DAKboard API. It allows for comprehensive management of devices and screens, and enables pushing custom data for dynamic displays.
Setup
Before using this skill, you must set your DAKboard API key as an environment variable.
export DAKBOARD_API_KEY="your_api_key_here"
The primary tool for this skill is the Python script located at scripts/dakboard.py.
Available Commands
1. List Devices
Retrieves a list of all DAKboard devices (e.g., Raspberry Pis) linked to your account. This is useful for finding the device_id needed for other commands.
Usage:
python3 scripts/dakboard.py devices
2. List Screens
Retrieves a list of all available screen layouts (e.g., "Big Monthly", "Two Column"). This is used to find the screen_id needed to change a device's display.
Usage:
python3 scripts/dakboard.py screens
3. Update Device Screen
Changes the screen layout currently being displayed on a specific device.
Usage:
# Usage: update-device <device_id> <screen_id>
python3 scripts/dakboard.py update-device "dev_0c3e1405a961" "scr_709367acf3d4"
4. Push Metric
Pushes a single, named data point to a "DAKboard Metrics" block. This is ideal for displaying real-time data like sensor readings or statistics.
Usage:
# Usage: metric <key> <value>
python3 scripts/dakboard.py metric "indoor_temp" "72.5"
5. Push Fetch Data
Pushes a complete JSON object to a "Fetch" block on a screen. This is for displaying more complex, structured data.
Usage:
# Usage: fetch '<json_string>'
python3 scripts/dakboard.py fetch '{"tasks": ["Buy milk", "Walk the dog"], "priority": "high"}'
Security & Privacy
External Endpoints
| URL | Data Sent | Purpose |
|---|---|---|
https://dakboard.com/api/ |
API Key, Device IDs, Screen IDs, Metrics Data | Used to interact with the DAKboard API to list and update devices, and push metrics/fetch data to custom blocks. |
Data Handling
Only data provided as arguments to the skill commands (such as messages or metrics to be displayed on the DAKboard) and your DAKBOARD_API_KEY are sent to dakboard.com. No local files are read or written.
Model Invocation Note
This skill is designed to be autonomously invoked by the OpenClaw agent when requested by the user. You can opt-out of autonomous invocation by disabling this skill.
Trust Statement
By using this skill, data sent is limited to the arguments provided and sent directly to dakboard.com. Only install this skill if you trust DAKboard with the information you choose to display.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。