dawiddutoit/custom-claude/ha-sunsynk-integration
Claude Code and agent skill by dawiddutoit/custom-claude
- community
Checking that the SKILL.md file is still in the repository.
Provides integration setup and configuration for Sunsynk/Deye solar inverters with Home Assistant using the SolarSynkV3 cloud API add-on including add-on configuration, entity naming patterns, troubleshooting, and dashboard setup. Use when setting up sunsynk integration, configuring deye inverter, troubleshooting "no permissions" errors, accessing solar system data, or monitoring battery/PV/grid/load sensors.
Install
npx vskill@latest install dawiddutoit/custom-claude/ha-sunsynk-integrationSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Works with Sunsynk/Deye hybrid inverters, api.sunsynk.net cloud API, and HA add-ons.
Sunsynk/Deye Solar System Integration for Home Assistant
Integrate Sunsynk and Deye solar inverters with Home Assistant using the cloud-based SolarSynkV3 add-on. This skill covers setup, configuration, entity patterns, and troubleshooting for reliable solar monitoring.
Quick Start
Working Integration Method:
Key Success Factor: Use the inverter serial number from sunsynk.net portal (under Inverter menu), NOT the WiFi dongle serial. Using the wrong serial causes "No Permissions" API errors.
Table of Contents
- When to Use This Skill
- What This Skill Does
- Hardware Overview
- Integration Setup
- Entity Naming and Organization
- Monitoring and Dashboards
- Troubleshooting
- WiFi Dongle Limitations
- Alternative Integration Methods
- Supporting Files
- Requirements
- Red Flags to Avoid
When to Use This Skill
Explicit Triggers:
- "Set up sunsynk integration"
- "Configure deye inverter home assistant"
- "Add solar inverter to ha"
- "Sunsynk no permissions error"
- "SolarSynkV3 add-on setup"
- "Monitor solar system in home assistant"
Implicit Triggers:
- Working with Sunsynk/Deye hybrid inverters
- Need battery SOC, PV power, grid import/export data
- Building solar monitoring dashboards
- Troubleshooting solar integration issues
Debugging Triggers:
- API authentication failures
- Missing sensor entities
- Incorrect entity naming
- Cloud API connection problems
What This Skill Does
This skill provides:
- Integration Setup - Configure SolarSynkV3 add-on with correct parameters
- Entity Discovery - Understand entity naming patterns and sensor organization
- Configuration Validation - Verify critical settings (serial numbers, API servers)
- Troubleshooting Guidance - Resolve common integration issues
- Dashboard Planning - Identify key sensors for monitoring
Usage
Follow the Quick Start section to configure the SolarSynkV3 add-on with correct parameters. Then use sections 4-7 for integration setup, entity discovery, monitoring dashboards, and troubleshooting. Always use the inverter serial number (not dongle serial) to avoid "No Permissions" errors.
Hardware Overview
Typical Sunsynk/Deye Setup:
| Component | Purpose | Details | |
|---|---|---|---|
| Inverter | DC-AC conversion, battery management | Deye 8kW Hybrid (example: SN 2305178402) | |
| WiFi Dongle | Cloud connectivity | Sunsynk dongle (example: E47W23428459) | |
| Battery | Energy storage | 280Ah capacity, 48V nominal (typical) | |
| PV Array | Solar panels | 2 MPPT strings (typical) |
Example Plant Information:
- Inverter Serial: 2305178402 (use THIS for integration)
- WiFi Dongle Serial: E47W23428459 (NOT used for config)
- Location: South Africa (Region 2)
- Cloud Portal: https://sunsynk.net
Integration Setup
4.1. Add-on Installation
Step 1: Add Repository to HACS or Add-on Store
Via Home Assistant:
- Navigate to Settings > Add-ons > Add-on Store
- Click ⋮ (three dots) > Repositories
- Add repository:
https://github.com/martinville/solarsynkv3 - Install SolarSynkV3 add-on
Step 2: Identify Add-on
Add-on slug: d4ae3b04_solar_synkv3
Configuration URL: http://<ha_ip>:8123/hassio/addon/d4ae3b04_solar_synkv3/config
4.2. Configuration Parameters
Parameter Reference:
| Parameter | Purpose | Example | |
|---|---|---|---|
sunsynk_user | Account email for sunsynk.net | your_email@example.com | |
sunsynk_pass | Account password | your_password | |
sunsynk_serial | INVERTER serial (NOT dongle) | 2305178402 | |
Home_Assistant_IP | HA instance IP address | 192.168.68.123 | |
Home_Assistant_PORT | HA HTTP port | 8123 | |
HA_LongLiveToken | Long-lived access token from HA | eyJ0eXAiOiJKV1QiLCJhb... | |
Refresh_rate | Polling interval (seconds) | 300 (5 min) | |
API_Server | Regional API endpoint | api.sunsynk.net |
Regional API Servers:
| Region | API Server | |
|---|---|---|
| Region 1 (Global) | api-internal.sunsynk.net | |
| Region 2 (South Africa) | api.sunsynk.net | |
| Region 3 (Europe) | api-eu.sunsynk.net |
4.3. Finding Your Inverter Serial
CRITICAL: Use the inverter serial number, NOT the WiFi dongle serial.
How to Find Inverter Serial:
- Log into https://sunsynk.net (or your regional portal)
- Navigate to your plant/system
- Click Inverter menu or device details
- Look for serial number starting with digits (e.g.,
2305178402) - Do NOT use the dongle serial (alphanumeric, e.g.,
E47W23428459)
Visual Identification:
Entity Naming and Organization
5.1. Entity ID Pattern
All entities follow this pattern:
Example:
5.2. Key Sensor Categories
Most Important Sensors for Dashboards:
| Category | Entity ID | Description | Unit | |
|---|---|---|---|---|
| Battery | battery_soc | State of Charge | % | |
battery_power | Charge/discharge power | W | ||
| PV/Solar | pv_pac | Total solar power | W | |
pv_etoday | Today's solar yield | kWh | ||
| Grid | grid_pac | Grid import/export | W | |
grid_etoday_from | Today imported | kWh | ||
grid_etoday_to | Today exported | kWh | ||
| Load | load_total_power | Total consumption | W | |
load_daily_used | Today's usage | kWh | ||
| Inverter | inverter_power | Inverter output | W | |
runstatus | Status (Normal/Fault) | - |
Power Flow Understanding:
5.3. Complete Sensor Reference
For a complete list of all 300+ available sensors across Battery, PV/Solar, Grid, Load, Inverter, and Energy categories, see references/sensor-reference.md.
Monitoring and Dashboards
Essential Dashboard Components:
For complete dashboard examples including power flow charts, battery gauges, and daily energy summaries, see examples/dashboard-config.yaml.
Quick REST API Access:
Troubleshooting
7.1. "No Permissions" Error
Symptom: Add-on logs show "No Permissions" or API authentication failures.
Root Cause: Using WiFi dongle serial instead of inverter serial.
Solution:
- Log into sunsynk.net portal
- Navigate to Inverter menu (not device/dongle settings)
- Copy the inverter serial (numeric, e.g.,
2305178402) - Update add-on configuration with correct serial
- Restart add-on
Verification:
Alternative Causes:
- Account lacks API access (installer accounts may be restricted)
- Wrong API server for your region
- Incorrect username/password
7.2. No Sensors Appearing
Symptom: Add-on running but no entities created in HA.
Diagnostic Steps:
- Check Add-on Logs:
``bash ha addons logs d4ae3b04_solar_synkv3 `` Look for errors during sensor creation.
- Verify HA Connection:
Check if add-on can reach HA API:
- Confirm
Home_Assistant_IPis correct - Verify
HA_LongLiveTokenis valid - Check HA firewall rules
- Force Entity Discovery:
- Restart Home Assistant core
- Reload integration from Settings > Devices & Services
- Check Developer Tools > States for entities starting with
sensor.solarsynkv3_
- Check Entity Registry:
``bash # Search for solarsynk entities curl -s "http://<ha_ip>:8123/api/states" \ -H "Authorization: Bearer $HA_LONG_LIVED_TOKEN" | \ jq '.[] | select(.entity_id | contains("solarsynk"))' ``
7.3. Connection Test Issues
Symptom: Connection test shows unusual values (e.g., 100A current).
Interpretation:
- Test data showing 100A is often a dummy/test value
- Indicates HA connection is OK
- Actual issue may be with Sunsynk API authentication
Action:
- Don't focus on test values
- Check API authentication in logs
- Verify inverter serial and credentials
WiFi Dongle Limitations
Stock Sunsynk WiFi Dongle:
The stock WiFi dongle (e.g., E47W23428459) is cloud-only - it does NOT expose local Modbus/TCP ports.
Port Scan Results:
Why Local Integration Won't Work:
- Kellerza/sunsynk integration requires Modbus access (port 502 or 8899)
- Stock dongle firmware blocks all local network access
- Only cloud API path is available
Alternatives for Local Integration:
- Replace Dongle:
- Use Solarman LSW-3 dongle (supports local Modbus)
- Cost: ~$50-100 USD
- Custom Firmware:
- Flash ESPHome to ESP-based dongle
- Requires hardware expertise
- Risk of bricking dongle
- Direct RS485 Connection:
- Connect Raspberry Pi or ESP32 directly to inverter RS485 ports
- Use Modbus RTU protocol
- Most complex but most reliable
Recommendation: Use cloud API (SolarSynkV3) unless you have strong requirement for local-only control.
Alternative Integration Methods
Comparison of Methods:
| Method | Type | Pros | Cons | |
|---|---|---|---|---|
| SolarSynkV3 | Cloud API | Easy setup, no hardware changes | Depends on cloud service | |
| Kellerza/Sunsynk | Local Modbus | Fast updates, local control | Requires dongle replacement | |
| HASS-Sunsynk-Multi | Local Modbus | Multiple inverter support | Stock dongle incompatible | |
| ESPHome Custom | Direct RS485 | Full control, no cloud | Complex setup, DIY hardware |
When to Use Each:
- Cloud API (SolarSynkV3) - Default choice for most users
- Local Modbus - When cloud is unreliable or privacy-sensitive
- ESPHome/Direct - Advanced users, custom automation requirements
Supporting Files
References:
references/sensor-reference.md- Complete list of 300+ entities with descriptionsreferences/api-specification.md- Sunsynk API endpoints and authenticationreferences/modbus-registers.md- Modbus register map for direct integration
Examples:
examples/dashboard-config.yaml- Complete solar dashboard exampleexamples/automations.yaml- Battery management automationsexamples/api-queries.sh- REST API query examples
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationWarning, 77 of 100Marginal. 1 run. Evaluated 8 months ago.
Source
- SKILL.md in the repositoryCheckingskills/ha-sunsynk-integration/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 May 2026, 6 months ago.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dawiddutoit/custom-claude/ha-sunsynk-integration)