Agrowtek Agrowtek HXT Moisture Hub Modbus RTU template

Agrowtek HXT Moisture Hub

Hub for eight substrate sensors with water content, EC and temperature per port.

The Agrowtek HXT is a sensor hub that connects up to eight Teros 12 or Terralink substrate sensors to a Modbus RTU network through the LX2 ModLINK. This template reads water content, electrical conductivity and substrate temperature per port in ModbusCloud, plus serial number, firmware version and model of the hub.

Protocol
Modbus RTU
Connection
RS485, 19200 baud
Registers
30, read and write
Key readings
Water content raw count per port · EC per port · Substrate temperature per port · Serial number · Firmware version · Device model
Available commands
Device address
Compatible models
HXT · HXT+ · HXG
Last updated

Registers (30)

30 read, 1 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Device AddressRead and write
Serial NumberRead
Date Of ManufactureRead
Hardware VersionRead
Firmware VersionRead
Device ModelRead
Port 1 VWC Raw CountRead
Port 2 VWC Raw CountRead
Port 3 VWC Raw CountRead
Port 4 VWC Raw CountRead
Port 5 VWC Raw CountRead
Port 6 VWC Raw CountRead
Port 7 VWC Raw CountRead
Port 8 VWC Raw CountRead
Port 1 Electrical ConductivityRead
Port 2 Electrical ConductivityRead
Port 3 Electrical ConductivityRead
Port 4 Electrical ConductivityRead
Port 5 Electrical ConductivityRead
Port 6 Electrical ConductivityRead
Port 7 Electrical ConductivityRead
Port 8 Electrical ConductivityRead
Port 1 Temperature°CRead
Port 2 Temperature°CRead
Port 3 Temperature°CRead
Port 4 Temperature°CRead
Port 5 Temperature°CRead
Port 6 Temperature°CRead
Port 7 Temperature°CRead
Port 8 Temperature°CRead

Loading registers…

Send your device list

If a device is not in the library yet, we build the template for free as soon as we have the register data.

Number of installations (optional)

Use cases

  • Show water content, EC and substrate temperature of eight slabs in one greenhouse on a ModbusCloud dashboard.
  • Send an email when the EC on a port rises above the limit the grower set for that crop.
  • Compare the drying curve of slabs over the day in the 365 day history to tune irrigation start times.
  • Export a week of substrate data as CSV for the grower or crop consultant.
  • Spot a failed sensor or cable when one port suddenly drops to 0 while the others keep reading.

Installation

  1. Plug the Teros 12 or Terralink sensors into the TRS ports of the HXT, using adapter cables for M8 sensors.

  2. Connect the GrowNET port with a CAT5 or CAT6 cable to an LX2 ModLINK, directly or through an HX8 hub.

  3. Wire TX/RX+ and TX/RX- of the LX2 to the RS485 port of the ModbusCloud Gateway and terminate the bus.

  4. In ModbusCloud, add a Modbus RTU device with the address of the HXT, 19200 baud, 8 data bits, no parity and 1 stop bit, and import this template.

  5. Check that the ports with a sensor show plausible EC and temperature values.

Things to watch for

The hub does not answer. What should I check?

Check that the LX2 ModLINK is powered and set to 19200 baud 8N1 or to the settings you chose in the ModLINK utility. Check the device address of the HXT and that no other device uses it, and swap TX/RX+ and TX/RX- if needed.

How do I write a new device address?

Write the new address 1 to 247 to Device Address. On a new hub with an unknown address, use broadcast address 254 with only that device on the bus. Writing from ModbusCloud is off per gateway by default and is switched on by request on the control tab.

Why does the water content show a large number instead of a percentage?

The hub sends the raw count of the sensor, not a percentage. The conversion depends on the substrate and the sensor calibration, so compare the raw count with the values in the grower's own system or with the sensor maker's calibration for that substrate.

Why do some ports read 0?

A port without a sensor, or with a faulty cable or sensor, has no reading. Plug the sensor directly into the port to rule out an extension cable, try another port, and unplug all sensors if none read, because one short circuit can stop the others.

Want to see how it works?

Electrician working in an open distribution board