localtuya icon indicating copy to clipboard operation
localtuya copied to clipboard

Where can I find the correct DPs to wake up?

Open DFC1990 opened this issue 2 years ago • 6 comments

Hello all, unfortunately my tuyas are also not reachable from localtuya after restarting. The app however can still control the devices.

DNS and Internet access are blocked.

The latest version of localtuya is installed (4.1.0) which DPIDs should I use and enter in the web interface or where exactly do I get the correct DPIDs?

TECKIN Smart Plug SP22

DFC1990 avatar Oct 01 '22 16:10 DFC1990

I found mine for some heaters from China in the Device Logs section of IOT Tuya web interface in the network tab in the particular list request. Maybe you could check if this does apply to you too?

image

frontendbuddy avatar Oct 04 '22 19:10 frontendbuddy

Watch this YouTube video - https://www.youtube.com/watch?v=Q1ZShFJDvE0

iosoft avatar Oct 05 '22 07:10 iosoft

Bump, I am also looking for the DPIPs to use in a reset command, those are not mentioned in the video posted above. Most switches are ok/recoverable with "18,19,20", but smart lamps usually don't even have those DPIDs available (so the reset is not working).

cryptocelt avatar Nov 28 '22 15:11 cryptocelt

The video mentioned DOES show how to get the Data Points (also called dp_id) from 6 minutes into the video. He even gives an explanation for interpreting the data types and values. Not a detailed explanation, but between the code (name), type and values most of them should be reasonably clear.

Note also that there are two similar entries in that menu - "Get device specification attribute" and "Get Device Specification Attribute" with capital letters at the bottom of the menu.

donburch888 avatar Dec 26 '22 21:12 donburch888

It does, I never questioned that. However, it does not show which DPIDs are to be sent if the device falls into a zombie state, which is what is mentioned by the OP. Relative field in Local Tuya: image

cryptocelt avatar Dec 27 '22 13:12 cryptocelt

Tuya IoT web site has been updated, as 2024-07 on Tuya web site, you can find above mentioned function at,

Could - API Explorer - Smart Home Basic Service (at Upper-Left topdown menu, make sure it's not default [IoT Core] ) - Smart Home Device Control - Get Device Specification... (the last one. There are two 'Get Device Specification's as mentioned above)

My device, Moes Quad Switch (wifi) has dp_id as 1,2,3,4 { "code": "switch_2", "dp_id": 2, "type": "Boolean", "values": "{}" },

tanus10 avatar Jul 21 '24 16:07 tanus10