← 返回
开发者工具 Key 中文

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-tim...
{"answer":"通过iammeter API查询并导出设备/站点数据(基于 https://www.iammeter.com/swaggerui/swagger.)。触发器:列出站点/设备,获取实时..."}
iammeter iammeter 来源
开发者工具 clawhub v0.2.0 1 版本 99887.6 Key: 需要
★ 1
Stars
📥 869
下载
💾 14
安装
1
版本
#latest

概述

iammeter Skill (Node.js)

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

Features

  • Token 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 token 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= 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

node scripts/cli.js history 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 tokens to public repositories.

Credits

  • API endpoints and fields from https://www.iammeter.com/swaggerui/swagger.json

About IAMMETER

IAMMETER is an energy monitoring solution provider offering Wi-Fi-based single-phase and three-phase smart meters with multiple open interfaces, including Modbus/TCP, MQTT, HTTP/HTTPS API, TCP, and Local Push protocols.

These open communication options make IAMMETER devices easy to integrate with OpenHAB and other open-source platforms.

Learn more about supported protocols and APIs:

Device communication protocols: https://www.iammeter.com/newsshow/blog-fw-features

IAMMETER Cloud API: https://www.iammeter.com/docs/system-api

!advanced-user-ecosystem

版本历史

共 1 个版本

  • v0.2.0 当前
    2026-03-29 19:18 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,805
it-ops-security

Tmux

steipete
通过发送按键和抓取窗格输出,远程控制交互式 CLI 的 tmux 会话。
★ 45 📥 29,275
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,716