oneDOMUS

Developers

API Documentation

The oneDOMUS Weather API delivers current weather data as JSON, ready to use as a Virtual HTTP Input in Loxone Config. All values are also available individually as plain text.

Ready-to-use Loxone Config template

Download the template, replace YOUR_API_TOKEN with your own token and import via Loxone Config → right-click in Peripherals → Import template. All 13 inputs will be created immediately — no further settings needed.

Already have an active licence? Log in and download the file with your token pre-filled from your miniserver page.

Getting started

Installation in Loxone Config

Step by step from portal to working weather data

Part 1 — Portal
1

Log in to the portal at weerbericht.onedomus.nl/en/login. No account yet? Register your Miniserver first.

Portal dashboard
2

Click on your Miniserver to open the detail page. Then click Show token to reveal your API token.

Miniserver detail
3

Scroll to API token & Loxone URL and click Download XML — EN. The file already contains your token.

Your token is already filled in the downloaded file. No changes needed before continuing in Loxone Config.
Part 2 — Loxone Config
1

Open Loxone Config and connect to your Miniserver.

2

In the Peripherals panel, navigate to your Miniserver and click Virtual inputs.

Loxone Config peripherals
3

Click Predefined… in the toolbar at the top.

Loxone Config predefined
4

Choose Import template… from the dropdown menu.

Loxone Config import template
5

Navigate to the downloaded XML file and click Open.

The file is in your <em>Downloads</em> folder by default and is named <em>weerbericht-loxone-en.xml</em>.
6

Click Predefined… again. The template now appears under My templates. Click the name to create the inputs.

Loxone Config my templates
7

A message appears: "Please note that only general addresses have been entered…". Click OK.

Loxone Config notice
Ignore this message if you downloaded the file from the portal — your token is already correctly filled in. This message appears by default for every template.
8

Done! All 13 virtual inputs have been created under your Miniserver. You can now use them on any page in Loxone Config.

Loxone Config inputs created

Authentication

Every request requires an API token. Retrieve it via Dashboard → Miniserver → Show token. Pass it as a query parameter or X-Api-Key header.

Query parameter

https://weerbericht.onedomus.nl/?key=your_token

Header

GET / HTTP/1.1
X-Api-Key: your_token

Endpoints

GET /?key=your_token · application/json

Returns all weather values in a single JSON object. Recommended for use in Loxone — one request, all inputs.

Request

https://weerbericht.onedomus.nl/?key=your_token

Response (application/json)

{ "timestamp": "2025-06-25T10:00:00Z", "location_lat": 52.3676, "location_lon": 4.9041, "temperature_c": 18.4, "feels_like_c": 17.1, "humidity_pct": 68, "precipitation_mm": 0, "rain_mm": 0, "snowfall_cm": 0, "cloud_cover_pct": 25, "wind_speed_kmh": 14.4, "wind_direction_deg": 270, "wind_gusts_kmh": 22.0, "weather_code": 2, "is_raining": 0, "is_snowing": 0 }

Individual text endpoints

Each field is also available individually as plain text (text/plain).

EndpointFieldUnitExample response
/temperatureOutside temperature°C18.4
/precipitationPrecipitationmm/h0.4
/humidityHumidity%68
/windspeedWind speedkm/h14.4

Weather data fields

EndpointUnitRangeDescription
timestampISO 8601Measurement timestamp
location_lat°−90 – 90Latitude of the configured location
location_lon°−180 – 180Longitude of the configured location
temperature_c°C−40 – +50Current outdoor temperature at 2 metres
feels_like_c°C−50 – +60Apparent temperature (wind chill / heat index)
humidity_pct%0 – 100Relative humidity
precipitation_mmmm/h0 – ~100Total precipitation (rain + snow), current
rain_mmmm/h0 – ~100Rainfall only
snowfall_cmcm/h0 – ~20Snowfall
cloud_cover_pct%0 – 100Cloud cover — 0 = clear, 100 = fully overcast
wind_speed_kmhkm/h0 – ~150Wind speed at 10 metres
wind_direction_deg°0 – 360Wind direction — 0/360°=N, 90°=E, 180°=S, 270°=W
wind_gusts_kmhkm/h0 – ~200Wind gusts at 10 metres
weather_codeWMONumeric weather code (WMO, see table below)
is_raining0/10 – 11 when precipitation_mm > 0
is_snowing0/10 – 11 when snowfall_cm > 0

WMO Weather Codes (weather_code)

Clear & cloudy
0Clear sky
1Mainly clear
2Partly cloudy
3Overcast
Fog
45Fog
48Depositing rime fog
Drizzle
51Light drizzle
53Moderate drizzle
55Dense drizzle
Rain
61Slight rain
63Moderate rain
65Heavy rain
Showers
80Slight showers
81Moderate showers
82Violent showers
Snow
71Slight snow
73Moderate snow
75Heavy snow
77Snow grains
85Snow showers
86Heavy snow showers
Thunderstorm
95Thunderstorm
96Thunderstorm with hail
99Thunderstorm with heavy hail

HTTP Status Codes

CodeMeaning
200Success — the value is in the response body
401Missing or invalid token
402Licence expired — renew via the portal
502Weather data temporarily unavailable — try again

Caching & refresh

Weather data is refreshed every minute. The XML template is already configured correctly — import it and your Loxone Miniserver is ready to go.