← Back to Skills Marketplace
dedene

Lametric Cli

by dedene · GitHub ↗ · v1.0.2
cross-platform ✓ Security Clean
642
Downloads
0
Stars
2
Active Installs
3
Versions
Install in OpenClaw
/install lametric-cli
Description
Control LaMetric TIME/SKY smart displays from the command line. Use when sending notifications, controlling device brightness/volume, managing timers, or dis...
README (SKILL.md)

LaMetric CLI

CLI tool for controlling LaMetric TIME/SKY devices. Send notifications, control settings, manage timers, and stream content.

Prerequisites

Installation

# Homebrew (macOS/Linux)
brew install dedene/tap/lametric

# Or Go install
go install github.com/dedene/lametric-cli/cmd/lametric@latest

Setup

  1. Get API key from LaMetric mobile app: Device Settings > API Key
  2. Run setup wizard:
lametric setup

Or configure manually:

# Store API key securely
lametric auth set-key --device=living-room

# Or use environment variables
export LAMETRIC_API_KEY=your-api-key
export LAMETRIC_DEVICE=192.168.1.100

Config file location: ~/.config/lametric-cli/config.yaml

Core Workflows

Sending Notifications

Simple notification:

lametric notify "Hello World"

With icon and sound:

lametric notify "Build passed" --icon=checkmark --sound=positive1

Critical alert (wakes device, plays alarm):

lametric notify "ALERT: Server down" --priority=critical --sound=alarm1

Progress indicator:

lametric notify "Upload progress" --goal=75/100 --icon=upload

Sparkline chart:

lametric notify "CPU Usage" --chart=10,25,50,30,45,80,60

From stdin (for pipelines):

echo "Build complete" | lametric notify
git log -1 --format="%s" | lametric notify --icon=github

Wait for user dismissal:

lametric notify "Confirm deployment?" --wait

Device Control

Get device info:

lametric device

Display brightness:

lametric display get
lametric display brightness 50      # Set to 50%
lametric display mode auto          # Auto brightness

Audio volume:

lametric audio get
lametric audio volume 30            # Set to 30%

Bluetooth:

lametric bluetooth get
lametric bluetooth on
lametric bluetooth off

Built-in Apps

Timer:

lametric app timer set 5m           # Set 5 minute timer
lametric app timer set 1h30m        # Set 1 hour 30 minutes
lametric app timer start
lametric app timer pause
lametric app timer reset

Stopwatch:

lametric app stopwatch start
lametric app stopwatch pause
lametric app stopwatch reset

Radio:

lametric app radio play
lametric app radio stop
lametric app radio next
lametric app radio prev

App navigation:

lametric app list                   # List installed apps
lametric app next                   # Switch to next app
lametric app prev                   # Switch to previous app

Streaming

Stream images or video to the display:

lametric stream start               # Start streaming session
lametric stream image logo.png      # Send static image
lametric stream gif animation.gif   # Send animated GIF
lametric stream stop                # End streaming

Pipe from ffmpeg:

ffmpeg -i video.mp4 -vf "scale=37:8" -f rawvideo -pix_fmt rgb24 - | lametric stream pipe

Discovery

Find LaMetric devices on your network:

lametric discover
lametric discover --timeout=10s

Common Patterns

Build/CI Notifications

# Success
lametric notify "Build #123 passed" --icon=checkmark --sound=positive1

# Failure
lametric notify "Build #123 failed" --icon=error --sound=negative1 --priority=warning

# Deployment
lametric notify "Deployed to prod" --icon=rocket --sound=positive2

System Monitoring

# CPU alert
lametric notify "High CPU: 95%" --priority=warning --icon=warning

# Disk space
lametric notify "Disk: 85% full" --goal=85/100 --icon=harddrive

Pomodoro Timer

lametric app timer set 25m && lametric app timer start

Meeting Reminder

lametric notify "Meeting in 5 min" --icon=calendar --sound=alarm3 --priority=warning

Quick Reference

Popular Icons

Alias Description
checkmark Success/complete
error Error/failure
warning Warning/caution
info Information
rocket Deploy/launch
github GitHub
slack Slack
mail Email
calendar Calendar/meeting
download Download
upload Upload

Run lametric icons for full list.

Popular Sounds

Sound Category
positive1-5 Success sounds
negative1-5 Error sounds
alarm1-13 Alarm sounds
notification1-4 Gentle notifications

Run lametric sounds for full list.

Global Flags

Flag Description
-d, --device Device name or IP
-j, --json Output JSON
--plain Output TSV (for scripting)
-v, --verbose Verbose logging

Troubleshooting

Connection Failed

  1. Verify device IP: lametric discover
  2. Check device is on same network
  3. Ensure API key is correct: lametric auth get-key --device=NAME

Authentication Error

# Re-set API key
lametric auth set-key --device=living-room

# Or use environment variable
export LAMETRIC_API_KEY=your-api-key

Device Not Found

# Discover devices
lametric discover --timeout=10s

# Add to config
lametric setup

Installation

brew install dedene/tap/lametric
Usage Guidance
This skill appears to be what it claims: a wrapper around the lametric CLI that uses a LaMetric API key and local-network discovery to control devices. Before installing, verify the Homebrew tap (dedene/tap) and the GitHub repository (github.com/dedene/lametric-cli) are legitimate and maintained; prefer official release pages or signed packages when available. Treat your LAMETRIC_API_KEY like any device credential—only provide it to code you trust and consider using environment variables or your OS credential store rather than embedding keys in files. Note the SKILL.md contains a truncated install line and a version string mismatch (SKILL.md metadata shows 1.1.0 while registry metadata lists 1.0.2); these are minor editorial inconsistencies but worth checking on the project page before trusting binaries.
Capability Analysis
Type: OpenClaw Skill Name: lametric-cli Version: 1.0.2 The skill bundle is benign. It provides instructions for installing and using the `lametric` CLI tool to control LaMetric smart displays. All commands and instructions in `SKILL.md` are directly related to the stated purpose, involving device control, notifications, and streaming. There is no evidence of prompt injection attempts, data exfiltration, malicious execution, persistence mechanisms, or obfuscation within the skill bundle's content. The installation methods (Homebrew, Go) and environment variable usage (`LAMETRIC_API_KEY`) are standard practices for such tools.
Capability Assessment
Purpose & Capability
Name/description, required binary (lametric), primaryEnv (LAMETRIC_API_KEY), and the install options (Homebrew tap and Go package from GitHub) align with a CLI wrapper for LaMetric devices. Asking for an API key is expected.
Instruction Scope
SKILL.md instructs only running the lametric CLI, using device discovery on the local network, streaming images, and setting keys/config in ~/.config/lametric-cli/config.yaml — all within the stated domain. It does not ask for unrelated files or additional credentials.
Install Mechanism
Installers are Homebrew (dedene/tap) and go install from github.com/dedene/lametric-cli, which are typical for CLI tools. These are not high-risk arbitrary downloads, but users should verify trust in the dedene/tap and the GitHub repo before installing.
Credentials
Only the LaMetric API key (LAMETRIC_API_KEY) is declared as primary credential; the skill optionally references LAMETRIC_DEVICE for device IP. No unrelated secrets or numerous credentials are requested.
Persistence & Privilege
always is false and the skill does not request elevated or persistent system-wide privileges. It does not modify other skills' config or require always-on presence.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lametric-cli
  3. After installation, invoke the skill by name or use /lametric-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Removed the requirement for the LAMETRIC_DEVICE environment variable in the skill metadata. - Updated the metadata section to only require the lametric binary for operation. - No workflow or usage changes to documentation content.
v1.0.1
- Added a homepage link and improved metadata in the SKILL.md file. - Declared required environment variables (LAMETRIC_API_KEY, LAMETRIC_DEVICE) and binaries for better integration. - Documented install methods for Homebrew and Go in a structured format. - Updated version and author metadata. - No changes to commands or primary usage instructions.
v1.0.0
Initial release of lametric-cli. - Command-line tool to control LaMetric TIME/SKY smart displays. - Supports sending notifications, setting icons/sounds, displaying charts and progress, and critical alerts. - Allows device management: adjust display brightness, audio volume, Bluetooth, and device info. - Control built-in apps: timer, stopwatch, radio, and app navigation. - Stream images/GIFs/video to the display, with ffmpeg integration. - Device setup, authentication, and discovery tools included. - Comprehensive documentation with usage examples and troubleshooting.
Metadata
Slug lametric-cli
Version 1.0.2
License
All-time Installs 2
Active Installs 2
Total Versions 3
Frequently Asked Questions

What is Lametric Cli?

Control LaMetric TIME/SKY smart displays from the command line. Use when sending notifications, controlling device brightness/volume, managing timers, or dis... It is an AI Agent Skill for Claude Code / OpenClaw, with 642 downloads so far.

How do I install Lametric Cli?

Run "/install lametric-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Lametric Cli free?

Yes, Lametric Cli is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Lametric Cli support?

Lametric Cli is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Lametric Cli?

It is built and maintained by dedene (@dedene); the current version is v1.0.2.

💬 Comments