Last Updated on : 2024-06-20 01:52:37download
Install Docker on the local host. For more information, see Get Docker.
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.
Activate the edge gateway. For more information, see Activate the edge gateway.
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.
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.
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.
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.
Debug the sub-device at Cloud development. For more information, see Debug APIs with API Explorer.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback