Proceed after we have added smart devices to SmartLife or Tuya mobile app
Create Tuya Cloud Project
Create Project
go to: https://iot.tuya.com
Go to Cloud > Development and create new Cloud Project
Link Project to SmartLife app
Click on the project to go into details
Go to Devices tab > Link Tuya App Account
Click on add, and scan the QR code on your SmartLife App
Link Tuya Services
Cloud > My Services
Subscribe to the following
- IoT Core
- Authorization
- Smart Home Scene Linkage
- Data Dashboard Service
Link each of the above services to your project
Get device details
Look for Device ID
Back to Tuya IOT website
If needed, change region from China to EU
Go to Devices tab > All Devices
Find your device and take note of DeviceID
Use API to query local_key
Go to Cloud > API Explorer. This will open in new page
Make sure IoT Core module is selected from drop down
Remember to change region
On the left panel, go to Smart Home Management System > Device Management > Get device details
Enter Device_ID on the params and click on Submit Request
Locating local_key
On the Result panel, look for local_key in the response.