# Reed switch on/off WiFi SuperLocal

Reed switch on/off WiFi SuperLocal 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 because the nearby magnetic field is no longer detected. All mode-specific events are sent with up to 5 MAC pointers and the respective RSSI for very precise localization.

### Reed switch on/off WiFi SuperLocal

**Hex value:** 0x55

**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*.

<table data-header-hidden><thead><tr><th width="609"></th><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Register (hex)</strong></td><td><strong>Default (hex)</strong></td><td><strong>Delta (hex)</strong></td><td><strong>Delta information</strong></td></tr><tr><td>Sleep time (0x04)</td><td>1 minute (0x41)</td><td>12 seconds (0x0C)</td><td>Sleep time decreased</td></tr><tr><td>Reed detection delay (0x4B)</td><td>0 seconds (0x00)</td><td>5 seconds (0x05)</td><td>Detection delay active</td></tr></tbody></table>

**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**                                                                    |
| ------- | --------------------- | --------- | ---------------------------------------------------------------------------------------- |
| 0xC4    | Reed on WiFi Precise  | 1         | <p>Reed switched on because of magnet presence,<br>sent with 5 MAC pointers and RSSI</p> |
| 0xC5    | Reed off WiFi Precise | 2         | <p>Reed switched off because of magnet absence,<br>sent with 5 MAC pointers and RSSI</p> |
| 0xFC    | MAC storage readout   | No        | One pointer and its assigned MAC address sent                                            |

**Registers relevant for this mode:**

| **Hex** | **Register name**            | **Default value (hex)**                                                                                                                                                                         |
| ------- | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 0x4B    | Reed contact detection delay | 0x00                                                                                                                                                                                            |
| 0xFC    | MAC storage eraser           | **No default value** - After this register hex, you can send up to 7 MAC pointers (0x01-0x80) to the device and then the respective MAC addresses will be deleted from the internal MAC storage |
| 0xFD    | MAC storage reader           | **No default value** - After this register hex, you can send up to 7 MAC pointers (0x01-0x80) to the device, the respective MAC addresses will be uplinked as the same number of *0xFC events*  |

**Similar modes:**

| **Hex** | **Mode name**          | **Description**                           |
| ------- | ---------------------- | ----------------------------------------- |
| 0x0C    | Reed on/off            | Original version of Reed on/off, no WiFi  |
| 0x19    | Reed on/off WiFi       | Basic WiFi-enabled version of Reed on/off |
| 0x37    | Reed on/off WiFi Atlas | WiFi Atlas 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 Precise** messages:

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

***


---

# 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/api-6-wifi-superlocal-user-modes_15466519/reed-switch-on-off-wifi-superlocal.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.
