> 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/install.md).

# Install the TLM

Add the gateway and TLM to IMS, test them near the gateway, then mount the TLM on the tank and fit the probe.

Set up IMS, test the TLM next to the gateway, then fit it to the tank. It is essential to test the TLM connectivity while close to the sensor gateway, before installing the TLM on a tank.

{% hint style="info" %}
**Applies to:** TLM firmware V1.01 or later with the IMS Sensor Gateway (LSG 01). From the IMS Tank Level Monitor User Guide V1.3 (August 2025). For the legacy gateway, see the section at the end. You can also follow the TLM setup steps in IMS at ims.qtech.co.nz/tlm.
{% endhint %}

## What you need

* Screwdriver or electric drill/driver (pozi-drive & 8mm hex socket)
* Hole saw/drill/masonry drill for sensor probe cable
  * Plastic tank – 16mm to fit cable gland
  * Concrete tank – large enough to feed cable through(\~10mm)
* Adjustable spanners to tighten cable gland
* General purpose cable ties or other means of tying cables back
* An internet connected phone/tablet/PC running a web browser (Google Chrome, Microsoft edge, Apple Safari or similar).

## Measure the tank

In order to accurately record the water level, the following information is required:

| Item                | What to measure                                                                                                                                                                                                                                                 |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Top water level (D) | This is the effective maximum depth of water in the tank. If there is an overflow outlet, measure from this to the base of the tank. Record the measurement in mm                                                                                               |
| Probe offset (P)    | This is the distance from the tip of the probe to the base of the tank (when installed). Often the probe tip will be set at about 100 mm from the base of the tank to avoid sludge getting into the probe. Record the measurement in mm when fitting the probe. |
| Tank height (H)     | Take tank height from the manufacturer's datasheet. Record in mm                                                                                                                                                                                                |
| Tank volume (V)     | Take tank volume from the manufacturer's datasheet. Record in litres                                                                                                                                                                                            |

![Tank measurements: top water level, probe offset and tank height](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FBh1m3sFuOw486ICBjxUj%2Ftlm-tank-measurements.png?alt=media)

## Set up IMS

1. Open a web browser on your phone/tablet/PC and navigate to [ims.qtech.co.nz](https://ims.qtech.co.nz/). Select Create an account – if this is your first IMS device, or log in to your existing IMS account. Select **Farm Owner** – This is the primary account. Anyone else who intends to access a Farm Owner's farms such as farmhands, installers, contractors, suppliers of services or even a delegated farm manager must choose **Farm Delegate**. Enter all your details, including a mobile phone number so that you can receive alert notifications from IMS.
2. If you already have an existing farm in IMS, you can skip this step. Click the **Add New Farm** button. Enter the farm details: name of the farm, access road, description (optional). Click on the map to refine the position of the farm. Select **Update Boundaries** and draw an outline of the farm by clicking on the map. The boundary shape must enclose all of your solid set irrigation. Click **Create**.
3. If you already have a sensor gateway installed and operating, you can skip this step. See [Install the IMS Sensor Gateway](https://help.qtech.co.nz/water-insight/ims-and-gateways/ims-gateway/install-sensor-gateway.md). If you are adding a second TLM sensor to an existing site you only need one gateway. Enter a channel to match your TLM.

## Add the TLM

1. Open the farm's **Farm Settings** menu and choose **Manage Assets** > **Sensors** > **New Sensor**.
2. Enter:
   * **Name**: A short name for the tank being monitored
   * **Serial Number**: printed on the TLM label (numeric digits only). The MAC address is automatically populated based on serial number.
   * **Channel**: Printed on the TLM label
   * **Gateway**: LoRa Gateway
   * **Sensor Type**: TLM V3
   * **Probe Offset (P)**, **Top Water Level (D)**, **Tank Height (H)** and **Tank Volume (V)**
   * **GPS Location**: click on the map to identify the tank location
3. Click **Update** to add the TLM.

## Test it next to the gateway

1. Remove the TLM rear cover and connect the battery (white inline connector). **STAT** LED will give 4 short flashes, then 1 flash every 4s.
2. Submerse the sensor probe in a bucket of water such that at least the whole probe body is covered.
3. Press the **MODE** button for 2s to enter installation mode. **STAT** LED changes to flashing once per second.
4. Click the heartbeat icon. Data should appear approx. every 20s.
5. Press the **MODE** button for 2s to exit installation mode and re-install the rear cover. **STAT** LED will return to 1 flash every 4s.

If no readings arrive, see [No readings from the TLM in IMS](https://help.qtech.co.nz/water-insight/tank-level-monitor/troubleshooting/no-readings.md).

## Fit the TLM to the tank

Please ensure you follow appropriate health and safety procedures when installing the TLM.

1. Loosen TLM bracket knobs to allow free rotation.
2. In the identified location, mount the TLM bracket using the provided mounting holes. Mounting location should give the solar panel an unobstructed North facing view (with the cables exiting the bottom of the case) and allow the sensor probe to be lowered to the full depth of the tank.
3. Remove the TLM rear cover.
4. Drill a hole (16mm if gland is fixed directly to tank) for the sensor probe cable to pass through near the tank lid/access point. Install the cable gland or loosen the cable gland in the cover plate (concrete tank).
5. Feed the sensor probe cable through the hole/gland. For concrete tanks it is especially important that the cover plate is fixed in place to avoid the sensor cable wearing on the hole edges. It is recommended to position the sensor probe away from the main outflow pipe. While not essential this will result in optimum system performance.
6. Feed the cable through the gland in the TLM case. Wire cable into connector block and install connector. Tighten cable gland in TLM case.

   ![Probe wiring to the TLM terminal block](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2F2tbfhUq1fBNA9BmuiLf8%2Ftlm-probe-wiring.png?alt=media)
7. Connect the battery (white in-line battery connector). On power up the STAT LED will flash quickly a few times then blink once every 4s.
8. Press the **MODE** button for 2s to enter installation mode. The **STAT** LED will flash once per second. Gradually lower the sensor probe into the tank and confirm the **STAT** LED changes to rapid flashing. This mode is used to check that the probe is operating correctly. **STAT** LED behaviour changes once probe is submersed approx. 0.5m and confirms sensor is functional.
9. Lower the probe to the bottom of the tank, then raise back up by 100mm (recommended) and tighten gland to clamp cable in position.
10. If an internet connection is available, check the sensor readings are updating in IMS. Readings should be updating every 20s. See [View tank levels and set alerts](https://help.qtech.co.nz/water-insight/tank-level-monitor/view-and-alerts.md).
11. Press **MODE** button for 2s to exit installation mode. Once exit install mode **STAT** LED returns to flashing every 4s.
12. Reinstall the rear cover, tilt solar panel to approx. 45°, align the antenna vertically and tighten the side knobs to fix in place.
13. Ensure all cables are secured to prevent movement in strong wind.

![Inside the TLM: battery, USB socket, STAT light, MODE button, probe connector and option switch](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2Fg9IPBBY0DC7t25gcdLVT%2Ftlm-internal.jpg?alt=media)

## Installation checklist

* Mount the TLM so that the solar panel is north facing and adjusted to about a 45 degree angle.
* Do not allow the internal electronics to get wet.
* Do not unsolder or remove any internal plugs unless instructed to do so by technical support staff.
* Do not remove the RTC coin cell battery.
* Check that the probe and antenna cable glands are firmly (but not overly) tightened to prevent water ingress.
* Adjust the antenna so that it is vertical before tightening the side adjustment knobs.
* For concrete tanks it is especially important to ensure the sensor cable is secured such that it doesn't wear on the tank.
* To disconnect the battery gently tease the two halves of the white inline connector apart. Avoid pulling on the wires.

## With the legacy gateway

{% hint style="info" %}
**Applies to:** TLMs on the original LoRa gateway (the Duinotech-style gateway), from the IMS Tank Level Monitor User Guide V1.2.1 (Legacy Gateway). TLM firmware v1.02 (Pump control introduced) is only compatible with the Duinotech style LoRa Gateway, and TLM firmware v1.03 (Flow meter integration) is only compatible with the LSG01 LoRa Gateway (not Duinotech style).
{% endhint %}

A new sensor gateway LSG01 will replace the now obsolete LG001 LoRa Gateway.

* Type – Select **Sensor Gateway**. Select **Check Connectivity** and expect a "Connected at" message with the date and time. This can take 3-4min.
* The LAN patch cable is connected to the WAN socket of the gateway and the other end is connected to a LAN socket of your internet access point. Internal cabling in the IMS gateway cabinet may need adjusting – contact Water-Insight. The sensor gateway configuration may need updating remotely – Contact Water-Insight.
* Connection status can be confirmed from the LED behaviour: Power LED ON, WAN LED ON (2nd from left, may blink). Internet connection – Globe LED flashes (4th from left). Connection to IMS – Globe LED solid. The WiFi LED (leftmost) can be on or off.
* Sensor Type – **Level - MM**. Click **Create** to add the TLM.
