> For the complete documentation index, see [llms.txt](https://docs.dnt.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dnt.de/dnt-lw-wth/kommunikationsprotokoll/4.-geratemodi.md).

# 4. Gerätemodi

## 4.1 Get Mode Status

{% tabs %}
{% tab title="GET MODE STATUS" %}
Abfrage der aktiven Gerätemodi und des ausgewählten Wochenprogramms. Es können mehrere Modi gleichzeitig aktiv sein. Welcher Modus&#x20;davon vom Gerät ausgeführt wird, hängt von der Priorität der einzelnen&#x20;Modi ab (s. [8.4 Betriebsmodi](/dnt-lw-wth/funktion-and-gerateubersicht/8.-gerateverhalten/8.4-betriebsmodi.md)).

**Downlink**

| Byte | Bit(s) |        Value        |
| :--: | :----: | :-----------------: |
|   0  |    7   |         `IR`        |
|   0  |   6:0  | `0x0C` (Command ID) |

**Uplink**

<table><thead><tr><th width="213.727294921875" align="center">Byte</th><th width="195.6363525390625" align="center">Bit(s)</th><th align="center">Value</th></tr></thead><tbody><tr><td align="center">0</td><td align="center">7</td><td align="center">Res.</td></tr><tr><td align="center">0</td><td align="center">6:0</td><td align="center"><code>0x0C</code> (Command ID)</td></tr><tr><td align="center">1</td><td align="center">7:6</td><td align="center"><code>ID_ACTIVE_MAIN_MODE</code> </td></tr><tr><td align="center">1</td><td align="center">5:2</td><td align="center">Unused</td></tr><tr><td align="center">1</td><td align="center">1</td><td align="center"><code>ID_WINDOW_OPEN_MODE_ACTIVE</code></td></tr><tr><td align="center">1</td><td align="center">0</td><td align="center"><code>ID_EMERGENCY_MODE_ACTIVE</code></td></tr><tr><td align="center">2</td><td align="center">7:6</td><td align="center"><code>ID_SELECTED_WEEK_PROGRAM</code></td></tr><tr><td align="center">2</td><td align="center">5:0</td><td align="center">Res.</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

<details>

<summary>ID_ACTIVE_MAIN_MODE</summary>

|   Eigenschaft  |                                                                               Wert                                                                              |
| :------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|  Beschreibung  |                                                                  Aktiver Hauptmodus des Geräts                                                                  |
|      Größe     |                                                                              2 Bit                                                                              |
|  Wertebereich  |                                                                              0 - 3                                                                              |
|  Standardwert  |                                                                                0                                                                                |
| Interpretation | <p><code>0</code> → Manueller Temperatur-Modus</p><p><code>1</code> → Ungenutzt</p><p><code>2</code> → Automatik-Modus</p><p><code>3</code> → Urlaubs-Modus</p> |
|   Persistent   |                                                                                Ja                                                                               |
|     Zugriff    |                                                                               r/w                                                                               |

</details>

<details>

<summary>ID_WINDOW_OPEN_MODE_ACTIVE</summary>

<table><thead><tr><th align="center">Eigenschaft</th><th width="343.1875" align="center">Wert</th></tr></thead><tbody><tr><td align="center">Beschreibung</td><td align="center">Aktivitätsstatus des Fenster-offen-Modus</td></tr><tr><td align="center">Größe</td><td align="center">1 Bit</td></tr><tr><td align="center">Wertebereich</td><td align="center">0 - 1</td></tr><tr><td align="center">Standardwert</td><td align="center">-</td></tr><tr><td align="center">Interpretation</td><td align="center"><p><code>0</code> → Modus ist aktiv</p><p> <code>1</code> → Modus ist nicht Aktiv</p></td></tr><tr><td align="center">Persistent</td><td align="center">Nein</td></tr><tr><td align="center">Zugriff</td><td align="center">r</td></tr></tbody></table>

</details>

<details>

<summary>ID_EMERGENCY_MODE_ACTIVE</summary>

<table><thead><tr><th align="center">Eigenschaft</th><th width="343.1875" align="center">Wert</th></tr></thead><tbody><tr><td align="center">Beschreibung</td><td align="center">Aktivitätsstatus des Emergency-Modus</td></tr><tr><td align="center">Größe</td><td align="center">1 Bit</td></tr><tr><td align="center">Wertebereich</td><td align="center">0 - 1</td></tr><tr><td align="center">Standardwert</td><td align="center">-</td></tr><tr><td align="center">Interpretation</td><td align="center"><p><code>0</code> → Modus ist aktiv</p><p> <code>1</code> → Modus ist nicht Aktiv</p></td></tr><tr><td align="center">Persistent</td><td align="center">Nein</td></tr><tr><td align="center">Zugriff</td><td align="center">r</td></tr></tbody></table>

</details>

<details>

<summary>ID_SELECTED_WEEK_PROGRAM</summary>

|   Eigenschaft  |                                                           Wert                                                           |
| :------------: | :----------------------------------------------------------------------------------------------------------------------: |
|  Beschreibung  |                                       Ausgewähltes Wochenprogramm im Automatikmodus                                      |
|      Größe     |                                                           2 Bit                                                          |
|  Wertebereich  |                                                            0–2                                                           |
|  Standardwert  |                                                             0                                                            |
| Interpretation | <p><code>0</code> → Wochenprogramm 1</p><p><code>1</code> → Wochenprogramm 2</p><p><code>2</code> → Wochenprogramm 3</p> |
|   Persistent   |                                                            Ja                                                            |
|     Zugriff    |                                                            r/w                                                           |

</details>

***

### 4.2 SET MANUAL TEMPERATURE MODE

{% tabs %}
{% tab title="SET MANUAL TEMPERATURE MODE" %}
Aktivierung des manuellen Temperaturmodus des Geräts. In diesem Modus kann die Soll-Temperatur manuell vom Nutzer durch Senden des Befehls Set Set-Point Temperature (0x22) vorgegeben werden.

Dieser Modus ist einer der drei Hauptmodi, wovon immer nur einer aktiv&#x20;sein kann. Die Aktivierung dieses Modus führt automatisch zur Deaktivierung des aktuellen aktiven Haupt-modus.

**Beispiel**

```
0x0D = Manueller Temperaturmodus aktiv
```

**Downlink**

|      Byte     | Bit(s) |        Value        |
| :-----------: | :----: | :-----------------: |
|       0       |    7   |         Res.        |
|       0       |   6:0  | `0x0D` (Command ID) |
|  {% endtab %} |        |                     |
| {% endtabs %} |        |                     |

***

### 4.3 SET AUTO MODE

{% tabs %}
{% tab title="SET AUTO MODE" %}
Aktivierung des Automatikmodus, in dem das Gerät die Raumtemperatur&#x20;nach dem konfigurierten Wochenprogramm regelt. Durch den Befehl `Set Set-Point Temperature (0x22)` wird die aktuelle Soll-Temperatur bis zum&#x20;nächsten Schaltzeitpunkt mit der gesetzten Soll-Temperatur übersteuert.&#x20;Anschließend wird das Wochenprogramm regulär weiter ausgeführt.

Dieser Modus ist einer der drei Hauptmodi, wovon immer nur einer aktiv&#x20;sein kann. Die Aktivierung dieses Modus führt automatisch zur Deaktivierung des aktuellen aktiven Haupt-modus.

**Beispiel**

```
0x0F 01 = Automatikmodus mit Wochenprogramm 2
```

**Downlink**

|      Byte     | Bit(s) |            Value           |
| :-----------: | :----: | :------------------------: |
|       0       |    7   |            Res.            |
|       0       |   6:0  |     `0x0F` (Command ID)    |
|       1       |   6:1  |            Res.            |
|       1       |   1:0  | `ID_SELECTED_WEEK_PROGRAM` |
|  {% endtab %} |        |                            |
| {% endtabs %} |        |                            |

<details>

<summary>ID_SELECTED_WEEK_PROGRAM</summary>

|   Eigenschaft  |                                                           Wert                                                           |
| :------------: | :----------------------------------------------------------------------------------------------------------------------: |
|  Beschreibung  |                                       Ausgewähltes Wochenprogramm im Automatikmodus                                      |
|      Größe     |                                                           2 Bit                                                          |
|  Wertebereich  |                                                            0–2                                                           |
|  Standardwert  |                                                             0                                                            |
| Interpretation | <p><code>0</code> → Wochenprogramm 1</p><p><code>1</code> → Wochenprogramm 2</p><p><code>2</code> → Wochenprogramm 3</p> |
|   Persistent   |                                                            Ja                                                            |
|     Zugriff    |                                                            r/w                                                           |

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.dnt.de/dnt-lw-wth/kommunikationsprotokoll/4.-geratemodi.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
