# Setup with Herelink

#### **In this example:**

* Using ethernet telemetry to control Zio (gimbal and camera)
* Using HDMI to do video streaming from Zio to QGroundControl

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FjE7LpRW5LSNQ76QesNKk%2Ft%E1%BA%A3i%20xu%E1%BB%91ng%20(34).png?alt=media&#x26;token=f8082704-c394-49d1-9afc-857be970d3f6" alt=""><figcaption></figcaption></figure>

### Step 1: CREATE CONFIG FILES ON MICRO SDCARD <a href="#bkmrk-step-1-3a-create-confi" id="bkmrk-step-1-3a-create-confi"></a>

#### **1.1 Create file for set up a static ip address for Zio**

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FpdIrvdapb7e1JOQuYYoB%2Ft%E1%BA%A3i%20xu%E1%BB%91ng%20(35).png?alt=media&#x26;token=1f447e06-8bcf-4042-aef4-815c141aa39f" alt=""><figcaption></figcaption></figure>

**File name: payload\_setup.txt**

**File Content:**

```markdown
/*PAYLOAD CONFIGURATION*/

# IP address of Payload
ZIO_ADDR = 192.168.144.200
NETMASK = 255.255.255.0

# IP adress of UDP stream receiver
STREAM_VIDEO_TO = 192.168.144.104:5000
```

On the above example:

* Zio IP: 192.168.144.200
* Zio stream video to the IP: 192.168.144.104 at port 5000 -> we not use video streaming via ethernet

> ***NOTE:*** when Zio starts up without detecting the file payload\_setup.txt in the memory card, Zio will automatically reset to the default IP (192.168.50.100)

#### 1.2 **Create Config Herelink Ethernet File**

**File Name: zio\_herelink\_eth.conf**

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FPmEVSjw3pZ4q64VYCHi3%2Fimage-1691028477097.png?alt=media&#x26;token=f0c77812-2d1e-4be9-afe6-8015e3283366" alt=""><figcaption></figcaption></figure>

**File Content: (Copy exactly below)**

```markdown
# Herelink air-unit endpoint
# This endpoint will connect to Herelink air-unit
[UdpEndpoint Ethernet_MavIn_Herelink]
Mode = Normal
Address = 192.168.144.10
Port = 14552
Group = Mavlink_In

# Ground control station endpoint
# Please setup an UDP commlink on QGroundControl to this endpoint
[UdpEndpoint GCS_Ethernet_Endpoint]
Mode = Normal
Address = 192.168.144.11
Port = 14565
Group = Mavlink_Out
```

&#x20;

> ***NOTE:***: After adding two files "payload\_setup.txt" and "zio\_herelink\_eth.conf" to micro SDcard, please reboot the Zio to apply changes.

#### Step 2: SETUP ON QGROUNDCONTROL APP <a href="#bkmrk-step-2-3a-setup-on-qgr" id="bkmrk-step-2-3a-setup-on-qgr"></a>

2.1 Disable all AutoConnect in General.

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FeoK0hzWDqBTZhyFxl3MA%2Ft%E1%BA%A3i%20xu%E1%BB%91ng%20(36).png?alt=media&#x26;token=a7c9ec25-40b9-4636-947a-c3b45ffba8f2" alt=""><figcaption></figcaption></figure>

2.2 Navigate to Comm Links, add new Comm link for Ethernet telemetry

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2F71C6KRdyDJocxDUSWjTz%2Ft%E1%BA%A3i%20xu%E1%BB%91ng%20(37).png?alt=media&#x26;token=22f022f8-5d1f-4a49-9142-391677393b0f" alt=""><figcaption></figcaption></figure>

2.3 Create the new link as following<br>

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FEkjB0MCo9IxjQD898GLq%2Ft%E1%BA%A3i%20xu%E1%BB%91ng%20(38).png?alt=media&#x26;token=f6524c2a-d9a5-42e6-9d36-19fe63632309" alt=""><figcaption></figcaption></figure>

**On the above example:**

```markdown
Name: Zio
Type: UDP
Listening Port: 14565
Target Hosts: 192.168.144.200:14565 (Zio's IP)
```

#### 2.4 Check the new Ethernet connection

* Connect the HDMI to Herelink v1.1
* Video Stream info will show as below after configuring successfully

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2F9NEdLG2AMVEcyYHGYYQz%2Ft%E1%BA%A3i%20xu%E1%BB%91ng%20(41).png?alt=media&#x26;token=154570c5-c760-4693-b04f-5d4110535cd8" alt=""><figcaption></figcaption></figure>

**(Do not change)**

```markdown
Video Source: RTSP Video Stream
RTSP URL: rtsp://192.168.144.10:8554/H264Video
Aspect Ratio: 1.777777
```

**Successful connection**

<br>

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2Fn3QBLvobXBgQSbcyrgpx%2Ft%E1%BA%A3i%20xu%E1%BB%91ng%20(42).png?alt=media&#x26;token=df71150c-1baf-439c-b266-bd19b653211a" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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.gremsy.com/payloads/zio/ethernet-telemetry-payload-control/setup-with-herelink.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.
