> For the complete documentation index, see [llms.txt](https://pekaway.gitbook.io/van-pi-dokumentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pekaway.gitbook.io/van-pi-dokumentation/position/lagesensor.md).

# Lagesensor

#### Konfiguration des Lagesensors

1. **Webinterface aufrufen**
2. Öffnen Sie das Webinterface unter `http://*IP*:1880/ui`.
3. **Einstellungen aufrufen**
4. Navigieren Sie zu:
5. **Config → Sensors → Position Sensor Config**
6. **Lagesensor konfigurieren**
   * Passen Sie die Einstellungen des Lagesensors entsprechend der Einbauposition im Fahrzeug an.
   * Verwenden Sie dazu die Tabelle, um die erforderlichen Werte zu übernehmen.
7. **Kalibrierung durchführen**
   * Stellen Sie sicher, dass das Fahrzeug gerade ausgerichtet ist.
   * Drücken Sie anschließend **"Calibrate Position Sensor"**, um die Kalibrierung zu starten.
8. **Abschluss der Konfiguration**
9. Nach erfolgreicher Konfiguration kann der Lagesensor über das Webinterface oder die App verwendet werden.

| Position in Fahrtrichtung                       | Invert X | Invert Y | Swap X-Y | Swap X-Z | Swap Y-Z |
| ----------------------------------------------- | -------- | -------- | -------- | -------- | -------- |
| Wand Links Quer (Relays nach Unten)             | x        | x        | x        | -        | x        |
| Wand Links Quer 180 (Relays nach Oben)          | x        | -        | x        | -        | x        |
| Wand Links Hochformat (Relays nach Vorne)       | -        | x        | -        | x        | -        |
| Wand Links Hochformat 180 (Relays nach Hinten)  | x        | -        | -        | x        | -        |
|                                                 | Invert X | Invert Y | Swap X-Y | Swap X-Z | Swap Y-Z |
| Wand Rechts Quer (Relays nach Unten)            | -        | -        | x        | -        | x        |
| Wand Rechts Quer 180 (Relays nach Oben)         | -        | x        | x        | -        | x        |
| Wand Rechts Hochformat (Relays nach Vorne)      | -        | x        | -        | x        | -        |
| Wand Rechts Hochformat 180 (Relays nach Hinten) | -        | -        | -        | x        | -        |
|                                                 | Invert X | Invert Y | Swap X-Y | Swap X-Z | Swap Y-Z |
| Wand Vorne Quer (Relays nach Unten)             | -        | x        | -        | -        | x        |
| Wand Vorne Quer 180 (Relays nach Oben)          | x        | x        | -        | -        | x        |
| Wand Vorne Hochformat (Relays nach Vorne)       | -        | x        | x        | x        | -        |
| Wand Vorne Hochformat 180 (Relays nach Hinten)  | x        | x        | x        | x        | -        |
|                                                 | Invert X | Invert Y | Swap X-Y | Swap X-Z | Swap Y-Z |
| Wand Hinten Quer (Relays nach Unten)            | x        | -        | -        | -        | x        |
| Wand Hinten Quer 180 (Relays nach Oben)         | -        | -        | -        | -        | x        |
| Wand Hinten Hochformat (Relays nach Vorne)      | -        | -        | x        | x        | -        |
| Wand Hinten Hochformat 180 (Relays nach Hinten) | x        | -        | x        | x        | -        |
|                                                 | Invert X | Invert Y | Swap X-Y | Swap X-Z | Swap Y-Z |
| Boden Fahrtrichtung (Relays nach hinten)        | -        | -        | -        | -        | -        |
| Boden Fahrtrichtung 180 (Relays nach Vorne)     | x        | x        | -        | -        | -        |
| Boden Quer (Relays nach Rechts)                 | -        | x        | x        | -        | -        |
| Boden Quer 180 (Relays nach Links)              | x        | -        | x        | -        | -        |
|                                                 | Invert X | Invert Y | Swap X-Y | Swap X-Z | Swap Y-Z |
| Decke Fahrtrichtung (Relays nach hinten)        | x        | -        | -        | -        | -        |
| Decke Fahrtrichtung (Relays nach vorne)         | -        | x        | -        | -        | -        |
| Decke Quer (Relays nach Rechts)                 | -        | -        | x        | -        | -        |
| Decke Quer 180 (Relays nach Links)              | x        | x        | x        | -        | -        |


---

# 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://pekaway.gitbook.io/van-pi-dokumentation/position/lagesensor.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.
