I Just got 2 , Nedis WIFIPO120FWT plug with power-consupmtion, they have 14 different DP’'s … how do i know which is what, i did get a “spec” out of iot.tuya.com, but doesnt tell everything, it only specifies 8 out of 14 … but my problem is more what kind of “Platform” i should choose for the different ID’s, i know initially “Switch” next ID is countdown_1 ( i asume switch ?) , next 4 ID’s are most likely sensors (power, voltage, cur_current, add_ele) then i have ( cycle_time and random_time ), what “platform” to choose here ? , number, switch, select ? … and then i have the rest, howto know what they are good for ?
…
“product_name”: “Outdoor Smart Plug”,
“status”: [
“status”: [
“code”: “switch_1”,
“dp_id”: 1,
“type”: “Boolean”,
“values”: “{}”
"code": "countdown_1",
"dp_id": 9,
"type": "Integer",
"values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
"code": "add_ele",
"dp_id": 17,
"type": "Integer",
"values": "{\"unit\":\"kwh\",\"min\":0,\"max\":50000,\"scale\":3,\"step\":100}"
"code": "cur_current",
"dp_id": 18,
"type": "Integer",
"values": "{\"unit\":\"mA\",\"min\":0,\"max\":30000,\"scale\":0,\"step\":1}"
"code": "cur_power",
"dp_id": 19,
"type": "Integer",
"values": "{\"unit\":\"W\",\"min\":0,\"max\":50000,\"scale\":1,\"step\":1}"
"code": "cur_voltage",
"dp_id": 20,
"type": "Integer",
"values": "{\"unit\":\"V\",\"min\":0,\"max\":5000,\"scale\":1,\"step\":1}"
"code": "cycle_time",
"dp_id": 41,
"type": "String",
"values": "{}"
"code": "random_time",
"dp_id": 42,
"type": "String",
"values": "{}"
…
Beside above i have
“dp_id”: 21 , 22 , 23 , 24 , 25 , 26 , which i dont know what is good for
would appreciate help understanding which "Platform " to choose above