# General, Display & Power recovery

## Operation after return of power supply

You can change the operation after return of power supply with the following command set.

{% tabs %}
{% tab title="SET" %}

#### You can set the operation after return of power supply with the command:

<table data-header-hidden><thead><tr><th width="138"></th><th></th></tr></thead><tbody><tr><td><strong>Byte index</strong></td><td><strong>Hex value – Meaning</strong></td></tr><tr><td>0</td><td>68 – The command code.</td></tr><tr><td>1</td><td>00: Last status. <strong>Default value.</strong><br>01: On - after return of power supply.<br>02: Off - after return of power supply.</td></tr></tbody></table>

**Example command**: 0x6802 – Sets the device to be off after return of power supply.
{% endtab %}

{% tab title="GET" %}

#### Get the operation after return to power status.

<table data-header-hidden><thead><tr><th width="143.99999999999997"></th><th width="192"></th><th></th></tr></thead><tbody><tr><td><strong>Byte index</strong></td><td><strong>Sent request</strong></td><td><strong>Received response</strong></td></tr><tr><td>0</td><td>69 – Command code.</td><td>69 – Command code.</td></tr><tr><td>1</td><td> </td><td>00: Last status.<br>01: On - after return of power supply.<br>02: Off - after return of power supply.</td></tr></tbody></table>

**Example command:** 0x69;

**Example response:** 0x6902 – The device is set to be off after return of power supply.
{% endtab %}
{% endtabs %}

## Get Firmware & Hardware version

The LNS can send the command code to the device and with the next received message the response (Table 6) is received.

<table data-header-hidden><thead><tr><th width="138.66666666666669"></th><th></th></tr></thead><tbody><tr><td><strong>Byte index</strong></td><td><strong>Hex value – Meaning</strong></td></tr><tr><td>0</td><td>04 – Read software and hardware version.</td></tr></tbody></table>

*Table 6.*

<table data-header-hidden><thead><tr><th width="143.66666666666669"></th><th width="115"></th><th></th></tr></thead><tbody><tr><td><strong>Byte index</strong></td><td><strong>Bit index</strong></td><td><strong>Hex value - Meaning</strong></td></tr><tr><td>0</td><td>-</td><td>04 – The command byte shows that is packet with the device hardware and software version.</td></tr><tr><td>1</td><td>7:4</td><td>X – Device primary hardware version.</td></tr><tr><td>1</td><td>3:0</td><td>X – Device secondary hardware version.</td></tr><tr><td>2</td><td>7:4</td><td>X – Device primary software version.</td></tr><tr><td>2</td><td>3:0</td><td>X – Device secondary software version.</td></tr></tbody></table>

**Example command:** 0x04

**Example response:** 0x042511 (The keep-alive data is omitted for clarity).

Decoding:

\-       0x04 – Read software and hardware version response

\-       0x25 - Device hardware version – version 2.5

\-       0x11 – Device software version – version 1.1

**Note:** The HEX value is not converted to DEC to obtain the version, it is interpreted symbol by symbol.


---

# 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.mclimate.eu/mclimate-lorawan-devices/devices/mclimate-fan-coil-thermostat-fct/mclimate-fan-coil-thermostat-device-communication-protocol/general-display-and-power-recovery.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.
