Table of Contents

Open-Meteo DataSource

This App Extension adds ready-to-use 2sxc DataSources for the public Open-Meteo weather API. It lets you pull Current weather and/or Forecast data into 2sxc streams, so you can use it like any other DataSource in Visual Query / code.


Installation and Use

➡️ See Extension installation

The extension contains two DataSources:

  • OpenMeteoCurrent → current weather
  • OpenMeteoForecast → forecast data

Both DataSources accept configuration (see OpenMeteoParameters) and return data with a model matching the OpenMeteoResult.

For parameters you can set the following in code or Visual Query:

  • Latitude
  • Longitude

Optional parameters (recommended):

  • Timezone (e.g. Europe/Amsterdam, default is auto matching the coordinates)

Only parameters shown in the DataSource configuration UI are supported. Configure them either through Visual Query or via code when creating the DataSource.


  1. Add the DataSource Open-Meteo Current or Open-Meteo Forecast
  2. Set the configuration values (Latitude/Longitude/…)
  3. Connect it to your output
Tip

In the configuration UI, click the small map icon next to the coordinate fields to pick latitude/longitude from a map.