You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optionally limit concurrent HTTP requests by context-group #35752
Problem
In my situation there are several PV forecasts for the different roof-segments and orientations present. In addition also a temperature forecast. All are using Open-Meteo.
Regularly I get a HTTP 429 (too many requests) response. After consulting the logs it turned out that the free Open-Meteo API only allows maximally 5 concurrent requests.
Therefore it makes sense to limit the number of concurrent HTTP requests for certain situations.
Proposed Solution
It would make sense to add an optional, generic concurrency configuration to the HTTP plugin containing a group and a limit.
The configuration would be in the forecast template. In the above case the group would be open-meteo and the limit5.
All HTTP plugin instances with the same group would share the same semaphore with the configured limit over which the concurrency-limitation could be handled.
Feature request, no defect found. The HTTP plugin (plugin/http.go) has no shared concurrency limiting today, so each Open-Meteo forecast instance (PV segments, temperature) issues its requests independently. A shared per-group semaphore as proposed looks technically feasible, but adds a new generic plugin option and template syntax, so it needs a maintainer decision on the design. An alternative could be to stagger or serialize requests within the Open-Meteo integration itself.
Activity
github-actions commentedon Nov 3, 2026
Feature request, no defect found. The HTTP plugin (
plugin/http.go) has no shared concurrency limiting today, so each Open-Meteo forecast instance (PV segments, temperature) issues its requests independently. A shared per-group semaphore as proposed looks technically feasible, but adds a new generic plugin option and template syntax, so it needs a maintainer decision on the design. An alternative could be to stagger or serialize requests within the Open-Meteo integration itself.No related or duplicate issues found.
🤖 Generated with Claude Code
andig commentedon Nov 5, 2026
Please provide HTTP trace log including headers. This will show if we can handle this automatically. Closing until available.
Clamenda commentedon Nov 6, 2026
Here the relevant trace log with 2 of the 7 concurrent request, including the failing one:
[db:12 ] TRACE 2026/11/06 08:37:53 GET https://api.open-meteo.com/v1/forecast?latitude=46.75&longitude=8.0&azimuth=-84&tilt=30&minutely_15=temperature_2m,global_tilted_irradiance_instant&daily=sunrise,sunset&forecast_days=5&timezone=GMT&timeformat=unixtime&models=meteoswiss_icon_seamless
[db:12 ] TRACE 2026/11/06 08:37:53
GET /v1/forecast?latitude=46.75&longitude=8.0&azimuth=-84&tilt=30&minutely_15=temperature_2m,global_tilted_irradiance_instant&daily=sunrise,sunset&forecast_days=5&timezone=GMT&timeformat=unixtime&models=meteoswiss_icon_seamless HTTP/1.1
Host: api.open-meteo.com
User-Agent: evcc/0.318.1
Accept-Encoding: gzip
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Date: Fri, 06 Nov 2026 07:37:53 GMT
X-Cached-Time: 2026-11-06T07:37:53Z
X-Ratelimit-Cost: 1.0
X-Ratelimit-Limit: 600.0
X-Ratelimit-Remaining: 599.0
X-Ratelimit-Reset: 1793950716
X-Ratelimit-Window: 60
X-Request-Time: 2026-11-06T07:37:53Z
X-Response-Time: 2026-11-06T07:37:53Z
279c
{"latitude":46.762512,"longitude":7.999878,"generationtime_ms":0.2130270004272461,"utc_offset_seconds":0,"timezone":"GMT","timezone_abbreviation":"GMT","elevation":516.0,"minutely_15_units":{"time":"unixtime","temperature_2m":"°C","global_tilted_irradiance_instant":"W/m²"},"minutely_15":{"time":[1793923200,1793924100,1793925000,1793925900,1793926800,1793927700,1793928600,1793929500,1793930400,1793931300,1793932200,1793933100,1793934000,1793934900,1793935800,1793936700,1793937600,1793938500,1793939400,1793940300,1793941200,1793942100,1793943000,1793943900,1793944800,1793945700,1793946600,1793947500,1793948400,1793949300,1793950200,1793951100,1793952000,1793952900,1793953800,1793954700,1793955600,1793956500,1793957400,1793958300,1793959200,1793960100,1793961000,1793961900,1793962800,1793963700,1793964600,1793965500,1793966400,1793967300,1793968200,1793969100,1793970000,1793970900,1793971800,1793972700,1793973600,1793974500,1793975400,1793976300,1793977200,1793978100,1793979000,1793979900,1793980800,1793981700,1793982600,1793983500,1793984400,1793985300,1793986200,1793987100,1793988000,1793988900,1793989800,1793990700,1793991600,1793992500,1793993400,1793994300,1793995200,1793996100,1793997000,1793997900,1793998800,1793999700,1794000600,1794001500,1794002400,1794003300,1794004200,1794005100,1794006000,1794006900,1794007800,1794008700,1794009600,1794010500,1794011400,1794012300,1794013200,1794014100,1794015000,1794015900,1794016800,1794017700,1794018600,1794019500,1794020400,1794021300,1794022200,1794023100,1794024000,1794024900,1794025800,1794026700,1794027600,1794028500,1794029400,1794030300,1794031200,1794032100,1794033000,1794033900,1794034800,1794035700,1794036600,1794037500,1794038400,1794039300,1794040200,1794041100,1794042000,1794042900,1794043800,1794044700,1794045600,1794046500,1794047400,1794048300,1794049200,1794050100,1794051000,1794051900,1794052800,1794053700,1794054600,1794055500,1794056400,1794057300,1794058200,1794059100,1794060000,1794060900,1794061800,1794062700,1794063600,1794064500,1794065400,1794066300,1794067200,1794068100,1794069000,1794069900,1794070800,1794071700,1794072600,1794073500,1794074400,1794075300,1794076200,1794077100,1794078000,1794078900,1794079800,1794080700,1794081600,1794082500,1794083400,1794084300,1794085200,1794086100,1794087000,1794087900,1794088800,1794089700,1794090600,1794091500,1794092400,1794093300,1794094200,1794095100,1794096000,1794096900,1794097800,1794098700,1794099600,1794100500,1794101400,1794102300,1794103200,1794104100,1794105000,1794105900,1794106800,1794107700,1794108600,1794109500,1794110400,1794111300,1794112200,1794113100,1794114000,1794114900,1794115800,1794116700,1794117600,1794118500,1794119400,1794120300,1794121200,1794122100,1794123000,1794123900,1794124800,1794125700,1794126600,1794127500,1794128400,1794129300,1794130200,1794131100,1794132000,1794132900,1794133800,1794134700,1794135600,1794136500,1794137400,1794138300,1794139200,1794140100,1794141000,1794141900,1794142800,1794143700,1794144600,1794145500,1794146400,1794147300,1794148200,1794149100,1794150000,1794150900,1794151800,1794152700,1794153600,1794154500,1794155400,1794156300,1794157200,1794158100,1794159000,1794159900,1794160800,1794161700,1794162600,1794163500,1794164400,1794165300,1794166200,1794167100,1794168000,1794168900,1794169800,1794170700,1794171600,1794172500,1794173400,1794174300,1794175200,1794176100,1794177000,1794177900,1794178800,1794179700,1794180600,1794181500,1794182400,1794183300,1794184200,1794185100,1794186000,1794186900,1794187800,1794188700,1794189600,1794190500,1794191400,1794192300,1794193200,1794194100,1794195000,1794195900,1794196800,1794197700,1794198600,1794199500,1794200400,1794201300,1794202200,1794203100,1794204000,1794204900,1794205800,1794206700,1794207600,1794208500,1794209400,1794210300,1794211200,1794212100,1794213000,1794213900,1794214800,1794215700,1794216600,1794217500,1794218400,1794219300,1794220200,1794221100,1794222000,1794222900,1794223800,1794224700,1794225600,1794226500,1794227400,1794228300,1794229200,1794230100,1794231000,1794231900,1794232800,1794233700,1794234600,1794235500,1794236400,1794237300,1794238200,1794239100,1794240000,1794240900,1794241800,1794242700,1794243600,1794244500,1794245400,1794246300,1794247200,1794248100,1794249000,1794249900,1794250800,1794251700,1794252600,1794253500,1794254400,1794255300,1794256200,1794257100,1794258000,1794258900,1794259800,1794260700,1794261600,1794262500,1794263400,1794264300,1794265200,1794266100,1794267000,1794267900,1794268800,1794269700,1794270600,1794271500,1794272400,1794273300,1794274200,1794275100,1794276000,1794276900,1794277800,1794278700,1794279600,1794280500,1794281400,1794282300,1794283200,1794284100,1794285000,1794285900,1794286800,1794287700,1794288600,1794289500,1794290400,1794291300,1794292200,1794293100,1794294000,1794294900,1794295800,1794296700,1794297600,1794298500,1794299400,1794300300,1794301200,1794302100,1794303000,1794303900,1794304800,1794305700,1794306600,1794307500,1794308400,1794309300,1794310200,1794311100,1794312000,1794312900,1794313800,1794314700,1794315600,1794316500,1794317400,1794318300,1794319200,1794320100,1794321000,1794321900,1794322800,1794323700,1794324600,1794325500,1794326400,1794327300,1794328200,1794329100,1794330000,1794330900,1794331800,1794332700,1794333600,1794334500,1794335400,1794336300,1794337200,1794338100,1794339000,1794339900,1794340800,1794341700,1794342600,1794343500,1794344400,1794345300,1794346200,1794347100,1794348000,1794348900,1794349800,1794350700,1794351600,1794352500,1794353400,1794354300],"temperature_2m":[5.0,5.0,4.9,4.9,4.9,4.9,4.9,4.9,4.9,4.9,4.9,4.8,4.8,4.8,4.8,4.8,4.8,4.9,5.0,5.1,5.1,5.1,5.1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,5.8,5.9,5.9,5.8,5.6,5.6,5.6,5.7,5.7,5.8,5.8,5.8,5.8,5.8,5.8,5.7,5.6,5.6,5.7,5.8,5.9,6.0,6.1,6.2,6.2,6.3,6.3,6.2,6.1,6.1,6.2,6.4,6.6,6.8,6.8,6.9,6.9,7.0,7.2,7.4,7.7,8.0,8.4,8.8,9.3,9.7,10.2,10.6,11.0,11.4,11.8,12.1,12.3,12.6,12.8,12.9,13.0,13.0,13.0,13.0,12.9,12.8,12.5,12.1,11.8,11.5,11.3,11.2,11.0,10.9,10.8,10.6,10.5,10.3,10.2,10.1,10.0,10.0,10.1,10.4,10.6,10.8,10.9,11.0,11.0,10.9,10.6,10.2,9.8,9.5,9.5,9.5,9.6,9.7,9.7,9.8,9.8,9.9,9.9,10.0,10.0,10.0,10.0,10.0,9.9,9.9,9.9,10.0,10.0,10.0,9.9,9.9,9.9,9.8,9.7,9.5,9.4,9.3,9.3,9.4,9.4,9.5,9.4,9.4,9.3,9.3,9.3,9.3,9.3,9.3,9.4,9.5,9.5,9.6,9.7,9.8,9.9,10.0,10.2,10.3,10.5,10.6,10.8,11.0,11.1,11.3,11.4,11.5,11.6,11.7,11.8,11.9,12.0,12.1,12.1,12.0,11.9,11.8,11.7,11.6,11.5,11.5,11.4,11.4,11.4,11.4,11.4,11.5,11.5,11.5,11.6,11.6,11.7,11.7,11.7,11.7,11.7,11.6,11.6,11.6,11.5,11.5,11.5,11.6,11.6,11.6,11.7,11.8,11.9,11.9,12.0,12.0,12.0,12.1,12.1,12.1,12.2,12.2,12.1,12.1,12.0],"global_tilted_irradiance_instant":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,5.5,...
[db:9 ] TRACE 2026/11/06 08:37:53 GET https://api.open-meteo.com/v1/forecast?latitude=46.75&longitude=8.0&azimuth=6&tilt=18&minutely_15=temperature_2m,global_tilted_irradiance_instant&daily=sunrise,sunset&forecast_days=5&timezone=GMT&timeformat=unixtime&models=meteoswiss_icon_seamless
[db:9 ] TRACE 2026/11/06 08:37:53
GET /v1/forecast?latitude=46.75&longitude=8.0&azimuth=6&tilt=18&minutely_15=temperature_2m,global_tilted_irradiance_instant&daily=sunrise,sunset&forecast_days=5&timezone=GMT&timeformat=unixtime&models=meteoswiss_icon_seamless HTTP/1.1
Host: api.open-meteo.com
User-Agent: evcc/0.318.1
Accept-Encoding: gzip
HTTP/1.1 429 Too Many Requests
Connection: keep-alive
Content-Type: application/json; charset=utf-8
Date: Fri, 06 Nov 2026 07:37:53 GMT
X-Request-Time: 2026-11-06T07:37:53Z
X-Response-Time: 2026-11-06T07:37:53Z
{"reason":"Too many concurrent requests","error":true}
[main ] ERROR 2026/11/06 08:37:53 creating tariff db:9 failed: cannot create tariff type 'template:open-meteo': cannot create tariff type 'custom': unexpected status: 429 (Too Many Requests) GET https://api.open-meteo.com/v1/forecast?latitude=46.75&longitude=8.0&azimuth=6&tilt=18&minutely_15=temperature_2m,global_tilted_irradiance_instant&daily=sunrise,sunset&forecast_days=5&timezone=GMT&timeformat=unixtime&models=meteoswiss_icon_seamless
github-actions commentedon Nov 6, 2026
Test binaries for the fix in #35898 are ready to test:
docker pull evcc/evcc:pr-35898github-actions commentedon Nov 6, 2026
Test binaries for the fix in #35898 are ready to test:
docker pull evcc/evcc:pr-35898