I have a Tuya Thermostat that is a temperature/humidity sensor with clock but also has Multiple Devices IR. So I created the AC IR, it shows in the Developer Plataform as an “Real Device” with it’s own code different from the thermostat device, but the DP gathered by the Tuya Local didn’t work…
Here is what I got from the query properties from this device (The Air Conditioner IR created in Tuya App).
AC IR Device Query Properties
{
“result”: {
“properties”: [
{
“code”: “control”,
“custom_name”: “”,
“dp_id”: 1,
“time”: 1667338507436,
“type”: “enum”,
“value”: “send_ir”
},
{
“code”: “study_code”,
“custom_name”: “”,
“dp_id”: 2,
“time”: 1667338507436,
“type”: “raw”
},
{
“code”: “ir_code”,
“custom_name”: “”,
“dp_id”: 3,
“time”: 1667338507436,
“type”: “string”,
“value”: “”
},
{
“code”: “key_code”,
“custom_name”: “”,
“dp_id”: 4,
“time”: 1667338507436,
“type”: “string”,
“value”: “”
},
{
“code”: “key_code2”,
“custom_name”: “”,
“dp_id”: 5,
“time”: 1667338507436,
“type”: “string”,
“value”: “”
},
{
“code”: “key_code3”,
“custom_name”: “”,
“dp_id”: 6,
“time”: 1667338507436,
“type”: “string”,
“value”: “”
},
{
“code”: “key_study”,
“custom_name”: “”,
“dp_id”: 7,
“time”: 1667338507436,
“type”: “raw”
},
{
“code”: “key_study2”,
“custom_name”: “”,
“dp_id”: 8,
“time”: 1667338507436,
“type”: “raw”
},
{
“code”: “key_study3”,
“custom_name”: “”,
“dp_id”: 9,
“time”: 1667338507436,
“type”: “raw”
},
{
“code”: “delay_time”,
“custom_name”: “”,
“dp_id”: 10,
“time”: 1667338507436,
“type”: “value”,
“value”: 0
},
{
“code”: “key_code4”,
“custom_name”: “”,
“dp_id”: 11,
“time”: 1667338507436,
“type”: “string”,
“value”: “”
},
{
“code”: “key_study4”,
“custom_name”: “”,
“dp_id”: 12,
“time”: 1667338507436,
“type”: “raw”
},
{
“code”: “type”,
“custom_name”: “”,
“dp_id”: 13,
“time”: 1667338507436,
“type”: “value”,
“value”: 0
},
{
“code”: “switch_power”,
“custom_name”: “”,
“dp_id”: 101,
“time”: 1783492361000,
“type”: “bool”,
“value”: false
},
{
“code”: “mode”,
“custom_name”: “”,
“dp_id”: 102,
“time”: 1783492361000,
“type”: “enum”,
“value”: “0”
},
{
“code”: “temperature”,
“custom_name”: “”,
“dp_id”: 103,
“time”: 1783492361000,
“type”: “value”,
“value”: 25
},
{
“code”: “fan”,
“custom_name”: “”,
“dp_id”: 104,
“time”: 1783492361000,
“type”: “enum”,
“value”: “1”
},
{
“code”: “swing”,
“custom_name”: “”,
“dp_id”: 105,
“time”: 1667338507436,
“type”: “bool”,
“value”: false
},
{
“code”: “ir_send”,
“custom_name”: “”,
“dp_id”: 201,
“time”: 1667338507436,
“type”: “string”,
“value”: “”
},
{
“code”: “ir_study_code”,
“custom_name”: “”,
“dp_id”: 202,
“time”: 1667338507436,
“type”: “raw”
}
]
},
“success”: true,
“t”: 1784050314211,
“tid”: “e7e0eda97fa911f1976f5ae95710cd15”
}
Is it possible to control this device? I used the IP from the Thermostat and it connected. If you need any more details just ask me. Thanks!