Overview

Device private deployment is implemented by installing the "ThingBoot Software Gateway [Gateway]" software on a server (or PC) within the same network as the device.

When the device operates in gateway mode, it builds in a web interface service (in the format: http://Device-IP-Address/control) for third-party applications to call.

If the device's IP address cannot be fixed, a "gateway" must be deployed within the network to manage the mapping table between device IDs and IP addresses. The gateway exposes HTTP interfaces and forwards control requests received from third-party applications to the device, enabling device control.

Working Mechanism

Connection Between Device and Software Gateway:

1 Network Connection After the device is powered on, it starts connecting to the configured network

The device will then enter the gateway working mode.

2 Gateway Connection The device connects to the server where the software gateway is installed

It sends a heartbeat to the software gateway every 60 seconds and reports its own information to the gateway.

3 Device Control The software gateway receives HTTP interface requests from third parties

The software gateway is responsible for forwarding these commands to the device.