Hi @Erikje,
I wanted to report an issue I tracked down today which appears to be related to Mode Switch (com.modeswitch) v3.1.18.
For several days, Homey’s built-in Weather - Forecast widget was intermittently failing. The SHS logs repeatedly showed:
Homey [err][ManagerWeatherLocal] Error Getting Weather: Error: Rate Limited
and:
Server HTTP GET /manager/weather/weather -> Error 500: Rate Limited
while /manager/weather/state continued to return HTTP 200.
Athom Support specifically asked me to check whether an installed app could be accessing Homey’s Weather API frequently enough to trigger the rate limit.
After checking my complete Homey setup, Mode Switch turned out to be doing a weather read approximately every 8 seconds.
The breadcrumbs/logging contained entries such as:
07:44:36 weather_read_timeout (timeoutMs: 3000)
07:44:28 weather_read_timeout (timeoutMs: 3000)
07:44:20 weather_read_timeout (timeoutMs: 3000)
07:44:12 weather_read_timeout (timeoutMs: 3000)
07:44:04 weather_read_timeout (timeoutMs: 3000)
So that was roughly 450 weather reads per hour.
The interesting part is that I wasn’t actively using Mode Switch for my automations.
I only still had the Monitoring widget from Mode Switch on one of my dashboards.
I initially disabled Mode Switch. The repeated weather reads then stopped. After Homey’s rate limit cleared, the built-in Weather - Forecast widget started working normally again.
I have since removed Mode Switch completely from my Homey, so unfortunately I can no longer perform additional tests with my previous installation.
I’m posting this mainly because it looks like the app was polling Homey’s Weather API approximately every 8 seconds even though the relevant functionality wasn’t configured or actively being used.
I have also reported these findings to Athom Support.
Hopefully this information helps you identify what was causing the repeated weather polling in v3.1.18.