A Node.js client and CLI for the iammeter API, based on the official swagger spec.
Features
IAMMETER_TOKEN environment variable, then from ~/.openclaw/openclaw.json (skills.entries.iammeter.apiKey)
Configuration
~/.openclaw/openclaw.json under skills.entries.iammeter.apiKey and injected
as the IAMMETER_TOKEN environment variable at runtime.
Files
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
Notes
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
共 1 个版本