# Reed switch on/off WiFi

Reed on/off WiFi is similar to the original mode as it sends a message when the reed contact is switched on by a magnet and also sends one when the sensor is switched off as no magnetic field is detected anymore. All mode-specific events are sent with 3 MAC addresses for better localisation precision.

Reed switch on/off WiFi

**Hex value:** 0x19

**Use cases:** Garage doors, warehouse doors, fridges, anything where reporting contact is important

**Devices that support this mode:** SimplePack Plus

**Required sensors:** Reed contact, WiFi module

**Mode-specific deltas:**

**Deltas** are mode-specific register values different from *register default values*.

| **Register (hex)**                  | **Default (hex)** | **Delta (hex)**   | **Delta information**  |
| ----------------------------------- | ----------------- | ----------------- | ---------------------- |
| Sleep time (0x04)                   | 1 minute (0x41)   | 12 seconds (0x0C) | Sleep time decreased   |
| Reed contact detection delay (0x4B) | 0 seconds (0x00)  | 5 seconds (0x05)  | Detection delay active |

**Mode-specific events (uplink messages):**

For more information on what uplink messages (***mode-independent events***) and additional data from various sensors in the device (***appended payload***) can be sent regardless of mode and how to fine-tune message behavior (***alerts***), see *Mode-independent information and events.*

| **Hex** | **Event name**                 | **Alert** | **Event information**                                                          |
| ------- | ------------------------------ | --------- | ------------------------------------------------------------------------------ |
| 0x94    | Reed contact on with WiFi 1/2  | 1         | Reed contact switched on because of magnet presence, sent with 3 MAC addresses |
| 0x95    | Reed contact on with WiFi 2/2  | 1         |                                                                                |
| 0x96    | Reed contact off with WiFi 1/2 | 2         | Reed contact switched off because of magnet absence, sent with 3 MAC addresses |
| 0x97    | Reed contact off with WiFi 2/2 | 2         |                                                                                |

**Registers relevant for this mode:**

| **Hex** | **Register name**               | **Default value (hex)** |
| ------- | ------------------------------- | ----------------------- |
| 0x37    | Reed contact measurement period | 1 second (0x10)         |
| 0x4B    | Reed contact detection delay    | 0 seconds (0x00)        |

**Similar modes:**

| **Hex** | **Mode name**            | **Description**                          |
| ------- | ------------------------ | ---------------------------------------- |
| 0x0C    | Reed on/off              | Original version of Reed on/off, no WiFi |
| 0x37    | Reed on/off WiFi Atlas   | WiFi Atlas version of Reed on/off        |
| 0x55    | Reed on/off WiFi Precise | WiFi Precise version of Reed on/off      |

**Switching to mode, arming and disarming information:**

Follow the *Basic Operations With SimpleHw Devices guide*, where you can also find information about LED behavior, relevant Sigfox messages and more.

Here’s what’s important for **Reed on/off WiFi** messages:

* To set this mode, the downlink needs to include this mode register setting: **0119**
* The uplink messages need to begin with the mode hex as the first byte: **19**
* When arming the device, you should see this message: **1910**
* When the device is armed, it should send you these two bytes: **1911**
* If you disarm the device via long press, you should receive this message: **1914**


---

# 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/modes/wifi-user-modes/reed-switch-on-off-wifi.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.
