TopRank Skills

Home / Claw Skills / Git / GitHub / iammeter
Official OpenClaw rules 36%

iammeter

Query and export device/site data via the iammeter API (based on https://www.iammeter.com/swaggerui/swagger.json). Triggers: list sites/devices, get real-time or historical energy data, export CSV, run power or offline analysis.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 iammeter 技能。 若已安装,则直接安装 iammeter 技能。

Overview

Skill Key
guanvee/iammeter-openclaw-skill
Author
guanvee
Source Repo
openclaw/skills
Version
-
Source Path
skills/guanvee/iammeter-openclaw-skill
Latest Commit SHA
b254d1849c93fc97cb5ccc54836837a5e94a7729

Extracted Content

SKILL.md excerpt

# iammeter Skill (Node.js)

A Node.js client and CLI for the iammeter API, based on the official swagger spec.

Features
- API key is loaded automatically: first from the `IAMMETER_TOKEN` environment variable,
  then from `~/.openclaw/openclaw.json` (`skills.entries.iammeter.apiKey`)
- List user sites (sitelist)
- Get latest data for all meters (metersdata)
- Get latest upload data for a single meter (meterdata / meterdata2)
- Query site energy history (energyhistory) and export CSV
- Power analysis (poweranalysis), offline analysis (offlineanalysis)

Configuration
- Option A (OpenClaw / Clawhub): set the API key in the Skills UI. It is stored in
  `~/.openclaw/openclaw.json` under `skills.entries.iammeter.apiKey` and injected
  as the `IAMMETER_TOKEN` environment variable at runtime.
- Option B (local testing): export IAMMETER_TOKEN=<your_api_key> before running.

Files
- references/api.md — endpoint reference summarized from swagger
- scripts/iammeter_client.js — Node.js client wrapping common endpoints
- scripts/cli.js — CLI: sitelist|meters|meter|history|poweranalysis|offlineanalysis
- package.json — dependencies (axios, yargs)

Usage (local testing)
1) Install dependencies:
   cd ~/.openclaw/workspace/skills/iammeter
   npm install

2) Run:
   node scripts/cli.js sitelist
   node scripts/cli.js meters
   node scripts/cli.js meter <device_sn>
   node scripts/cli.js history <placeId> 2026-02-01 2026-02-25 --out out.csv

Notes
- Some endpoints have strict rate limits (see references/api.md for details).
- Do not commit real credentials to public repositories.

# Credits
- API endpoints and fields from https://www.iammeter.com/swaggerui/swagger.json

Related Claw Skills