solax-cloud-api
allmightysauron 제작
Coding Agents & IDEs요약
Fetch inverter summary data from the Solax Cloud API using the npm package solax-cloud-api.
설명
이 스킬이 하는 일
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.
사용 시점
- 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
예시 워크플로
User asks: fetch current solar output from my inverter
- 1
Reads SOLAX_TOKENID and SOLAX_SN from environment variables
- 2
Calls the Solax Cloud API via solax-cloud-api's getAPIData()
- 3
Converts the raw response to a SolaxSummary object via toSummary()
- 4
Prints the typed JSON result to stdout
A JSON object containing current power generation, battery status, grid feed-in, and other inverter metrics
요구 사항
- 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)
설치
clawhub install allmightysauron/solax-cloud-apiCLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.