Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Fetches current energy summary data from a Solax solar inverter via the Solax Cloud API. Returns a typed JSON object (SolaxSummary) with inverter status and energy readings. Credentials are passed as environment variables or CLI arguments.
Wraps the Solax Cloud API response into a typed SolaxSummary object, avoiding manual HTTP calls and raw response parsing.
When to use it
- Pulling live solar generation data into a home energy dashboard
- Automating daily energy production reports from a rooftop inverter
- Monitoring battery charge levels without opening the Solax app
- Triggering automations when solar output drops below a threshold
- Logging inverter readings to a time-series database
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: fetch current solar output from my inverter
- 1Reads SOLAX_TOKENID and SOLAX_SN from environment variables
- 2Calls the Solax Cloud API via solax-cloud-api's getAPIData()
- 3Converts the raw response to a SolaxSummary object via toSummary()
- 4Prints the typed JSON result to stdout
A JSON object containing current power generation, battery status, grid feed-in, and other inverter metrics
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.