Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

solax-cloud-api

bởi allmightysauron

Coding Agents & IDEs
676Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Fetch inverter summary data from the Solax Cloud API using the npm package solax-cloud-api.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: fetch current solar output from my inverter

AGENT
  1. 1

    Reads SOLAX_TOKENID and SOLAX_SN from environment variables

  2. 2

    Calls the Solax Cloud API via solax-cloud-api's getAPIData()

  3. 3

    Converts the raw response to a SolaxSummary object via toSummary()

  4. 4

    Prints the typed JSON result to stdout

ĐẦU RA

A JSON object containing current power generation, battery status, grid feed-in, and other inverter metrics

Yêu cầu

  • Solax Cloud account
  • Solax Cloud API token ID (generated in the Solax Cloud portal)
  • Inverter serial number (found on the inverter or in the Solax Cloud app)

Cài đặt

clawhub install allmightysauron/solax-cloud-api

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết