# SimpleLeak: Basic operations

### **Arming the device and initiating the downlink**

#### Downlink

Before you start working with the device, make sure the **settings** you want to change are input into the Sigfox backend (or IO Frog/other platform) and saved there = waiting for a downlink request.

#### More information about downlink:

{% content-ref url="/pages/-M\_\_gNbltZYCH63p0CP0" %}
[Downlink Information](/kb/simple-api-6-generation/downlink.md)
{% endcontent-ref %}

{% hint style="danger" %}
Please note that SimpleLeak currently supports only one mode - [*Leak detector (0x0A)*](/kb/simple-api-6-generation/modes/api-6-standard-user-modes_15400961.md). Changing the mode is not recommended as the device will not be able to switch back to Leak detector! Please use the downlink **only** for the fine-tuning settings of the Leak detector mode.
{% endhint %}

1. Place the device onto a plate with some water (at least 2mm) and wait until it beeps twice - this indicates the start of arming (downlink is requested with this message as there’s no control button on the device).
2. Remove the device from water and wait for the departure delay timer to expire (15 seconds in default).
3. After departure delay, the SimpleLeak will beep three times. This indicates that the device is armed.

**When arming the SimpleLeak, you need to see this on the Sigfox backend:**

1. Uplink message with 0x0A (Leak detector mode) as the first byte and 0x10 (Start of arming) as the second byte. You should also see that the message requested a downlink.
2. You should see ACKED when you click on the downlink arrow - this means that the BTS sent the downlink to the device (which does NOT mean that the device received the downlink!)
3. Uplink message with 0x0A (Leak detector mode) as the first byte and 0x11 (Armed) as the second byte.

**Disarming the device**

1. Simply flip the device upside down and wait. When it stops beeping, the SimpleLeak is deactivated.

**When disarming the SimpleLeak, you need to see this on the Sigfox backend:**

1. Uplink message starting with 0x0A (Leak detector mode) and followed by 0x14 (Disarmed).

#### [We also have this guide in a **nice and visual PDF** HERE! ](https://drive.google.com/file/d/1_829WDY9gDCgpvl9RW2uKncp_3SC23Pc/view)

## What should you see on the Sigfox Backend

{% content-ref url="/pages/-M\_XolM-SiRa4\_qOiw1q" %}
[What should you see on the Sigfox Backend](/kb/simple-api-6-generation/overview/basic-operations/what-should-you-see-on-the-sigfox-backend.md)
{% endcontent-ref %}


---

# 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://ask.simplehw.eu/kb/simple-api-6-generation/overview/basic-operations/simpleleak-basic-operations.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.
