Solax Cloud Api
Fetch inverter summary data from the Solax Cloud API using the npm package solax-cloud-api.
- Rating
- 4.6 (382 reviews)
- Downloads
- 21,639 downloads
- Version
- 1.0.0
Overview
Fetch inverter summary data from the Solax Cloud API using the npm package solax-cloud-api.
Complete Documentation
View Source →
solax-summary-fetch
Fetch Solax inverter summary data as JSON.
Setup (one-time)
This skill uses Node.js and the npm package solax-cloud-api.
Install dependencies inside the skill folder:
cd /home/openclaw/.openclaw/workspace/skills/solax-summary-fetch/scripts
npm install
(We use npm install instead of npm ci because this skill does not ship with a lockfile.)
Inputs
You need:
tokenId(Solax Cloud API token id)sn(inverter serial number)
Recommended: environment variables
Set these in your runtime (preferred so you don’t leak secrets into shell history):
SOLAX_TOKENIDSOLAX_SN
Alternate: CLI arguments
Pass them explicitly as:
--tokenId--sn
Command
cd /home/openclaw/.openclaw/workspace/skills/solax-summary-fetch/scripts
node fetch_summary.mjs --tokenId "$SOLAX_TOKENID" --sn "$SOLAX_SN"
Output
- Prints a single JSON object to stdout.
- The JSON conforms to the SolaxSummary interface exposed by
solax-cloud-api(seereferences/solax-summary.d.ts). - Under the hood (solax-cloud-api v0.2.0): fetches
getAPIData()then converts viaSolaxCloudAPI.toSummary().
Guardrails
- Never print or log the tokenId beyond confirming whether it is set (redact it).
- If the API call fails, return a structured error JSON with
ok:falseand a shorterrormessage.
Installation
openclaw install solax-cloud-api
💻Code Examples
npm install
(We use `npm install` instead of `npm ci` because this skill does not ship with a lockfile.)
## Inputs
You need:
- `tokenId` (Solax Cloud API token id)
- `sn` (inverter serial number)
### Recommended: environment variables
Set these in your runtime (preferred so you don’t leak secrets into shell history):
- `SOLAX_TOKENID`
- `SOLAX_SN`
**Do not** hardcode credentials into the skill files.
### Alternate: CLI arguments
Pass them explicitly as:
- `--tokenId <tokenId>`
- `--sn <serial>`
## CommandTags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.