-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
All integration log messages are prefixed with sunsynk. To filter them:
Settings → System → Logs → search for sunsynk
To enable debug-level logging, add to your configuration.yaml:
logger:
default: warning
logs:
custom_components.sunsynk: debugThen restart HA and reproduce the problem. Disable debug logging again afterwards — it is verbose.
The integration raises issues automatically in the HA Repair dashboard (Settings → System → Repairs):
| Issue | Severity | Cause | Clears when |
|---|---|---|---|
| Sunsynk authentication failed | Error | Cloud API rejected credentials | Next successful authentication |
| Inverter {serial} is offline | Warning | No data returned for a serial number | Next successful data fetch for that serial |
These replace log hunting for the most common failure modes — check Repairs first before enabling debug logging.
- Double-check email and password in the Sunsynk web portal
- MFA (2-factor authentication) is not supported — log into the Sunsynk web portal, go to Account Settings and disable MFA before configuring the integration
- Some special characters in passwords can cause issues — try resetting to a password using only alphanumeric characters and common symbols
- Check that your HA server has outbound internet access on port 443
- Verify you are using the correct API server:
api.sunsynk.netfor Sunsynk,pv.inteless.comfor Deye/Inteless - The Sunsynk API occasionally has outages — check Sunsynk service status or community forums
- Try the connection from your HA server:
curl -I https://api.sunsynk.net
The integration stores credentials in the HA config entry (HA's built-in encrypted storage). If credentials are lost after restart, your HA secrets/storage may have an issue. Try deleting and re-adding the integration.
- Check the inverter is online in the Sunsynk app (dongle LED green, data updating in app)
- Go to Settings → Devices & Services → Sunsynk → (⋮) → Reload to force a fresh fetch
- Check logs for errors during the
_async_update_datacall - The Sunsynk cloud itself may be slow — wait 10 minutes and try again
- The Sunsynk cloud updates inverter data every ~5 minutes regardless of your HA refresh interval
- If
Last Cloud Updatesensor is not advancing, the inverter is not sending data to the cloud (check dongle connection) - If
Last Cloud Updateadvances but HA values are stale, check yourRefresh Intervalsetting
These are dynamic sensors discovered on the first successful data fetch:
- MPPT sensors (
pv_mppt_1_power, etc.) — only created if the API returns MPPT data for your inverter - Phase sensors (
grid_phase_1_voltage, etc.) — only for 3-phase inverters - Battery slot sensors (
battery_slot_1_soc, etc.) — only if parallel battery packs report non-zero voltage
If the first data fetch failed, dynamic sensors are never registered. Fix the underlying issue (authentication, connectivity) and reload the integration. They will be created on the next successful fetch.
The integration requests a data refresh after each write. If the inverter rejects the value (e.g. out of range, firmware doesn't support it), the API returns the original value on the next fetch and the entity reverts. Check logs for API error responses.
- The inverter may be offline or not accepting commands
- Some settings require related settings to be written together (e.g. battery settings are always written as a group — the integration handles this automatically, but make sure the current settings are readable)
- Some settings only apply in certain work modes (e.g. time slot settings only matter when
sys_work_modeis set to Time of Use)
The integration uses ranges from the API response. If your inverter firmware reports different min/max values, reload the integration after a successful data fetch.
The auto-generated dashboard registration can fail if Lovelace's internal state is unusual. Check logs for Sunsynk: dashboard errors. Try reloading the integration. If it still doesn't appear, create the dashboard manually (see Dashboard).
The dashboard is generated from the entity registry at setup time. If entities were registered after the dashboard was generated (e.g. dynamic MPPT sensors appeared later), reload the integration to regenerate the dashboard.
The forecast cards are only included in the auto-generated dashboard when forecast entities are registered at dashboard generation time. Steps:
- Confirm forecast is configured — Settings → Devices & Services → Sunsynk → Configure → check kWp is set
- Check that
sensor.solar_forecast_todayexists in Settings → Entities - Reload the integration — Settings → Devices & Services → Sunsynk → (⋮) → Reload
- The dashboard will be regenerated including the forecast cards
- Check outbound internet access to
api.open-meteo.comfrom your HA server - Look in logs for
Open-Meteo request failed - Open-Meteo is free and rarely has outages, but it does happen — wait and it will retry in 30 minutes
- Verify your panel kWp value — this is the peak DC power of all your panels combined (e.g. 20 panels × 400W = 8.0 kWp)
- Adjust performance ratio — typical values: new system 0.80, older/dusty system 0.70, premium modern inverter 0.85
- The forecast uses GHI (horizontal irradiance) and does not account for panel tilt or azimuth — tilted south-facing panels will usually outperform the forecast on clear days, while flat or north-facing panels may underperform
This is correct. Open-Meteo returns 0 W/m² for irradiance during nighttime hours.
Each inverter is fetched independently. If one fails, the integration keeps the last known good data for that serial and logs an error. The working inverter continues updating normally. Check the failing inverter's serial number and its connectivity to the Sunsynk cloud.
Entity IDs are generated from the device alias (inverter name). If two inverters have the same alias, HA will append _2 to the second. Set unique aliases in the Sunsynk app for each inverter.
Open an issue at GitHub Issues and include:
- HA version (Settings → System → About)
- Integration version (HACS → Integrations → SunSynk HA Integration)
-
Inverter model and firmware version (
sensor.{prefix}_firmware_master_version) - Relevant log lines (with debug logging enabled)
- Steps to reproduce the problem