From solar-skills
Use when the user asks to export Deye solar data, download Solarman metrics, get Deye power station data, create hourly solar summary, or mentions Deye/Solarman export/download. Supports monthly bulk export.
How this skill is triggered — by the user, by Claude, or both
Slash command
/solar-skills:export-hourly-deyeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Export a full month of operating data from a Deye inverter via the Solarman Open API and produce a single hourly CSV.
Export a full month of operating data from a Deye inverter via the Solarman Open API and produce a single hourly CSV.
$ARGUMENTS — a month in YYYY-MM format. If not provided, use the current month.
$ARGUMENTS contains a value matching YYYY-MM, use it. Otherwise use the current month (date +%Y-%m).TARGET_MONTH (e.g. 2026-01).Check if the SOLARMAN_APP_ID environment variable is set:
echo "${SOLARMAN_APP_ID:-NOT_SET}"
If set → proceed to Step 3 (Run API export).
If not set → ask the user with AskUserQuestion:
"Solarman API credentials are not configured. Would you like me to guide you through the setup?"
Options:
Then follow the API setup guidance below, and tell the user to re-run /export-hourly-deye after setting env vars.
Walk the user through these steps:
Request API access from Solarman (one-time):
[email protected] to request API access (appId and appSecret)appId and appSecret (typically within a few business days)Gather station and device info:
SOLARMAN_STATION_ID and SOLARMAN_DEVICE_SN unset, the script will auto-discover them from your account (works if you have a single station)Set environment variables:
~/.zshrc, ~/.bashrc) or a .env file:export SOLARMAN_APP_ID="your_app_id"
export SOLARMAN_APP_SECRET="your_app_secret"
export SOLARMAN_EMAIL="your_solarman_email"
export SOLARMAN_PASSWORD="your_solarman_password"
# Optional — auto-discovered if not set:
export SOLARMAN_STATION_ID="your_station_id"
export SOLARMAN_DEVICE_SN="your_device_sn"
/export-hourly-deye YYYY-MMpython3 ${CLAUDE_PLUGIN_ROOT}/scripts/api_export.py TARGET_MONTH
This script:
/station/v1.0/historydata/solar_hourly_YYYY-MM.csvThe CSV output is identical to the export-hourly-soliscloud skill, so the analyze skill can process it directly.
File: data/solar_hourly_YYYY-MM.csv (or $SOLAR_DATA_DIR/solar_hourly_YYYY-MM.csv when the SOLAR_DATA_DIR environment variable is set — the export script honors it automatically).
Date,Hour,Readings,Avg_PV_W,PV_Energy_kWh,Avg_Battery_W,Battery_Energy_kWh,Avg_Grid_W,Grid_Energy_kWh,Avg_GridLoad_W,GridLoad_Energy_kWh,Avg_BackupLoad_W,BackupLoad_Energy_kWh,Avg_SOC_Pct,Min_SOC_Pct,Max_SOC_Pct
| Column | Description |
|---|---|
Date | Date (YYYY-MM-DD) |
Hour | Hour bucket (HH:00) |
Readings | Number of 5-min readings in this hour (typically 12) |
Avg_*_W | Average watts for the hour |
*_Energy_kWh | avg_watts × readings × 5 / 60 / 1000 |
Avg_SOC_Pct | Average battery state of charge (%) |
Min_SOC_Pct / Max_SOC_Pct | SOC range within the hour |
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub marfillaster/solar-skills --plugin solar-skills