The Meteomatics driver connects to the Meteomatics Weather API to retrieve high-precision weather data, forecasts, and historical weather information. Meteomatics provides professional-grade weather data used in energy, agriculture, aviation, and building management.
The driver supports:
now, today, yesterday, tomorrow, or custom date/time offsets.
Driver key:
meteomatics— listed as Meteo Matics under IoT in Gateway driver. For a free forecast in Switzerland, France or Belgium, see Weather (CH/FR/BE); to choose: Using weather data in routes and logics.
login.meteomatics.com and api.meteomatics.com.Insert addresses for the weather parameters you need. The address builder provides a searchable list of all available Meteomatics parameters. Set a Polling on each address (section 3.2), then check that the Value column shows a value.
| Label | JSON Key | Description |
|---|---|---|
| Name | name | A descriptive name. |
| Cluster ID | cluster | Cluster identifier. |
| Description | description | Optional description. |
| Username | username | Meteomatics API username. |
| Password | password | Meteomatics API password. |
| Parallel queries | parallelReads | Number of simultaneous API requests. Default: 10. |
| Latitude | latitude | Geographic latitude of the location (e.g. 46.9481). |
| Longitude | longitude | Geographic longitude of the location (e.g. 7.4474). |
{
"username": "<account>",
"password": "<password>",
"parallelReads": 10,
"latitude": 46.9481,
"longitude": 7.4474
}
Addresses use the prefix %meteomatics: followed by a time reference and parameter path:
%meteomatics:<dateRef><operator><delta><unit>/<parameter>
Preset format examples:
%meteomatics:now/t_2m:C — current temperature at 2m in Celsius%meteomatics:now+1H/wind_speed_10m:ms — wind speed 1 hour from now%meteomatics:today/sunshine_duration_1h:min — today's sunshine duration%meteomatics:now/* — all available parameters for current timeTime references: now, today, yesterday, tomorrow, or custom date/time.
Operators: + or - with a delta value and unit (H = hours, M = minutes).
The address builder in the UI provides a searchable modal to browse and select from all available Meteomatics parameters.
| Label | JSON Key | Description |
|---|---|---|
| Name | name | The Meteomatics address (built using the preset or custom format). |
| Description | description | Optional description. |
| Polling | polling | Refresh interval in milliseconds (minimum 1000). 0 (default) = no periodic refresh: the value is fetched when the address is created or edited. Each refresh is one request counted against your Meteomatics quota; a forecast rarely needs more than one request every 15 to 60 minutes (900000 to 3600000). |
| Tab | Description |
|---|---|
| Addresses | Weather data addresses. |
| Statistics | Usage of your Meteomatics account (request counters and limits returned by the API), under %meteomatics:statistics/.... Updated when the gateway starts and when one of these addresses is read. |
| Driver | %meteomatics:driverStatus, %meteomatics:pendingOperationsStatus and %meteomatics:pendingQueriesStatus. |
/<latitude>,<longitude> to query a point other than the gateway location: %meteomatics:now/t_2m:C/46.2044,6.1432 (use the custom mode of the address builder).%meteomatics:now/t_2m:C,wind_speed_10m:ms. The driver creates one child address per parameter; polling is set on the parent only.Log and Store value work the same way for every driver: see Log and Store value policies.
| Property | Value |
|---|---|
| Readable | Yes, at the Polling of the address or on demand. Each read is one request on the account quota. |
| Writable | No (write error readonly) |
| Created automatically | Only the child addresses of a multi-parameter address (section 3.4). |
| Routable | Yes |
| Loggable | Yes |
Insert %meteomatics:now+3H/t_2m:C with Polling 1800000 (30 minutes) and route it to the controller that anticipates the heating. Ready-to-use examples (outdoor temperature to BACnet or KNX, sun protection, frost or wind alert): Using weather data in routes and logics.
| Symptom | Cause | What to do |
|---|---|---|
The gateway stays red; the log shows authentication failed at https://login.meteomatics.com/api/v1/token |
Wrong Username or Password, or no Internet access. | Check the credentials and the network settings of the device. |
Every address without an explicit location fails; the log shows missing latitude/longitude |
Latitude or Longitude is empty. | Fill in both fields. |
An address shows INVALID_API_STATUS; the log shows unexpected API status |
The API refused the request: unknown parameter or unit, parameter not included in the account, or quota used up. | Choose the parameter again in the address builder; check the Statistics tab. |
The log shows read <address> failed: ... (will retry on next poll) |
The request failed (network, timeout). | It is retried at the next polling. |
| The account runs out of requests | Polling too short, or too many addresses. | Raise the polling, group the parameters with the same polling in one address (section 3.4). |
Write error readonly |
Meteomatics addresses cannot be written. | — |
The log shows missing license |
No licence for the Meteomatics driver. | Contact support@weble.ch. |
To read the driver log, open the menu ☰ of the gateway and choose Logs (see Logs of a gateway).