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.
CODEBLOCK0
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:
CODEBLOCK1
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:
CODEBLOCK2
3. Update Device Screen
Changes the screen layout currently being displayed on a specific device.
Usage:
CODEBLOCK3
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:
CODEBLOCK4
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:
CODEBLOCK5
Security & Privacy
External Endpoints
| URL | Data Sent | Purpose |
|---|
| INLINECODE3 | 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.
DAKboard 技能
该技能提供了一个命令行界面,用于与 DAKboard API 进行交互。它支持对设备和屏幕进行全面管理,并能推送自定义数据以实现动态显示。
设置
在使用此技能前,必须将 DAKboard API 密钥设置为环境变量。
bash
export DAKBOARDAPIKEY=yourapikey_here
该技能的主要工具是位于 scripts/dakboard.py 的 Python 脚本。
可用命令
1. 列出设备
获取与账户关联的所有 DAKboard 设备(如树莓派)列表。这有助于查找其他命令所需的 device_id。
用法:
bash
python3 scripts/dakboard.py devices
2. 列出屏幕
获取所有可用屏幕布局(如大月历、双列)的列表。用于查找更改设备显示所需的 screen_id。
用法:
bash
python3 scripts/dakboard.py screens
3. 更新设备屏幕
更改特定设备当前显示的屏幕布局。
用法:
bash
用法:update-device id> id>
python3 scripts/dakboard.py update-device dev
0c3e1405a961 scr709367acf3d4
4. 推送指标
向DAKboard 指标模块推送单个命名数据点。适用于显示传感器读数或统计数据等实时数据。
用法:
bash
用法:metric
python3 scripts/dakboard.py metric indoor_temp 72.5
5. 推送获取数据
向屏幕上的获取模块推送完整的 JSON 对象。用于显示更复杂的结构化数据。
用法:
bash
用法:fetch
python3 scripts/dakboard.py fetch {tasks: [Buy milk, Walk the dog], priority: high}
安全与隐私
外部端点
| URL | 发送的数据 | 用途 |
|---|
| https://dakboard.com/api/ | API 密钥、设备 ID、屏幕 ID、指标数据 | 用于与 DAKboard API 交互,列出和更新设备,并向自定义模块推送指标/获取数据。 |
数据处理
仅向 dakboard.com 发送作为技能命令参数提供的数据(如要在 DAKboard 上显示的消息或指标)以及您的 DAKBOARD
APIKEY。不会读取或写入任何本地文件。
模型调用说明
该技能设计为由 OpenClaw 代理在用户请求时自动调用。您可以通过禁用此技能来选择退出自动调用。
信任声明
使用此技能时,发送的数据仅限于提供的参数,并直接发送至 dakboard.com。仅当您信任 DAKboard 处理您选择显示的信息时,才安装此技能。