Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 1.64 KB

DP_Mapping.md

File metadata and controls

29 lines (15 loc) · 1.64 KB

Tuya Cloud - Changing the Control Instruction Mode

DPS to Name mappings are now downloaded with devices.json starting with TinyTuya v1.12.8. If this DPS mapping is not correct then you will need to change the Control Instruction Mode to DP Instruction Mode.

How to get the full DPS mapping from Tuya Cloud.

This how-to will show you how to activate “DP Instruction” mode for your Tuya devices when using Tuya Cloud to pull data. This will result in getting the full list of DPS values and their properties for your devices.

Step 1 - Log in to your account on iot.tuya.com

Step 2 - Navigate to "Cloud" -> "Development" then select your project.

Step 3 - Select "Devices" tab.

image

Step 4- Select the device types and click the the "pencil icon" to edit.

image

Step 5 - Select the "DP Instruction" box and "Save Configuration"

image

There doesn't appear to be a way to globally set "DP Instruction" for all device types. You will need to select each device type and repeat the above step.

Step 6 - Use TinyTuya to access the full set of DPS

After 12-24 hours, you should now be able to poll the Tuya Cloud using TinyTuya to get the full list of DPS properties and values. Simply delete devices.json and re-run the Wizard.