# Office Chair Monitoring

## Introduction

**Supported in:** [SimplePack 2.0](https://gitlab.com/simplehw/ask/-/blob/asksync/working-with-devices/devices/simplepack/simplepack-3-0-and-4-0-plus.md), [SimplePack 3.0/4.0 Plus](https://gitlab.com/simplehw/ask/-/blob/asksync/working-with-devices/devices/simplepack/simplepack-3-0-and-4-0-plus.md), [SimpleIndustry](https://gitlab.com/simplehw/ask/-/blob/asksync/working-with-devices/devices/simpleindustry-simplemeter/simpleindustry-introduction.md)

**Intended for:** End users and integrators & platform providers to understand device behavior before direct implementation and fine-tuning (for those who want to integrate the device into their own platform, the firmware documentation is here: [API 6](https://simplehw.atlassian.net/wiki/spaces/DOC/overview) and [API 5](https://docs.google.com/spreadsheets/d/1616krkTZz6iCMI5YTxwOo10u3eYOwVr7-IzNzN86Kkw/))

**Use case description:** We will use the SimplePack mode **Monitor me** - the device, installed on a chair, will be constantly detecting vibration using the accelerometer. When the chair is in use, the **vibration will be recorded** into the device and then **reported regularly** every circa 45 minutes - you can use this data to create a timeline of usage and see when it was used and when it was not. If the chair was not used and no vibration was detected, nothing will be sent.

## Detailed business case

[Available right here!](https://docs.google.com/document/d/10w9Q3jmDDun8eKRoffswaVsK99Khoa3a5WWAJHckMr4/)

## Prerequisites

Before-you-start checklist (you should have everything on the list if you went through the [first message guide](/kb/simple-api-6-generation/i-am-iot-platform-provider/first-message.md)):

✅ Hardware/devices\
✅ Sigfox connectivity\
✅ Sigfox coverage where you need it\
✅ IO Frog platform account and access\
✅ Correctly set-up callbacks in the Sigfox backend (if you're using your own connectivity)\
✅ [You're receiving messages from your devices](/kb/simple-api-6-generation/i-am-iot-platform-provider/first-message.md)\
✅ *Everything is fine!*

## Step-by-step setup guide

1\. Go to the IO Frog platform and **login** with your account.

![image](/files/WYybZP3FSVj6ySNMvaX9)

2\. After you login, head over to your profile in the top right and make sure your Experience level is **Expert**, otherwise you will not be able to change device downlink - if necessary, increase your level and hit Update to save the changes.

![image](/files/bCdgbmyRJeiC8Idt7QMx)

3\. Go to the All devices tab and click on device **Setup**.

![image](/files/ZurFTGPSqSV8RDcmWBrl)

4\. In the downlink tab, set the mode to **Monitor me** (0105 should be in the top bar), hit Update.

![image](/files/nw7LhNfOyhMEckS0Vr7t)

5\. Press the button of your device for 10+ (SP 2.0) or 6+ (SP 3.0 Plus) seconds, this will trigger downlink with the new settings - the **LED** will keep blinking for about a minute.

```
 If you're working with the **SimpleIndustry** or the **SimpleMeter**, you need to either wait for the heartbeat that will request downlink (older prototypes) or you will use a **magnet** on the reed switch instead of pressing the button. The time of operation is the same (6s+ of magnet presence to trigger downlink, 2-4s to disarm device, 1s to arm).
```

| SimplePack 2.0                                 | SimplePack 3.0/4.0 Plus                                 |
| ---------------------------------------------- | ------------------------------------------------------- |
| ![SimplePack 2.0](/files/aTum9Z7tBz2TFGapecEZ) | ![SimplePack 3.0/4.0 Plus](/files/s0qrVnDNzLEcvHzF7pc6) |

6\. Once the LED stops blinking, you can place the device where you need it: use a heavy-duty double-sided tape or glue to hold it on the chair, place the device as far as possible from the swivel chair's gas cylinder.

7\. Once placed, activate the device by pressing the button and try playing around with the chair - you should receive the first vibration log in about 45 minutes. *There, all done!*

Please note that Sigfox has a **90% delivery success rate**. It's possible that the downlink will not be received by the device, the best way forward in this case is simply **repeating the whole process from Step 4 onwards**.

## Suggestions

* If you're getting **false or limited reports** of usage, try playing around with **accelerometer sensitivity settings** (the higher the number, the less sensitive the sensor).
* **Public data sharing:** IO Frog also supports public channels, where you can add multiple devices and display data from all of them at the same time, including their position on a world map. It's very cool and we highly suggest you take a look! Here's our [coffee project](https://www.iofrog.com/public/iofrog/en/?channel=S2LZHUMFVQDNWFUM) and here's [how to set a public channel up](/kb/simple-api-6-generation/i-am-iot-platform-provider/public-channel-setup.md).

![image](/files/ZDj9K1HZBjbY7QKf6eaJ)


---

# 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/i-am-iot-platform-provider/office-chair-monitoring.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.
