# Operation

## Device Startup

<figure><img src="/files/eWKuKYDWwx04LLpRJZfe" alt=""><figcaption><p>Diagram of Device Startup Sequence</p></figcaption></figure>

When power is supplied to the device it will initiate the startup sequence.

1. The device loads the configuration from it's internal memory.
2. After the configuration is loaded it will start the join sequence and calibration of the connected peripherials.
3. After succesful calibration the sampling off the measured data will start. \
   If the calibration is not successful it will control the LED on the device, and send a Uplink over the LoRaWAN interface.
4. After a successful join the device will perform a network quality test.\
   After the network quality test has finished the device will control the LED to show the result, and send a Uplink over the LoRaWAN interface.

### WMR Calibration

The Water Meter Reader (WMR) is a small device that is mounted onto the watermeter, it is connected to the Universal Device using a USB Type-C cable.

The Calibration process makes sure that the WMR is mounted correctly onto the watermeter, the mounting procedure is described under the installation requirements.

After the WMR is connected the device will measure the resistance taken from the WMR and determine which deviation is measurement indicates a rotation of the mechanical wheel on the watermeter.

If it has successfully determined a deviation 3 times it has succesfully completed the calibration process. The calibration proces will control the LED on the device.

## Normal Operation

After the startup sequence has finished and the calibration succeeded the device will enter into normal operation mode, where it will start sampling measured data.

{% hint style="info" %}
Note that sampling will start even if there is no succesfull join, the data retransmission functionality will transfer all measured values once a join is succesfull. You can read more about the data retransmission under the LoRaWAN chapter.
{% endhint %}


---

# 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.yobiiq.com/welcome/user-manual-iq-wmr/device/operation.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.
