SolarEdge One API unstable #29
Replies: 6 comments 2 replies
-
|
Yes, overnight and this morning for me as well. Although as of 11:00 GMT this morning it seems to have stabilised. Am guessing some kind of outage at SolarEdge!! |
Beta Was this translation helpful? Give feedback.
-
SolarEdge Optimizers – Log AnalysisAnalysis of Home Assistant log file Log period: 2026-03-08 12:47:15 → 2026-03-09 19:24:10 (UTC) — about 30 hours 37 minutes. SummaryAlmost all issues are SolarEdge’s servers returning 504 Gateway Time-out and 502 Bad Gateway. The integration treats these as temporary and, where implemented, falls back to cached data. No bugs in the integration logic were identified. 1. Prevalence by Endpoint / Use CaseFailures in the log are grouped by API endpoint / use case. Counts below are from this log only.
So in this log:
2. Error Types
All point to SolarEdge’s monitoring API ( 3. When Failures OccurIn this log, many failures are concentrated at night (e.g. 01:33–07:51 UTC on 2026-03-09), which often aligns with:
So the time of day is a common factor for when issues appear. 4. How the Integration Handles These
So the common areas where users see the most warnings/errors are:
5. Recommendations
Log file: |
Beta Was this translation helpful? Give feedback.
-
Reducing SolarEdge Portal API CallsThis document explains how the integration uses the SolarEdge monitoring portal and suggests ways to reduce the number of API calls. Current Call Pattern (SolarEdge One API)
Full refresh breakdownOn each full refresh the integration currently does:
So a single full refresh with SolarEdge One is up to 1 + 1 + N + 1 calls when caches are cold (e.g. ~20 for 17 optimizers). The dominant cost when caches are cold is per-optimizer lifetime energy (N requests); optimizer live data is a single batch POST. Recommendations to Reduce Calls1. Use one batch POST for full refreshBefore: Full refresh called After: Full refresh calls Effect: For 17 optimizers, each full refresh drops from 17 calls to 1 for optimizer live data. Same API endpoint and response shape; only the request payload is a list of all serials instead of one at a time. 2. Increase coordinator and light-check intervals (configurable)
Where: Trade-off: Dashboards and sensors update less often (e.g. every 5 min instead of 2). 3. Lengthen cache TTLs (optional)
Where: Trade-off: Layout, lifetime energy, and temperatures can be up to 2 h or 30 min stale after changes (e.g. new optimizer, or long-term energy totals). 4. Less frequent light checks when data is staleWhen there is no recent measurement (e.g. at night), the coordinator uses a 15 min interval for light checks. Increasing that to e.g. 30 min reduces night-time calls. Where: 5. Optional: configurable scan interval (future)Expose the coordinator interval (and possibly light-check / full-refresh behaviour) as an integration option so users can choose “fewer updates, fewer calls” vs “more frequent updates” without editing code. Summary
The single change that reduces portal load the most with no data trade-off is using one batch POST for all optimizers on full refresh (recommendation 1). |
Beta Was this translation helpful? Give feedback.
-
|
I'm currently looking at implementing 1. Use one batch POST for full refresh from the last post, towards the end of this week and currently testing to see what impact it has. |
Beta Was this translation helpful? Give feedback.
-
|
Around 24 hours now and looking a lot better, will aim to release a new version probably tomorrow. |
Beta Was this translation helpful? Give feedback.
-
|
Many thanks for the confirmation, with v2.4.12 I updated the integration to do a batch update of optimizers instead of doing one at a time, so that helped. But I also think SE were having issues!! Am going to close this discussion now, take care. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Just to give heads up, since last weekend the data from SolarEdge One# (One API) is very unstable and may result in Optimizers not showing after the upgrade to 2.4.11.
Just check in your SolarEdge webportal if data is being presented for the optimizers... to ensure the data is there ....
Beta Was this translation helpful? Give feedback.
All reactions