Limych / ha-gismeteo

Gismeteo Weather Provider for Home Assistant
Other
119 stars 21 forks source link

Timeout fetching gismeteo data #195

Closed VadimOmsk closed 3 months ago

VadimOmsk commented 3 months ago

System Health details

System Information

version core-2024.5.5
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.1.0-21-amd64
arch x86_64
timezone Asia/Omsk
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1406 Downloaded Repositories | 52 HACS Data | ok
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Debian GNU/Linux 12 (bookworm) -- | -- update_channel | stable supervisor_version | supervisor-2024.05.1 agent_version | 1.6.0 docker_version | 26.1.3 disk_total | 94.3 GB disk_used | 20.8 GB healthy | true supported | true supervisor_api | ok version_api | ok installed_addons | File editor (5.8.0), Mosquitto broker (6.4.1), MariaDB (2.7.1), Network UPS Tools (0.13.0), phpMyAdmin (0.9.1), Let's Encrypt (5.0.18), Zigbee2MQTT (1.37.1-1), Vaultwarden (Bitwarden) (0.21.2), Portainer (2.20.1), ESPHome (beta) (2024.5.4), Zigbee2MQTT Edge (edge), Samba share (12.3.1), Samba Backup (5.2.0), Terminal & SSH (9.14.0), AdGuard Home (5.1.0), Log Viewer (0.17.0), RPC Shutdown (2.5), SDR to Home Assistant (0.1.23), Matter Server (6.0.0)
Dashboards dashboards | 3 -- | -- resources | 36 views | 21 mode | storage
Recorder oldest_recorder_run | 2 мая 2024 г. в 07:07 -- | -- current_recorder_run | 31 мая 2024 г. в 22:19 estimated_db_size | 5183.12 MiB database_engine | mysql database_version | 10.11.6
Xiaomi Miot Auto component_version | 0.7.18 -- | -- can_reach_server | ok can_reach_spec | ok logged_accounts | 1 total_devices | 7

Checklist

Describe the issue

Integration can't get weather

Reproduction steps

  1. Configuration via gui or configuration.yaml
  2. gismeteo: my_home: name: "My city" latitude: 54.998815 longitude: 73.3594890 add_sensors: yes forecast_days: 2

...

Debug logs

2024-06-01 12:05:05.985 DEBUG (MainThread) [custom_components.gismeteo.cache] Initializing cache
2024-06-01 12:05:05.985 DEBUG (MainThread) [custom_components.gismeteo.api] Place coordinates: 54.998815, 73.359489
2024-06-01 12:05:05.985 DEBUG (MainThread) [custom_components.gismeteo.api] Requesting URL https://services.gismeteo.ru/inform-service/inf_chrome/cities/?lat=54.998815&lng=73.359489&count=1&lang=en
2024-06-01 12:05:05.986 DEBUG (MainThread) [custom_components.gismeteo.api] Cached response used
2024-06-01 12:05:05.986 DEBUG (MainThread) [custom_components.gismeteo.cache] Read cache file /config/.storage/gismeteo.location_54.998815_73.359489.xml
2024-06-01 12:05:05.986 DEBUG (MainThread) [custom_components.gismeteo.api] Requesting URL https://services.gismeteo.ru/inform-service/inf_chrome/forecast/?city=4578&lang=en
2024-06-01 12:05:05.986 DEBUG (MainThread) [custom_components.gismeteo.cache] Read cache file /config/.storage/gismeteo.forecast_4578.xml
2024-06-01 12:05:05.987 DEBUG (MainThread) [custom_components.gismeteo.api] Requesting URL https://services.gismeteo.ru/inform-service/inf_chrome/forecast/?city=4578&lang=en
2024-06-01 12:05:05.987 DEBUG (MainThread) [custom_components.gismeteo.api] Cached response used
2024-06-01 12:05:05.987 DEBUG (MainThread) [custom_components.gismeteo.cache] Read cache file /config/.storage/gismeteo.forecast_4578.xml
2024-06-01 12:05:05.988 DEBUG (MainThread) [custom_components.gismeteo.api] Requesting URL https://www.gismeteo.ru/weather-omsk-4578/10-days/
2024-06-01 12:05:15.987 ERROR (MainThread) [custom_components.gismeteo] Timeout fetching gismeteo data
2024-06-01 12:05:15.988 DEBUG (MainThread) [custom_components.gismeteo] Finished fetching gismeteo data in 10.001 seconds (success: False)

Diagnostics dump

No response

Limych commented 3 months ago

This is not a bug. Just for some reason the Gismeteo website did not respond.