TapHome
Official · TapHome Verified

GTD8

GTD8 8-channel switch and LED panel connected to TapHome via Modbus TCP. 8 independent on/off switches with corresponding LED indicator controls, all using holding registers.

GTDModbus TCP16 devicesRevision 1.0 Last updated: March 30, 2026
GTD8

Import into the TapHome appHardware › Modbus › Add from template

Download Template
On this page

Network address

TapHome reaches this device at the address entered on import. Give the device a fixed address — an IP reservation in the router, or its mDNS name if it supports one — otherwise the integration stops working when the router changes the address.

Network Preparation

Integration guide

The GTD8 is an 8-channel switch and LED panel from GTD IOT that communicates via Modbus TCP over Ethernet. It provides 8 independent on/off switches (H:0–H:7) and 8 corresponding LED indicators (H:10–H:17), all accessible as holding registers. TapHome connects directly to the panel over the local network — no additional gateway is required.

The template uses the MODBUSWNE (write-no-echo) pattern for all write operations and polls the device at 500 ms intervals.

Network connection

Connect the GTD8 panel to the same local network as TapHome Core using a standard Ethernet cable.

  • Protocol: Modbus TCP
  • Port: 502
  • Default Slave ID: 1

Configuration

No special configuration is needed on the GTD8 panel. The Modbus TCP interface is active by default on port 502.

When importing the template in TapHome, provide:

  • IP Address — the panel’s IP on the local network (default: 192.168.0.1)
  • Slave ID — Modbus slave address (default: 1)

Device capabilities

The template exposes 16 devices: 8 switches and 8 LED indicators.

Switch control (Switches 1–8)

All 8 switches operate identically. Each switch is exposed as an on/off switch in TapHome:

  • Read: The switch state is read from holding registers H:0 through H:7 (one per switch)
  • Write: When toggled from TapHome, the template writes the switch state to H:0–H:7 using the MODBUSWNE (write-no-echo) pattern

LED indicators (LEDs 1–8)

Each switch has a corresponding LED indicator that can be controlled independently:

  • Read: The LED state is read from holding registers H:10 through H:17
  • Write: LEDs can be toggled from TapHome via H:10–H:17 using MODBUSWNE

The LED indicators can be used to mirror the switch state or driven independently for custom signaling.

SwitchSwitch registerLED registerPoll interval
Switch 1H:0H:10500 ms
Switch 2H:1H:11500 ms
Switch 3H:2H:12500 ms
Switch 4H:3H:13500 ms
Switch 5H:4H:14500 ms
Switch 6H:5H:15500 ms
Switch 7H:6H:16500 ms
Switch 8H:7H:17500 ms

Unlike the GTD IOT 8-Button Touch Switch (RS-485 variant), the GTD8 does not have an initialization script — no touch-to-toggle mode configuration is required. The switches and LEDs are directly readable and writable from import.

Troubleshooting

No Modbus communication

  1. Verify the Ethernet cable is connected and the panel is powered
  2. Confirm the panel’s IP address — check the router’s DHCP lease table
  3. Ensure TapHome Core and the GTD8 are on the same network/subnet
  4. Check that no firewall is blocking port 502

LED not matching switch state

The GTD8 template controls switches and LEDs as independent devices. If you need LED mirroring (LED follows switch state automatically), create a TapHome Smart Rule that copies the switch state to the corresponding LED device.

Available devices 16

These devices appear in TapHome after import.

GTD8 Module
Switch 1 Switch Read and write

On/off switch channel 1 — reads/writes holding register H:0

Register: H:0 Bool
Values / States: ON · OFF

Switch 1

Read switch state
MODBUSR(H, 0, Bool)
Write switch state
MODBUSWNE(H, 0, Bool, St)
Switch 1 LED Switch Read and write

LED indicator for channel 1 — reads/writes holding register H:10

Register: H:10 Bool
Values / States: ON · OFF

Switch 1 LED

Read switch state
MODBUSR(H, 10, Bool)
Write switch state
MODBUSWNE(H, 10, Bool, St)
Switch 2 Switch Read and write

On/off switch channel 2 — reads/writes holding register H:1

Register: H:1 Bool
Values / States: ON · OFF

Switch 2

Read switch state
MODBUSR(H, 1, Bool)
Write switch state
MODBUSWNE(H, 1, Bool, St)
Switch 2 LED Switch Read and write

LED indicator for channel 2 — reads/writes holding register H:11

Register: H:11 Bool
Values / States: ON · OFF

Switch 2 LED

Read switch state
MODBUSR(H, 11, Bool)
Write switch state
MODBUSWNE(H, 11, Bool, St)
Switch 3 Switch Read and write

On/off switch channel 3 — reads/writes holding register H:2

Register: H:2 Bool
Values / States: ON · OFF

Switch 3

Read switch state
MODBUSR(H, 2, Bool)
Write switch state
MODBUSWNE(H, 2, Bool, St)
Switch 3 LED Switch Read and write

LED indicator for channel 3 — reads/writes holding register H:12

Register: H:12 Bool
Values / States: ON · OFF

Switch 3 LED

Read switch state
MODBUSR(H, 12, Bool)
Write switch state
MODBUSWNE(H, 12, Bool, St)
Switch 4 Switch Read and write

On/off switch channel 4 — reads/writes holding register H:3

Register: H:3 Bool
Values / States: ON · OFF

Switch 4

Read switch state
MODBUSR(H, 3, Bool)
Write switch state
MODBUSWNE(H, 3, Bool, St)
Switch 4 LED Switch Read and write

LED indicator for channel 4 — reads/writes holding register H:13

Register: H:13 Bool
Values / States: ON · OFF

Switch 4 LED

Read switch state
MODBUSR(H, 13, Bool)
Write switch state
MODBUSWNE(H, 13, Bool, St)
Switch 5 Switch Read and write

On/off switch channel 5 — reads/writes holding register H:4

Register: H:4 Bool
Values / States: ON · OFF

Switch 5

Read switch state
MODBUSR(H, 4, Bool)
Write switch state
MODBUSWNE(H, 4, Bool, St)
Switch 5 LED Switch Read and write

LED indicator for channel 5 — reads/writes holding register H:14

Register: H:14 Bool
Values / States: ON · OFF

Switch 5 LED

Read switch state
MODBUSR(H, 14, Bool)
Write switch state
MODBUSWNE(H, 14, Bool, St)
Switch 6 Switch Read and write

On/off switch channel 6 — reads/writes holding register H:5

Register: H:5 Bool
Values / States: ON · OFF

Switch 6

Read switch state
MODBUSR(H, 5, Bool)
Write switch state
MODBUSWNE(H, 5, Bool, St)
Switch 6 LED Switch Read and write

LED indicator for channel 6 — reads/writes holding register H:15

Register: H:15 Bool
Values / States: ON · OFF

Switch 6 LED

Read switch state
MODBUSR(H, 15, Bool)
Write switch state
MODBUSWNE(H, 15, Bool, St)
Switch 7 Switch Read and write

On/off switch channel 7 — reads/writes holding register H:6

Register: H:6 Bool
Values / States: ON · OFF

Switch 7

Read switch state
MODBUSR(H, 6, Bool)
Write switch state
MODBUSWNE(H, 6, Bool, St)
Switch 7 LED Switch Read and write

LED indicator for channel 7 — reads/writes holding register H:16

Register: H:16 Bool
Values / States: ON · OFF

Switch 7 LED

Read switch state
MODBUSR(H, 16, Bool)
Write switch state
MODBUSWNE(H, 16, Bool, St)
Switch 8 Switch Read and write

On/off switch channel 8 — reads/writes holding register H:7

Register: H:7 Bool
Values / States: ON · OFF

Switch 8

Read switch state
MODBUSR(H, 7, Bool)
Write switch state
MODBUSWNE(H, 7, Bool, St)
Switch 8 LED Switch Read and write

LED indicator for channel 8 — reads/writes holding register H:17

Register: H:17 Bool
Values / States: ON · OFF

Switch 8 LED

Read switch state
MODBUSR(H, 17, Bool)
Write switch state
MODBUSWNE(H, 17, Bool, St)
Connection: Modbus TCP • Slave ID: $[SlaveId]

Import parameters

Enter these values when you import the XML.

Asked in the appDefault
Slave ID1
IP address192.168.0.1

Sources

Found a problem with this device template?

Tell us what's wrong, what's missing, or how the template should behave. We rely on your feedback to keep the catalog accurate.

Template · TapHome portal GTD8 Open this template in the Customer Portal to apply it to one of your homes, or to draft a refinement and submit it back to the catalog. Modbus TCP View in TapHome portal