> For the complete documentation index, see [llms.txt](https://docs.videc.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.videc.de/june5-3.7/en/weitere-june5-produkte/june5-flexin/konfiguration/qr-codes-erstellen.md).

# Create QR Codes

## Requirements:

1. Code type: QR code (text)
2. Content structure format: JSON (strings are specified in double quotes (ASCII code 34))
3. Minimal content for data point identification: JUNE5 datasource key (key "dsk").

## Example:

```
{
"dsk": "J5003DE.G02_BSB5"
}
```

## Procedure

The datasource key of a data point can be easily determined via the app. To do this, open one of the data point list views ("Server" or "Local"). The datasource key is displayed in the second line of each data point.

### Recommended procedure for creating QR codes:

1. Use the QR code generator "QRCode Monkey" (<https://www.qrcode-monkey.com>)
2. Select the "Text" format and keep the standard design (black/white, square elements, no icon) for the best recognition when scanning.
3. Enter the content in the provided field. It is best to copy the example (see above) and replace the datasource key contained in it ("J5DC.G02\_BSB5") with the one you determined in advance. Be sure to include the surrounding quotes.
4. Click on the right side on "Generate QR code". The preview will be updated accordingly. You can now test the code in advance by scanning the screen.
5. Download the code in a suitable format ("PNG Download" for simple further processing, ".SVG" offers the advantage of lossless scaling). Printed codes should be at least 2cm on each edge.

## Advanced QR Code Functions

### Preset Values

If you want to pre-fill entries directly with values, this can be easily done by adding the JSON in the QR code. The following keywords are available for this:

* "clk" for the time
* "com" for a comment
* "val" for a value

The keywords can be used individually, but also combined in any way.

The previous example could be extended as follows:

```
{
"dsk": "J5003DE.G02_BSB5",
"clk": "12:00",
"com": "Counter 23",
"val": "7"
}
```

### Using the ObjectModelItemUid as a Key

In addition to the datasource key ("dsk") as the key for data points, the ObjectModelItemUid (keyword "oid") can also be used. Using both keys in parallel is possible and also recommended, as JUNE5 FlexIn can then avoid any existing inconsistencies, detect and report them.

### Calling Entry Points

In addition to calling data points, QR codes offer the possibility to open entry points. A specified ViewModelItemUid can be used to directly open individual branches of a previously imported view (data sources or groups). This allows you to directly open a data point list for, for example, a specific location.

The JSON code for this type of QR code requires this syntax:

```
{
"vid": "cd0f5e89-35d3-4813-95ad-4784770f9456"
}
```

The "vid" stands for ViewModelItemUid and must be determined for the desired entry point. Additional key values cannot be used in this type of QR code.


---

# 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:

```
GET https://docs.videc.de/june5-3.7/en/weitere-june5-produkte/june5-flexin/konfiguration/qr-codes-erstellen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
