tuya-local icon indicating copy to clipboard operation
tuya-local copied to clipboard

Request support for [UanTii Smart Wifi IR Remote Controller Infrared Universal]

Open Nas-au opened this issue 1 year ago • 4 comments

Information about DPS mappings

{
  "result": {
    "properties": [
      {
        "code": "ir_send",
        "custom_name": "",
        "dp_id": 201,
        "time": 1687894256155,
        "value": ""
      },
      {
        "code": "ir_study_code",
        "custom_name": "",
        "dp_id": 202,
        "time": 1687894256155
      }
    ]
  },
  "success": true,
  "t": 1687925653845,
  "tid": "3d86a565156a11ee9b65f25b5112df17"
}

Product ID

"model": "S06,S18通用",
"name": "Smart IR",
"product_id": "mjffeakbzlnfxpzt"

Information about how the device functions

Nas-au avatar Jun 28 '23 04:06 Nas-au

IR remotes are not supported at this time. It may be possible to use pre-programmed devices as sub devices, but so far the IR gateways that have been studied do not return any datapoints for IR devices, so they are impossible to detect.

make-all avatar Jun 28 '23 07:06 make-all

IR remotes are not supported at this time. It may be possible to use pre-programmed devices as sub devices, but so far the IR gateways that have been studied do not return any datapoints for IR devices, so they are impossible to detect.

Thanks you for you response.

Nas-au avatar Jul 02 '23 15:07 Nas-au

QueryThingsDataModel result of the device I have here (different model, but may help in figuring out the missing details in the above docs.

{
  "result": {
    "model": "{\"modelId\":\"000003fa6f\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":101,\"accessMode\":\"ro\",\"code\":\"temp_current\",\"description\":\"\",\"extensions\":{\"attribute\":\"2\",\"trigger\":\"direct\"},\"name\":\"温度\",\"typeSpec\":{\"max\":800,\"min\":-200,\"scale\":1,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":-200,\"unit\":\"℃\"}},
{\"abilityId\":102,\"accessMode\":\"ro\",\"code\":\"humidity_value\",\"description\":\"\",\"extensions\":{\"attribute\":\"2\",\"trigger\":\"direct\"},\"name\":\"湿度\",\"typeSpec\":{\"max\":100,\"min\":0,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"%\"}},
{\"abilityId\":201,\"accessMode\":\"rw\",\"code\":\"ir_send\",\"description\":\"\",\"extensions\":{\"attribute\":\"128\"},\"name\":\"红外控制下发\",\"typeSpec\":{\"maxlen\":3072,\"type\":\"string\",\"typeDefaultValue\":\"\"}},
{\"abilityId\":202,\"accessMode\":\"ro\",\"code\":\"ir_study_code\",\"description\":\"\",\"extensions\":{\"attribute\":\"128\"},\"name\":\"红外学习值上报\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}}]}]}"
  },
  "success": true,
  "t": 1703832547488,
  "tid": "5cec039fa61611eead0c9aea27a974a5"
}

make-all avatar Dec 29 '23 06:12 make-all

IR support will be available in the next release, but unfortunately this device can still not be supported due to limitations in the way devices are detected.

Basically the two dps supported by this device are: 201: not reported by the device, only for sending commands to the device. 202: only reported when the device is in learning mode and an IR signal is received.

make-all avatar Dec 30 '23 16:12 make-all