Skip to content
HALOWERK

Datenwerk

weather trigger

Evaluates your conditions against the hourly DWD MOSMIX forecast of the nearest station: temperature, minimum near-ground temperature trend via temperature, mean wind, gusts, hourly precipitation and precipitation probability. Each condition (element, operator, value, within_hours) returns triggered yes/no, the first hour it is met and the extreme value, so an agent can schedule frost protection, storm preparation or irrigation. Source: Deutscher Wetterdienst.

POST https://daten.halowerk.com/v1/weather-trigger

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
latnumberYes
lonnumberYes
conditionsarrayYes
webhook_urlstringNoOptional: POST the new items as JSON to this public URL (one attempt, no retries).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "lat",
    "lon",
    "conditions"
  ],
  "properties": {
    "lat": {
      "type": "number",
      "minimum": 47.2,
      "maximum": 55.1
    },
    "lon": {
      "type": "number",
      "minimum": 5.8,
      "maximum": 15.1
    },
    "conditions": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "element",
          "op",
          "value"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 60
          },
          "element": {
            "type": "string",
            "enum": [
              "temp_c",
              "wind_ms",
              "gust_ms",
              "precip_mm_h",
              "precip_probability"
            ]
          },
          "op": {
            "type": "string",
            "enum": [
              "<",
              "<=",
              ">",
              ">="
            ]
          },
          "value": {
            "type": "number"
          },
          "within_hours": {
            "type": "integer",
            "minimum": 1,
            "maximum": 72,
            "default": 24
          }
        }
      }
    },
    "webhook_url": {
      "type": "string",
      "format": "uri",
      "maxLength": 1000,
      "description": "Optional: POST the new items as JSON to this public URL (one attempt, no retries)."
    }
  }
}

Open original schema

Published input example

{
  "lat": 52.21,
  "lon": 7.02,
  "conditions": [
    {
      "name": "frost",
      "element": "temp_c",
      "op": "<",
      "value": 0,
      "within_hours": 24
    },
    {
      "name": "storm",
      "element": "gust_ms",
      "op": ">=",
      "value": 20.8
    }
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’