> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/water-insight/tank-level-monitor/flow-meter.md).

# Add a flow meter

Fit a pulse-output flow meter to a TLM, wire it in and turn on flow monitoring in IMS.

The Tank Level Monitor (TLM) can incorporate flow measurement, reporting and generate alerts from a single flow meter. This page covers the mechanical and electrical aspect of the flow meter installation for existing TLM installations.

{% hint style="info" %}
**Applies to:** TLM firmware V1.03 or later, only compatible with the LSG01 LoRa Gateway (not Duinotech style). From the TLM with Flow Meter User Guide V1.0 (August 2025). For new TLM installations, first follow the TLM User Guide to get the TLM and Sensor Gateway installed and communicating with your IMS account. See [Install the TLM](https://help.qtech.co.nz/water-insight/tank-level-monitor/install.md).
{% endhint %}

## The flow meter kit

| Part                         | Details                                                                                                                                                                                                                                                        |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Sonata ultrasonic flow meter | The Sonata is an IP68 protection rated ultrasonic flow meter, providing a 10L resolution pulse output (10L per pulse) to the TLM. Additionally, the meter has a built-in display showing total accumulated flow volume, instantaneous flow rate and direction. |
| Extension cable              | A 4m extension cable is provided, for connection to the flow meter and TLM. Alternatively, cable with the similar specifications should be used: AWG: 18, Stranding: 24 x 0.2mm, Conductor: Tin plated copper                                                  |
| Cable gland                  | M12, 3 – 6mm                                                                                                                                                                                                                                                   |
| Butt connectors              | Crimp style                                                                                                                                                                                                                                                    |

![The Sonata ultrasonic flow meter](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FYGDN27XWMmrQWkccs0kw%2Ftlm-flow-meter.png?alt=media)

## Fit the meter

1. Ensure that the connecting pipes are aligned. Check for the proper distance between the pipe unions to avoid mechanical stress.
2. Note the proper flow direction as indicated on the meter. The Sonata is a bidirectional flow meter and will also measure reverse flow.
3. Install new gaskets in the coupling nuts.
4. Place the meter in position and carefully tighten the coupling nuts by hand. Make sure each coupling nut is smoothly screwed onto the meter threads. Use a spanner to tighten the coupling nuts to a minimum torque setting of 15Nm up to a maximum of 30Nm.
5. Once installed, open the upstream valve to allow water to fill the meter and piping. Open a downstream valve to flush all air out of the pipeline.
6. Close the downstream valve and verify that there are no leaks.

The meter may be installed in any orientation. There are no straight pipe requirements for the Sonata. Do not install the meter on the suction side of a pipe. Avoid exposing the meter to excessive vibration. Support of the pipeline on both sides of the meter is recommended. After the air is drained from the pipeline the Sonata is fully functional and ready for operation. The "No Measurement" alarm indication on the display will be turned off.

This product contains a lithium metal battery. In the interest of protecting the environment, this product should not be disposed of in household waste. Local and national regulations for disposal of battery operated products should be followed.

## Wire it to the TLM

1. To enable the flow meter option on the TLM the **OPT1** switch must be switched to the on position and the TLM repowered.

   ![The OPT1 and OPT2 option switch on the TLM board](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FDgbFMxddtcNaPV6tXK8T%2Ftlm-opt1-switch.png?alt=media)
2. A 3rd cable gland is required to cater for the flow meter pulse output cable. Using a suitable drill bit / step drill / hole saw, drill an additional 12mm hole as indicated in the drawing below. Remove any sharp burrs. Install cable gland and tighten in place. Ensure o-ring seals on outside face.

   ![Where to drill the 12mm hole for the flow meter cable gland](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FSSjVvP1YWNINpp6SCkP4%2Ftlm-flow-gland.png?alt=media)
3. The flow meter has two pulse output pairs that operate identically (brown/black and red/orange), only one of these outputs is required.
4. Strip the flowmeter cables (black & brown) and one end of the extension cable (red & white) to expose \~10mm of copper. Insert exposed copper of cables to be joined (black/white & brown/red) into connector and crimp in place. No exposed conductor should be outside the connector.
5. Route and secure the extension cable well to avoid damage. Using flexible conduit is recommended: suggest 20mm flexible conduit.
6. Route cable through cable gland in TLM. Cut cable to suitable length. Strip sheath and individual wires to expose \~5mm of copper.
7. Unplug the terminal block in the TLM. Install wires into TLM terminal block as shown below (brown/red & black/white). Plug the terminal block back into the TLM. Tighten cable gland to seal/secure cable.

   ![Flow meter wiring to the TLM terminal block](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F0aj7Bp0Z5j614Xv8rUP1%2Ftlm-flow-wiring.png?alt=media)

## Turn it on in IMS

1. Open a web browser on your phone/tablet/PC and navigate to [ims.qtech.co.nz](https://ims.qtech.co.nz/). Sign into your IMS account. Select **Farm Settings** (cog) in the top right corner of your farm card. From the menu select **Manage Assets**. Then click **Sensors**.
2. Select the **Edit Sensor** option for the TLM which has the flow meter attached.
3. Click the **Enable Flow Meter** slider to turn on this option. Select the **Flow Direction** that the meter will be monitoring. **Volume per Pulse** should be left at 10 litres. Choose an **Install Date** and enter the flow meter **Serial Number**.
4. Select **Update**.

When there is flow through the meter, the TLM counts the pulses generated and reports the value back to IMS (via the Sensor Gateway) at predefined intervals (default 1min).

## Check it

1. Click the status icon to the left of the tank name. The three most recent data transmissions are displayed for Level, Pump Control & Flow.
2. Check that the flow values are consistent with the expected flow (1 pulse per 10 litres). Flow values are reported at 1min intervals and only reported when flow through the meter is present.

Clicking on the picture of the tank will display its information card. **Flow Details** are Today's Usage (L), Yesterday's Usage (L) and Current Flow (L/min). When a flow meter is configured, the usage data (volume) is based on the flow through the meter. The **Flow** tab displays a flow rate history (l/min). You can receive alert messages on your phone or PC to notify you of flow related events. For example, you can be notified if the flow is greater than a certain threshold. Trigger for the event is **Tank Water Flow**.
