Skip to content

ATAG ONE Binding ​

This binding integrates the ATAG ONE smart thermostat with openHAB. It talks to the thermostat either directly over the local network, or through the ATAG ONE portal. No MQTT broker is needed.

Supported Things ​

Thing IDDescription
thermostatATAG ONE thermostat (local network or portal)

Connection ​

The connection parameter selects how the binding reaches the thermostat.

ValueBehaviour
autoUses the portal when email and password are set, otherwise the local network (default).
localAlways uses the local network and needs hostname.
remoteAlways uses the portal and needs email and password.

The portal is the preferred connection. Changes made through it show up in the portal immediately, while the local API is polled on a fixed interval. The local connection stays available for diagnostics, and for the settings and measurements the portal does not carry.

Portal connection ​

Enter the email address and password of your ATAG ONE portal account on the Thing. The binding finds the thermostat on the account by itself, so a hostname is not needed. Only accounts with a single thermostat are supported.

The portal has no public API. The binding makes the same calls as the portal's web pages, so a change to those pages can break the portal connection.

The portal receives new measurements from the thermostat about every two minutes. The refresh interval is therefore at least 60 seconds with the portal connection, and a lower value is raised to 60. A change sent through the portal is visible in the portal at once, and reaches the thermostat within about two minutes.

If the portal rejects the credentials, the Thing goes OFFLINE with CONFIGURATION_ERROR and the message from the portal. The binding does not retry, because repeated failed logins lock the account. Correct the credentials and save the Thing to try again.

If the thermostat stops reporting to the portal, for example because its WiFi is down, the Thing goes OFFLINE with COMMUNICATION_ERROR after about ten minutes. It goes ONLINE again by itself once the thermostat reports again.

With connection on auto, entering only one of email and password is a CONFIGURATION_ERROR.

Portal and local network together ​

With connection on auto, a Thing that has both the portal account and a hostname uses the portal as its main source. The binding then also asks the thermostat on the local network for the three values the portal lacks. Writes always go through the portal.

If the thermostat does not answer locally, the Thing stays ONLINE and those three channels show UNDEF until it does. A thermostat that has not been paired locally yet is paired in the background, see Pairing below. Set connection to remote to use the portal alone.

Differences with the portal connection ​

AreaPortal connection
heating#modulation-levelNot available, shown as UNDEF, unless a hostname is set as well.
heating#boiler-temperatureNot available, shown as UNDEF, unless a hostname is set as well.
heating#boiler-return-temperatureNot available, shown as UNDEF, unless a hostname is set as well.
heating#target-temperature after a mode changeCan lag by up to about two minutes, until the thermostat reports again.
Fireplace modeCan be started. It can only be ended on the thermostat itself.

All other channels, actions and settings work the same way with both connections.

Discovery ​

The thermostat broadcasts a UDP datagram on port 11000 approximately every 10 seconds. The binding listens passively and creates an Inbox entry when it detects a device. Discovery is optional — the Thing can also be created manually (see below).

Pairing ​

Pairing applies to the local network. With the portal connection it only matters when a hostname is set as well. Pairing is normally automatic — no action is needed on the thermostat itself. The binding generates a stable client identifier on first contact and the Thing goes ONLINE directly.

If the thermostat instead requires manual confirmation, the Thing will go OFFLINE / CONFIGURATION_PENDING. In that case:

  1. Open the thermostat display.
  2. Navigate to Settings → Connected apps and press Accept.

The Thing transitions to ONLINE within a few seconds. On subsequent openHAB restarts the saved client ID is reused, so this step is not repeated.

Thing Configuration ​

ParameterTypeRequiredDefaultDescription
connectiontextnoautoauto, local or remote (advanced)
emailtextremote—Email address of the portal account
passwordtextremote—Password of the portal account
hostnametextlocal—IP address or hostname of the thermostat
portintegerno10000HTTP port of the local API
refreshIntervalintegerno30Poll interval in seconds, at least 60 with the portal connection
clientIdtextnoautoStable client identifier used for pairing (advanced)

Textual configuration example ​

dsl
Thing atagone:thermostat:boiler "ATAG ONE" [
    hostname        = "192.168.1.42",
    refreshInterval = 30
]

clientId is omitted — the binding generates one on first pairing and persists it automatically.

With the portal connection the Thing needs the portal account instead of a host:

dsl
Thing atagone:thermostat:boiler "ATAG ONE" [
    email           = "me@example.com",
    password        = "secret",
    refreshInterval = 60
]

Thing Properties ​

Populated from the device once it's paired, matching the portal's Account → Devices screen:

PropertyDescription
deviceIdThe ONE controller's own identifier (also the representation property)
serialNumberBoiler serial number (P-number)
vendorAlways ATAG
firmwareVersionFirmware version, parsed from the device's update-check URL
installerIdInstaller identifier, if the installer has registered one on the device

Channels ​

Channels are organized into five groups, by subsystem: Operating Mode (active preset and timed modes — the one cross-cutting exception, since a mode isn't specific to heating or hot water), Central Heating and Hot Water (setpoints, status, and settings per subsystem), Device (hardware diagnostics), and Alerts.

Operating Mode (control#) ​

Channel IDTypeRWDescription
control#preset-modeStringRWActive preset: manual, auto, holiday, extend, fireplace. The only channel that can activate or cancel a mode — see Preset modes
control#vacation-durationNumber:TimeRWVacation duration in days — value-setter only, writing it does not activate holiday mode. Resets to 0 on cancel
control#vacation-temperatureNumber:TemperatureRWSetpoint during vacation
control#vacation-startDateTimeRVacation period start (advanced)
control#vacation-endDateTimeRVacation period end (advanced)
control#vacation-remainingNumber:TimeRTime remaining in the current holiday period (advanced)
control#extend-durationNumber:TimeRWValue-setter only — writing it does not activate extend mode. In 15-minute increments, 15 min – 6 h. This is additional time on top of whatever's left until the device's next programmed schedule change, not an absolute session length. Persists across cancel (unlike the other two duration channels). See extend-remaining for the actual remaining-time countdown
control#extend-remainingNumber:TimeRTime remaining in the current extend session (advanced)
control#fireplace-durationNumber:TimeRWFireplace mode duration in hours, 1–24 — value-setter only, writing it does not activate fireplace mode. Reverts to the factory default (1 h) on cancel
control#fireplace-remainingNumber:TimeRTime remaining in the current fireplace session (advanced)
control#next-schedule-timeDateTimeRWhen the central heating schedule's next entry starts (advanced)
control#next-schedule-temperatureNumber:TemperatureRSetpoint the central heating schedule's next entry sets (advanced)

Central Heating (heating#) ​

Channel IDTypeRWDescription
heating#target-temperatureNumber:TemperatureRWTarget (setpoint) room temperature
heating#room-temperatureNumber:TemperatureRRoom temperature (built-in sensor)
heating#outside-temperatureNumber:TemperatureROutside Temperature (boiler estimate)
heating#weather-statusStringRWeather compensation status
heating#water-temperatureNumber:TemperatureRHeating Circuit Temperature
heating#return-temperatureNumber:TemperatureRHeating Circuit Return Temperature (advanced)
heating#water-pressureNumber:PressureRCH circuit water pressure
heating#delta-temperatureNumber:TemperatureRDifference between flow and return temperature (advanced)
heating#water-setpointNumber:TemperatureRBoiler Target Water Temperature (advanced)
heating#control-modeStringRWthermostat (room-sensor setpoint control) or weather-dependent (weather-compensated heating curve) — independent of preset-mode (advanced)
heating#flameSwitchRBurner flame active
heating#central-heating-activeSwitchRON when the boiler is actively serving central heating demand
heating#weather-temperatureNumber:TemperatureROutside temperature from the local weather service (advanced)
heating#modulation-levelNumber:DimensionlessRBurner modulation level (%)
heating#burning-hoursNumber:TimeRTotal burner hours
heating#time-to-targetNumber:TimeREstimated time to reach target temperature
heating#schedule-base-temperatureNumber:TemperatureRWCentral heating schedule's fallback temperature (advanced)
heating#scheduleStringRFull central heating week schedule as JSON (advanced)
heating#frost-protectionStringRWWhich sensor(s) frost protection uses: off, outside, inside, both (advanced)
heating#frost-protection-temperature-roomNumber:TemperatureRWIndoor threshold below which frost protection activates, 4–10 °C (advanced)
heating#frost-protection-temperature-outsideNumber:TemperatureRWOutdoor threshold below which frost protection activates, -10–5 °C (advanced)
heating#summer-eco-modeSwitchRWReduces heating activity once the outside temperature is warm enough (advanced)
heating#summer-eco-temperatureNumber:TemperatureRWOutside temperature above which summer eco mode activates (advanced)
heating#heating-typeStringRWInstalled heating system type, used by the weather-compensation algorithm (advanced)
heating#insulationStringRWBuilding insulation quality, used by the weather-compensation algorithm (advanced)
heating#building-sizeStringRWBuilding size, used by the weather-compensation algorithm (advanced)
heating#wdr-temperature-influenceStringRWHow strongly room temperature influences the weather-compensated heating curve (advanced)
heating#climate-zoneNumber:TemperatureRWReference outdoor design temperature for the local climate (advanced)
heating#max-preheatStringRWMaximum pre-heat time before a scheduled temperature change: off, 1h, 2h, 3h, or automatic (advanced)

Hot Water (hotwater#) ​

Channel IDTypeRWDescription
hotwater#target-temperatureNumber:TemperatureRHot Water Target Temperature — reflects the active schedule period
hotwater#temperatureNumber:TemperatureRHot Water Temperature
hotwater#hot-water-activeSwitchRON when the boiler is actively serving hot water demand
hotwater#schedule-base-temperatureNumber:TemperatureRWHot water schedule's fallback temperature — its bounds come from the device (10–65 °C on a combi boiler, wider on a system boiler with a 3-port valve kit) (advanced)
hotwater#scheduleStringRFull hot water week schedule as JSON (advanced)
hotwater#legionella-protectionSwitchRWPeriodically heats the tank above a threshold to kill legionella bacteria (advanced)
hotwater#legionella-protection-dayStringRWWeekday legionella protection runs on (advanced)
hotwater#legionella-protection-timeStringRWTime of day legionella protection starts at, as HH:mm (advanced)

Device (device#) ​

Channel IDTypeRWDescription
device#display-brightnessNumber:DimensionlessRWThermostat display brightness, 10–100% (advanced)
device#time-zoneStringRWConfigured time zone. Only berlin is device-confirmed; the other 9 cities are unverified — write at your own risk (advanced)
device#languageStringRWDisplay language: english, dutch, french, italian, or german — verified against the app (advanced)
device#wifi-signalNumber:DimensionlessRWiFi signal quality, 0 (no signal) to 4 (excellent) — bucketed rather than raw dBm, since openHAB has no display unit to pin dBm to and would otherwise render it as watts (advanced)

Further advanced diagnostic channels in the Device group (power supply, controller health) are also available (visible when Show advanced is enabled in the UI).

Alerts (alerts#) ​

Channel IDTypeRWDescription
alerts#device-errorsStringRActive device error codes
alerts#boiler-errorsStringRActive boiler error codes

Preset modes ​

preset-mode is the only channel that can ever activate or cancel a mode. The duration channels (vacation-duration, extend-duration, fireplace-duration) are pure value-setters — writing one only updates the stored default for that mode, it never triggers activation on its own, matching how the device itself treats a duration field written alone.

preset-mode accepts the following write values:

ValueDescription
autoFollow the programmed schedule. Also cancels whichever timed preset is currently active
manualHold the current target temperature indefinitely, ignoring the schedule. Reuses whichever temperature target-temperature last reported
holidayHold a fixed low temperature for the vacation period, using the currently stored vacation-duration (or the device's own configured default if none has been set)
fireplaceTemporarily reduce setpoint (fireplace warmth compensation), using the currently stored fireplace-duration (or 1 hour if none has been set)
extendTemporarily extend the current schedule block, using the currently stored extend-duration as additional time on top of whatever's left until the device's next programmed schedule change — not an absolute session length (or the device's own configured default if none has been set)

Writing an unknown value is rejected with a warning and the item reverts to its last known state.

The "device's own configured default" for holiday and extend isn't itself a channel — it's a fixed value the device stores and this binding reads once per poll, purely as the fallback used when activating that mode with no duration set. There's nothing to configure from openHAB's side.

To activate a mode with a custom duration in a single write, instead of first writing the duration channel and then preset-mode, use the Actions below.

Use vacation-remaining, extend-remaining, or fireplace-remaining to see the actual countdown in an active timed preset; the duration channels themselves only show the stored request value.

Holiday (vacation) mode ​

Holiday mode holds a fixed low temperature for a defined period.

dsl
Number:Time  atagone_vacation_duration  "Vacation duration"  { channel="atagone:thermostat:boiler:control#vacation-duration" }
String       atagone_preset             "Preset mode"        { channel="atagone:thermostat:boiler:control#preset-mode" }

To start it with a specific duration: write it to vacation-duration first, then write preset-mode = holiday. Writing preset-mode = holiday alone reuses the currently-active vacation-duration if a holiday is already running, otherwise starts one using the device's own stored default duration (typically 7 days, but reflects whatever was last configured on the thermostat or in its app). For a one-write custom-duration activation, use the activateVacation action instead.

vacation-duration resets to 0 whenever a holiday period is cancelled — it does not persist across cancel the way extend-duration does.

vacation-start and vacation-end are read-only status channels that report the currently running period; they cannot be written directly, but a future start can be scheduled via the activateVacation action's underlying mechanism. Rewriting a pending/future-scheduled start before it has begun is unsupported and can reset the device — treat a scheduled vacation as write-once until it either starts or is cancelled.

Cancel by writing preset-mode = auto.

Fireplace mode ​

Fireplace mode temporarily reduces the setpoint for warmth compensation while a fireplace is in use.

dsl
Number:Time  atagone_fireplace  "Fireplace duration"  { channel="atagone:thermostat:boiler:control#fireplace-duration" }
String       atagone_preset     "Preset mode"          { channel="atagone:thermostat:boiler:control#preset-mode" }

To start it with a specific duration: write it to fireplace-duration first (any time unit is accepted, e.g. 2 h or 7200 s), then write preset-mode = fireplace. Writing preset-mode = fireplace alone reuses the currently stored duration. For a one-write custom-duration activation, use the activateFireplace action instead.

Reading fireplace-duration returns the stored default duration from the device (the value used when fireplace mode is activated from the physical thermostat). Unlike extend-duration, this value does not persist across cancel — it always reverts to the factory default (1 h).

Cancelling fireplace mode via the API does not take effect on its own. Writing preset-mode = auto is accepted by the device but requires confirming on the thermostat's physical display before it actually takes effect — this is confirmed device behavior, not a binding limitation, and no payload avoids it. The binding logs a warning when this happens. The cancelMode action reports this explicitly via its requiresPhysicalConfirmation output.

Actions ​

The binding registers ten Thing Actions under the atagone scope: four for activating or cancelling a mode with a custom duration in a single call, instead of the two-write channel pattern described above (set the duration channel, then preset-mode); four for editing weekly schedules period-by-period, which no channel exposes at all; and two for replacing a whole week's schedule in one device write.

ActionDescription
activateVacation(int days)Activates holiday mode immediately for the given number of days
activateExtend(int minutes)Activates extend mode immediately, additive to the time remaining until the next schedule boundary; minutes must be a multiple of 15
activateFireplace(int hours)Activates fireplace mode immediately for the given number of hours, 1 to 24 (hours, not seconds)
cancelMode()Cancels whichever timed preset is currently active or pending and returns to auto. Returns true if the mode being left is fireplace, meaning the write is accepted but requires confirming on the thermostat's physical display to actually take effect
setChSchedulePeriod(String weekday, LocalTime start, LocalTime end, double temperatureCelsius)Sets one time period in a weekday's central heating schedule, keyed by its start. A period that starts at the same time is replaced, and an earlier period that runs past start has its end trimmed to start. An end of 00:00 means midnight at the end of the day
clearChSchedulePeriod(String weekday, LocalTime start)Removes the time period that starts at start from a weekday's central heating schedule
setDhwSchedulePeriod(String weekday, LocalTime start, LocalTime end, double temperatureCelsius)Same as setChSchedulePeriod, for the hot water schedule
clearDhwSchedulePeriod(String weekday, LocalTime start)Same as clearChSchedulePeriod, for the hot water schedule
setChSchedule(String json)Replaces the central heating schedule in one device write, same JSON shape as the heating#schedule channel
setDhwSchedule(String json)Same as setChSchedule, for the hot water schedule

Each activation/cancel action composes the same multi-field write the corresponding preset-mode channel value uses internally (e.g. activateVacation sets both ch_mode and the device's start_vacation field in one request) — vacation in particular cannot be activated with ch_mode alone, and cancelMode handles the active-vs-pending distinction for cancelling a vacation automatically, so a script author never needs to know these details.

The schedule actions take a weekday name (monday..sunday), not a raw day number — the device uses two different, unrelated weekday numbering schemes internally, and a name sidesteps that ambiguity. weekday is case-insensitive. Scripts that cannot construct a LocalTime can pass "HH:mm" strings for start and end to setChSchedulePeriod and setDhwSchedulePeriod instead. Every call resends the entire week's schedule with only the targeted period changed; writing a schedule has been observed to make the thermostat briefly unresponsive (around 100 seconds), so avoid calling these from a tight loop or in response to frequent events.

Periods are half-open, so one period ending exactly when the next starts is not an overlap. setChSchedulePeriod/setDhwSchedulePeriod reject a period that overlaps a later one, or sits inside a longer earlier one, which would need splitting. setChSchedule/setDhwSchedule never trim: any overlap within a weekday rejects the whole call. Rejection returns false with no write sent.

setChSchedule/setDhwSchedule take the same JSON shape heating#schedule/hotwater#schedule publish:

json
{"baseTemp":22.5,"days":{"monday":[{"start":360,"end":1260,"temp":20.5}],"tuesday":[],"wednesday":[],"thursday":[],"friday":[],"saturday":[],"sunday":[]}}

start/end here are minutes since midnight, unlike the HH:mm times the per-period actions take. A weekday absent from days is resent unchanged from the last poll, so a caller only needs to name the day(s) it actually edited — the device still requires the whole schedule object on every write, the binding composes that from the JSON given plus what it last polled. baseTemp is optional and defaults to the current value. One call replaces up to a full week in a single device write, rather than one write per period at the firmware's 2-second minimum interval between requests. Both actions return true once the write is parsed, validated and queued — not once the device has confirmed it, since confirmation can take up to the ~100 s mentioned above; watch the corresponding schedule channel, which republishes as soon as the device acknowledges the write, to see the confirmed result.

Example from a rule:

javascript
actions.thingActions("atagone", "atagone:thermostat:boiler").activateFireplace(2);
actions.thingActions("atagone", "atagone:thermostat:boiler").setChSchedulePeriod("monday", "06:00", "22:00", 20.0);
actions.thingActions("atagone", "atagone:thermostat:boiler").setChSchedule('{"days":{"monday":[{"start":360,"end":1320,"temp":20.0}]}}');

Full example ​

atagone.items ​

dsl
Number:Temperature  CH_Room_Temp        "Room [%.1f °C]"      { channel="atagone:thermostat:boiler:heating#room-temperature" }
Number:Temperature  CH_Target_Temp      "Target [%.1f °C]"    { channel="atagone:thermostat:boiler:heating#target-temperature" }
String              CH_Preset           "Preset [%s]"         { channel="atagone:thermostat:boiler:control#preset-mode" }
Number:Time         CH_Vacation_Duration "Vacation duration [%.0f %unit%]" { channel="atagone:thermostat:boiler:control#vacation-duration" }
Number:Temperature  CH_Vacation_Temp    "Vacation temp [%.1f °C]" { channel="atagone:thermostat:boiler:control#vacation-temperature" }
Number:Time         CH_Fireplace        "Fireplace [%.1f %unit%]" { channel="atagone:thermostat:boiler:control#fireplace-duration" }
Switch              CH_Flame            "Flame"               { channel="atagone:thermostat:boiler:heating#flame" }
Number:Temperature  DHW_Temp            "DHW [%.1f °C]"       { channel="atagone:thermostat:boiler:hotwater#temperature" }
Number:Pressure     CH_Water_Pressure   "Pressure [%.2f bar]" { channel="atagone:thermostat:boiler:heating#water-pressure" }