# Connection failure indicator

The [Status LEDs](/cg1018-relay-box-installation-manual/overview/status-leds.md) indicate whether the unit has Internet connection which is checked by pinging the adress at PING\_URL, and if there is connection to the server.&#x20;

The ETH LED is blinking green if the ping is successful and the CON LED is steady green if we have a successful reply from the server.

If you want to get an indication on a relay, when the connection to the server fails, you can do so by using the following options: \
\
and/or \
**TURN\_ON\_CH2\_IF\_CONNECTION\_FAILS=1**

```sh
TURN_ON_CH1_IF_CONNECTION_FAILS=1 
```

**The relay can still be used as normal and be controlled by the server, as the connection fail status is OR’ed together with the status from the server.**&#x20;

Using this method, the relay can indicate both sensor alarm and connection fail on the same channel.&#x20;

This can be a useful feature as you will get a clear indication in case the CG1018 cannot contact the server.&#x20;

You may also invert the channels to setup an additional indication of failures.


---

# 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://help.boomerang3.com/cg1018-relay-box-installation-manual/installation/config-file/practical_examples/connection_failure_indicator.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.
