Tuya Edge Gateway V1.0

Last Updated on : 2024-04-12 05:48:35download

Local deployment

  1. Install Docker on the local host. For more information, see Get Docker.

  2. Deploy the edge gateway. Then, you can visit to the URL http://localhost:3000. A successful connection indicates that the edge gateway is deployed. For more information, see Deploy the edge gateway.

  3. Activate the edge gateway. For more information, see Activate the edge gateway.

Best practices

After you deploy and activate Tuya Edge Gateway, you can take it to the next level. Tuya provides sufficient best practices and helps you get up and running with the edge gateway in no time. In the following example, the Modbus driver is used to describe the development process.

  1. Add a Modbus driver to the edge gateway. Download a driver, add a driver library, and then add a driver instance. For more information, see Manage Drivers on Tuya Edge Gateway.

    You can also use the driver SDK to develop a driver. For more information, see Develop Drivers with Driver SDK.

  2. Download and install the Modbus device simulator to run a simulated device without the use of a real smart device. For more information, see Run a device simulator.

  3. Create a product. Log in to the edge gateway, add the newly created product, add data points (DPs) for the product, and then add a sub-device. For more information, see Activate a sub-device.

  4. Debug the sub-device at Cloud development. For more information, see Debug APIs with API Explorer.