{"id":46687889,"url":"https://github.com/s0rbus/steampipe-plugin-openmeteo","last_synced_at":"2026-03-09T02:34:27.904Z","repository":{"id":214644409,"uuid":"737014629","full_name":"s0rbus/steampipe-plugin-openmeteo","owner":"s0rbus","description":"Plugin for Steampipe to access weather data from Open-Meteo","archived":false,"fork":false,"pushed_at":"2024-01-23T18:20:28.000Z","size":65,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-21T19:54:05.598Z","etag":null,"topics":["postgresql","postgresql-fdw","sql","steampipe","steampipe-plugin","weather-forecast"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s0rbus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-29T14:46:40.000Z","updated_at":"2024-01-23T17:45:37.000Z","dependencies_parsed_at":"2023-12-29T16:27:30.987Z","dependency_job_id":"14db2391-a6ea-4ab5-88e6-c8100c2ee49b","html_url":"https://github.com/s0rbus/steampipe-plugin-openmeteo","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.5,"last_synced_commit":"25c6d4bae993dfc818355b2405f803b2ca395995"},"previous_names":["s0rbus/steampip-plugin-openmeteo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/s0rbus/steampipe-plugin-openmeteo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rbus%2Fsteampipe-plugin-openmeteo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rbus%2Fsteampipe-plugin-openmeteo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rbus%2Fsteampipe-plugin-openmeteo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rbus%2Fsteampipe-plugin-openmeteo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s0rbus","download_url":"https://codeload.github.com/s0rbus/steampipe-plugin-openmeteo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s0rbus%2Fsteampipe-plugin-openmeteo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30280930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:23:26.802Z","status":"ssl_error","status_checked_at":"2026-03-09T02:22:46.175Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["postgresql","postgresql-fdw","sql","steampipe","steampipe-plugin","weather-forecast"],"created_at":"2026-03-09T02:34:26.252Z","updated_at":"2026-03-09T02:34:27.890Z","avatar_url":"https://github.com/s0rbus.png","language":"Go","readme":"# Steampipe plugin for Open-Meteo\n\nhttps://open-meteo.com/\n\nUse SQL to query weather forecast data from Open-Meteo.\n\nThe plugin utilises the Go Open-Meteo client 'omgo' - https://github.com/HectorMalot/omgo/\n\nThis is in early development stages. Currently some hourly and daily forecast data is available.\n\nOpen_Meteo does not require registration or an API KEY but non-commercial use is limited to 10,000 requests per day. Rate limiting to address this has not yet been implemented/configured in the plugin.\n\nOnce installed, run a query (you must provide latitude and longitude):\n\n```sql\nselect\n   time,\n   temperature_2m,\n   precipitation_probability,\n   precipitation,\n   cloud_cover,\n   wind_speed_10m\nfrom\n   openmeteo_hourly_weather\nwhere\n   latitude = 51.5053\nand\n   longitude = -0.0755;\n```\n\n### Using another plugin for location\nIf you have a location plugin installed, for example s0rbus/locationiq, then you can combine the two using a join so that you can retrieve weather forecast data by placename\n\n```sql\nselect\n   to_char(t1.time, 'YYYY-MM-DD HH24:MI:SS') as date_time,\n   t2.address,\n   t1.temperature_2m,\n   t1.precipitation\nfrom\n   openmeteo_hourly_weather as t1,\n   locationiq_place2latlong as t2\nwhere\n   t1.forecastdays = 1\nand\n   t2.placequery = 'Cambridge, UK'\nand\n   t1.latitude = t2.latitude and t1.longitude = t2.longitude\norder by\n   time;\n```\n\n```\n+---------------------+-------------------------------------------------------------------------------------+----------------+---------------+\n| date_time           | address                                                                             | temperature_2m | precipitation |\n+---------------------+-------------------------------------------------------------------------------------+----------------+---------------+\n| 2024-01-23 00:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 6.2            | 0             |\n| 2024-01-23 01:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 5.8            | 0             |\n| 2024-01-23 02:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 5.4            | 0             |\n| 2024-01-23 03:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 4.9            | 0             |\n| 2024-01-23 04:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 4.6            | 0             |\n| 2024-01-23 05:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 4.2            | 0             |\n| 2024-01-23 06:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 4.4            | 0             |\n| 2024-01-23 07:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 4.6            | 0             |\n| 2024-01-23 08:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 4.9            | 0             |\n| 2024-01-23 09:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 5.4            | 0             |\n| 2024-01-23 10:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 6.4            | 0.3           |\n| 2024-01-23 11:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 7.4            | 0.6           |\n| 2024-01-23 12:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 8.2            | 1             |\n| 2024-01-23 13:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 8.9            | 0             |\n| 2024-01-23 14:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 9.4            | 0             |\n| 2024-01-23 15:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 10.1           | 0             |\n| 2024-01-23 16:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 11.3           | 0             |\n| 2024-01-23 17:00:00 | Cambridge, Cambridgeshire, Cambridgeshire and Peterborough, England, United Kingdom | 12.6           | 0             |\n+---------------------+-------------------------------------------------------------------------------------+----------------+---------------+\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0rbus%2Fsteampipe-plugin-openmeteo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs0rbus%2Fsteampipe-plugin-openmeteo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs0rbus%2Fsteampipe-plugin-openmeteo/lists"}