> 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-etrv-c/kommunikationsprotokoll/8.-fenster-offen.md).

# 8. Fenster Offen

## 8.1 Fenster-Offen-Status

{% tabs %}
{% tab title="GET WINDOW OPEN STATUS" %}
Abfrage des Fenster-Offen-Status.

**Downlink**

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

**Uplink**

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

{% tab title="SET WINDOW OPEN STATUS" %}
Setzen des Fenster-Offen-Status.

**Beispiel**

```
2F01h = Fenster geöffnet
```

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

<details>

<summary>ID_WINDOW_OPEN_STATUS</summary>

|   Eigenschaft  |                                       Wert                                       |
| :------------: | :------------------------------------------------------------------------------: |
|  Beschreibung  |                      Extern gemeldeter Fenster-Offen-Status.                     |
|      Größe     |                                       1 Bit                                      |
|  Wertebereich  |                                       0 - 1                                      |
|  Standardwert  |                                         -                                        |
| Interpretation | <p><code>0</code> → Fenster geschlossen</p><p><code>1</code> → Fenster Offen</p> |
|   Persistent   |                                       Nein                                       |
|     Zugriff    |                                        r/w                                       |

</details>

***

## 8.2 Fenster-Offen-Erkennung Konfiguration

{% tabs %}
{% tab title="GET WINDOW OPEN DETECTION CONFIG" %}
Abfrage der Konfiguration der Fenster-Offen-Erkennung.

**Downlink**

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

**Uplink**

<table><thead><tr><th width="115.9998779296875" align="center">Byte</th><th width="187.60009765625" 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>0x30</code> (Command ID)</td></tr><tr><td align="center">1</td><td align="center">7:5</td><td align="center">Res.</td></tr><tr><td align="center">1</td><td align="center">4:3</td><td align="center"><code>ID_WINDOW_OPEN_DETECTION_SOURCE</code></td></tr><tr><td align="center">1</td><td align="center">2:0</td><td align="center"><code>ID_WINDOW_OPEN_DETECTION_ENABLE_MODE_CONFIG</code></td></tr><tr><td align="center">2</td><td align="center">7:5</td><td align="center"><code>ID_TEMPERATUREFALL_WINDOW_OPEN_DURATION</code></td></tr><tr><td align="center">2</td><td align="center">4:0</td><td align="center"><code>ID_TEMPERATUREFALL_TEMPERATURE_DELTA</code></td></tr><tr><td align="center">3</td><td align="center">7:0</td><td align="center"><code>ID_TEMPERATURE_WINDOW_OPEN</code></td></tr></tbody></table>
{% endtab %}

{% tab title="SET WINDOW OPEN DETECTION CONFIG" %}
Konfiguration der Fenster-Offen-Erkennung.

**Beispiel**

```
310F2A18h = Externe Fenster-Offen-Erkennung, aktiv in allen Modi, 20 Min. Rücksetzzeit, 1,5 °C Delta, 12,0 °C Fenster-Offen-Temperatur
```

<table><thead><tr><th width="155.818115234375" align="center">Byte</th><th width="169.272705078125" 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>0x31</code> (Command ID)</td></tr><tr><td align="center">1</td><td align="center">7:5</td><td align="center">Res.</td></tr><tr><td align="center">1</td><td align="center">4:3</td><td align="center"><code>ID_WINDOW_OPEN_DETECTION_SOURCE</code></td></tr><tr><td align="center">1</td><td align="center">2:0</td><td align="center"><code>ID_WINDOW_OPEN_DETECTION_EN_MODE_CONFIG</code></td></tr><tr><td align="center">2</td><td align="center">7:5</td><td align="center"><code>ID_TEMPERATUREFALL_WINDOW_OPEN_DURATION</code> </td></tr><tr><td align="center">2</td><td align="center">4:0</td><td align="center"><code>ID_TEMPERATUREFALL_TEMPERATURE_DELTA</code></td></tr><tr><td align="center">3</td><td align="center">7:0</td><td align="center"><code>ID_TEMPERATURE_WINDOW_OPEN</code></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

<details>

<summary>ID_WINDOW_OPEN_DETECTION_SOURCE</summary>

|   Eigenschaft  |                                      Wert                                      |
| :------------: | :----------------------------------------------------------------------------: |
|  Beschreibung  |               Auswahl der Quelle für die Fenster-Offen-Erkennung.              |
|      Größe     |                                      2 Bit                                     |
|  Wertebereich  |                                      0 - 1                                     |
|  Standardwert  |                                        0                                       |
| Interpretation | `0` → interne Temperatursturzerkennung · `1` → externe Fenster-Offen-Erkennung |
|   Persistent   |                                       Ja                                       |
|     Zugriff    |                                       r/w                                      |

</details>

<details>

<summary>ID_WINDOW_OPEN_DETECTION_EN_MODE_CONFIG</summary>

|   Eigenschaft  |                                               Wert                                              |
| :------------: | :---------------------------------------------------------------------------------------------: |
|  Beschreibung  |                 Auswahl, in welchen Modi die Fenster-Offen-Erkennung aktiv ist.                 |
|      Größe     |                                              3 Bit                                              |
|  Wertebereich  |                                              0 - 7                                              |
|  Standardwert  |                                                7                                                |
| Interpretation | <p>Bit 2: Manueller-Temperaturmodus</p><p>Bit 1: Automatik-Modus</p><p>Bit 0: Urlaubs-Modus</p> |
|   Persistent   |                                                Ja                                               |
|     Zugriff    |                                               r/w                                               |

</details>

<details>

<summary>ID_TEMPERATUREFALL_WINDOW_OPEN_DURATION</summary>

|   Eigenschaft  |                                       Wert                                      |
| :------------: | :-----------------------------------------------------------------------------: |
|  Beschreibung  | Zeit bis ein per Temperatursturz erkanntes Fenster wieder als geschlossen gilt. |
|      Größe     |                                      3 Bit                                      |
|  Wertebereich  |                                      0 - 7                                      |
|  Standardwert  |                                        2                                        |
| Interpretation |        <p><code>y = x \* 10 + 10</code></p><p><code>\[y] = min</code></p>       |
|   Persistent   |                                        Ja                                       |
|     Zugriff    |                                       r/w                                       |

</details>

<details>

<summary>ID_TEMPERATUREFALL_TEMPERATURE_DELTA</summary>

|   Eigenschaft  |                                 Wert                                |
| :------------: | :-----------------------------------------------------------------: |
|  Beschreibung  |        Temperaturdifferenz für die Temperatursturzerkennung.        |
|      Größe     |                                5 Bit                                |
|  Wertebereich  |                                0 - 31                               |
|  Standardwert  |                                  10                                 |
| Interpretation | <p><code>y = (x / 10) + 0,5</code></p><p><code>\[y] = °C</code></p> |
|   Persistent   |                                  Ja                                 |
|     Zugriff    |                                 r/w                                 |

</details>

<details>

<summary>ID_TEMPERATURE_WINDOW_OPEN</summary>

|   Eigenschaft  |                              Wert                             |
| :------------: | :-----------------------------------------------------------: |
|  Beschreibung  |   Temperatur, auf die im Fenster-Offen-Modus geregelt wird.   |
|      Größe     |                             8 Bit                             |
|  Wertebereich  |                            10 - 60                            |
|  Standardwert  |                               24                              |
| Interpretation | <p><code>y = x \* 0,5</code></p><p><code>\[y] = °C</code></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-etrv-c/kommunikationsprotokoll/8.-fenster-offen.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.
