Overview
By using a server (or PC) within the network where the device is located, Achieve device private deployment by installing the "ThingBoot Software Gateway [Gateway]" software.
When a device's IP address cannot be fixed, it is necessary to deploy a "gateway" within the network to be responsible for establishing a mapping table between device IDs and IP addresses. The gateway exposes an HTTP interface and is responsible for forwarding the received control requests from third-party applications to the device, thereby enabling device control.
Working mechanism
Connection Between the Device and the Software Gateway:
After that, the device will enter the gateway working mode.
It sends a heartbeat to the Software Gateway every 60 seconds and reports its own information to the gateway.
The Software Gateway is responsible for forwarding these commands to the device.