iammeter
Installation
SKILL.md
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_TOKENenvironment 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.jsonunderskills.entries.iammeter.apiKeyand injected as theIAMMETER_TOKENenvironment variable at runtime. - Option B (local testing): export IAMMETER_TOKEN=<your_token> before running.