Solax Summary Fetch for Openclaw

This skill retrieves real-time energy production and inverter status data from the Solax Cloud API and returns it as structured JSON.

allmightysauron
v1.0.0
Feb 10, 2026
0
1.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install solax-cloud-api

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install solax-cloud-api using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Solax Summary Fetch?

The solax-summary-fetch skill is a specialized utility designed for developers and smart home enthusiasts who need to programmatically access solar energy metrics. By leveraging the Solax Cloud API, this entry in the ecosystem of Openclaw Skills allows for the automated retrieval of inverter performance data, battery levels, and grid status. It transforms raw API responses into a clean, typed JSON format, making it an essential component for any energy-aware automation stack or custom monitoring dashboard.

Solax Summary Fetch Use Cases

  • Tracking daily solar yield and cumulative energy production for analytics.
  • Integrating real-time energy metrics into smart home dashboards like Home Assistant.
  • Triggering high-energy appliances automatically when solar production exceeds a specific threshold.
  • Monitoring inverter health and connectivity status remotely via Openclaw Skills.

How Solax Summary Fetch Works

  1. The user provides a Solax Cloud Token ID and an Inverter Serial Number via environment variables or CLI arguments.
  2. The skill invokes a Node.js script located in the scripts directory.
  3. The script utilizes the solax-cloud-api npm package to authenticate and fetch raw data from the cloud service.
  4. The raw data is processed through the toSummary() method to extract relevant energy metrics.
  5. The final output is printed as a single, parseable JSON object for immediate use by the agent or other scripts.

Solax Summary Fetch Setup

To get started, navigate to the skill directory and install the required Node.js dependencies:

cd /home/openclaw/.openclaw/workspace/skills/solax-summary-fetch/scripts
npm install

It is highly recommended to configure your credentials as environment variables to maintain security:

export SOLAX_TOKENID="your_api_token"
export SOLAX_SN="your_inverter_serial"

You can then execute the skill using the following command:

node fetch_summary.mjs --tokenId "$SOLAX_TOKENID" --sn "$SOLAX_SN"

Solax Summary Fetch Data Schema & Taxonomy

The skill returns a JSON object conforming to the SolaxSummary interface. Below is a representation of the data structure provided:

Property Type Description
yieldToday number Total energy produced today in kWh
yieldTotal number Lifetime energy production in kWh
acPower number Current AC power output in Watts
uploadTime string The timestamp of the last data update from the inverter
ok boolean Status flag indicating if the request was successful

In the event of a failure, the skill returns an error object: {"ok": false, "error": "Reason for failure"}.

Solax Summary Fetch Advanced Features

  • Environment variable support to prevent sensitive credentials from leaking into shell history.
  • Built-in data transformation that converts complex Solax API responses into a simplified summary format.
  • Security-first design that ensures API tokens are redacted from logs and output messages.
  • Native compatibility with other Openclaw Skills for building multi-agent solar optimization workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*