English
English
简体中文
Contact Us
Register
Log In
layoutIndex

Tuya IoT Edge Gateway V1.0

Last Updated on : 2022-09-21 03:50:36download

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 IoT 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 IoT 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 on the Tuya IoT Development Platform. 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 Tuya IoT Development Platform > Cloud Development. For more information, see Debug APIs with API Explorer.