Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request support for Casdon TD Pro 2 device #2097

Closed
jianyun8023 opened this issue Jul 10, 2024 · 0 comments
Closed

Request support for Casdon TD Pro 2 device #2097

jianyun8023 opened this issue Jul 10, 2024 · 0 comments

Comments

@jianyun8023
Copy link
Contributor

jianyun8023 commented Jul 10, 2024

I will create configuration files for this device.

Log Message

2024-07-10 09:30:52.594 DEBUG (MainThread) [custom_components.tuya_local.device] Refreshing device state for Test
2024-07-10 09:30:52.594 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3
2024-07-10 09:30:52.619 DEBUG (SyncWorker_48) [custom_components.tuya_local.device] Test refreshed device state: {"dps": {"1": false, "2": false, "7": 0, "8": 40, "10": 0, "11": 0, "13": 0, "102": "wait", "103": false, "105": "1", "108": 0}}
2024-07-10 09:30:52.619 DEBUG (SyncWorker_48) [custom_components.tuya_local.device] new state (incl pending): {"updated_at": 1720575052.619872, "1": false, "2": false, "7": 0, "8": 40, "10": 0, "11": 0, "13": 0, "102": "wait", "103": false, "105": "1", "108": 0}

Information about DPS mappings

{
  "result": {
    "category": "kx",
    "functions": [
      {
        "code": "switch",
        "desc": "{}",
        "name": "开关",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "start",
        "desc": "{}",
        "name": "启动/停止",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "cook_temperature",
        "desc": "{\"unit\":\"\",\"min\":0,\"max\":500,\"scale\":0,\"step\":1}",
        "name": "烹饪温度",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":500,\"scale\":0,\"step\":1}"
      },
      {
        "code": "appointment_time",
        "desc": "{\"unit\":\"min\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}",
        "name": "预约时间",
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}"
      },
      {
        "code": "cook_time",
        "desc": "{\"unit\":\"min\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}",
        "name": "烹饪时间",
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}"
      }
    ],
    "status": [
      {
        "code": "switch",
        "name": "开关",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "start",
        "name": "启动/停止",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "cook_temperature",
        "name": "烹饪温度",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":500,\"scale\":0,\"step\":1}"
      },
      {
        "code": "temp_current",
        "name": "当前温度",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":500,\"scale\":0,\"step\":1}"
      },
      {
        "code": "appointment_time",
        "name": "预约时间",
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}"
      },
      {
        "code": "cook_time",
        "name": "烹饪时间",
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}"
      },
      {
        "code": "remain_time",
        "name": "剩余时间",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}"
      }
    ]
  },
  "success": true,
  "t": 1720485984266,
  "tid": "aabc03343d8c11efb8463a35f562ded4"
}

and

{
  "modelId": "000004nuey",
  "services": [
    {
      "actions": [],
      "code": "",
      "description": "",
      "events": [],
      "name": "默认服务",
      "properties": [
        {
          "abilityId": 1,
          "accessMode": "rw",
          "code": "switch",
          "description": "",
          "extensions": {
            "iconName": "icon-dp_power2",
            "attribute": "5"
          },
          "name": "开关",
          "typeSpec": {
            "type": "bool"
          }
        },
        {
          "abilityId": 2,
          "accessMode": "rw",
          "code": "start",
          "description": "",
          "extensions": {
            "iconName": "icon-dp_play"
          },
          "name": "启动/暂停",
          "typeSpec": {
            "type": "bool"
          }
        },
        {
          "abilityId": 7,
          "accessMode": "rw",
          "code": "cook_temperature",
          "description": "",
          "extensions": {
            "iconName": "icon-dp_temp"
          },
          "name": "烹饪温度",
          "typeSpec": {
            "type": "value",
            "max": 500,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": ""
          }
        },
        {
          "abilityId": 8,
          "accessMode": "ro",
          "code": "temp_current",
          "description": "",
          "extensions": {
            "iconName": "icon-dp_c"
          },
          "name": "当前温度",
          "typeSpec": {
            "type": "value",
            "max": 500,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": ""
          }
        },
        {
          "abilityId": 9,
          "accessMode": "rw",
          "code": "appointment_time",
          "description": "",
          "extensions": {
            "iconName": "icon-dp_time3"
          },
          "name": "预约时间",
          "typeSpec": {
            "type": "value",
            "max": 1440,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": "min"
          }
        },
        {
          "abilityId": 10,
          "accessMode": "rw",
          "code": "cook_time",
          "description": "",
          "extensions": {
            "iconName": "icon-dp_time3"
          },
          "name": "烹饪时间",
          "typeSpec": {
            "type": "value",
            "max": 1440,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": "min"
          }
        },
        {
          "abilityId": 11,
          "accessMode": "ro",
          "code": "remain_time",
          "description": "",
          "extensions": {
            "iconName": "icon-dp_time2"
          },
          "name": "工作剩余时间",
          "typeSpec": {
            "type": "value",
            "max": 1440,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": ""
          }
        },
        {
          "abilityId": 13,
          "accessMode": "ro",
          "code": "fault",
          "description": "er1:腔体高温保护(腔体传感器温度高于290°C);\ner2:蒸发盘高温保护(蒸发盘传感器温度高于200°C);\ner3:腔体低温保护(连续工作5分钟温度低于35°C);\ner4:蒸发盘低温保护(连续工作5分钟温度低于35°C);\ner5:传感器连接出故障(腔体或蒸发盘传感器开路);\ner6:传感器感应出故障(腔体或蒸发盘传感器短路);\ner7:显示板通信故障;\ner8:水箱开关(CN7)未闭合或者蒸发盘NTC(CN3)温度高于125℃并持续时间达25s后,缺水提示,并停止工作。",
          "extensions": {
            "iconName": "icon-baojing",
            "scope": "fault"
          },
          "name": "故障告警",
          "typeSpec": {
            "type": "bitmap",
            "label": [
              "er1",
              "er2",
              "er3",
              "er4",
              "er5",
              "er6",
              "er7",
              "er8"
            ],
            "maxlen": 8
          }
        },
        {
          "abilityId": 101,
          "accessMode": "rw",
          "code": "rag_lock",
          "description": "",
          "extensions": {
            "iconName": "icon-gongneng",
            "attribute": "4096"
          },
          "name": "童锁功能",
          "typeSpec": {
            "type": "bool"
          }
        },
        {
          "abilityId": 102,
          "accessMode": "rw",
          "code": "cook_status",
          "description": "reservation预约中 cooking烹饪中 cancel烹饪取消 wait烹饪等待 done烹饪完成 pause烹饪暂停",
          "name": "烹饪状态",
          "typeSpec": {
            "type": "enum",
            "range": [
              "wait",
              "reservation",
              "cooking",
              "cancel",
              "done",
              "pause"
            ]
          }
        },
        {
          "abilityId": 103,
          "accessMode": "rw",
          "code": "lamp",
          "description": "",
          "name": "炉灯",
          "typeSpec": {
            "type": "bool"
          }
        },
        {
          "abilityId": 104,
          "accessMode": "ro",
          "code": "cook_start_time",
          "description": "",
          "name": "预约烹饪开始时间",
          "typeSpec": {
            "type": "value",
            "max": 1440,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": ""
          }
        },
        {
          "abilityId": 105,
          "accessMode": "rw",
          "code": "all_mode",
          "description": "1.健康蒸, 2.鲜嫩蒸, 3.高温蒸, 4.养生炖, 5.上下烤, 6.立体烧烤, 7.底部热风, 8.上强烤, 9.3D热风,10.空气炸, 11.蒸汽炸, 12.一键面包 13.速热 14.保温 15.解冻 16.发酵 17.除垢 18.菜谱模式 19.内腔烘干 ,20.自定义模式,21.低湿蒸烤,22.中湿蒸烤,23.高湿蒸烤",
          "name": "模式选择",
          "typeSpec": {
            "type": "enum",
            "range": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "9",
              "10",
              "11",
              "12",
              "13",
              "14",
              "15",
              "16",
              "17",
              "18",
              "19",
              "20",
              "21",
              "22",
              "23"
            ]
          }
        },
        {
          "abilityId": 106,
          "accessMode": "rw",
          "code": "recipe_mode",
          "description": "1-50 文档中的菜谱",
          "name": "菜谱模式",
          "typeSpec": {
            "type": "value",
            "max": 50,
            "min": 1,
            "scale": 0,
            "step": 1,
            "unit": ""
          }
        },
        {
          "abilityId": 107,
          "accessMode": "rw",
          "code": "diy_mode",
          "description": "协议见文档",
          "name": "DIY菜谱",
          "typeSpec": {
            "type": "raw",
            "maxlen": 128
          }
        },
        {
          "abilityId": 108,
          "accessMode": "rw",
          "code": "up_temp",
          "description": "单独的上温度",
          "name": "上温度",
          "typeSpec": {
            "type": "value",
            "max": 500,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": ""
          }
        },
        {
          "abilityId": 109,
          "accessMode": "rw",
          "code": "down_temp",
          "description": "单独的下温度",
          "name": "下温度",
          "typeSpec": {
            "type": "value",
            "max": 500,
            "min": 0,
            "scale": 0,
            "step": 1,
            "unit": ""
          }
        }
      ]
    }
  ]
}

Product ID

Information about how the device functions

  • "productKey": "wab6oustdukujpkn"
  • "categoryName": "kx"
  • "categoryId": "kx_2b1w_3"
  • "devName": "蒸烤箱TD-pro二代"

Controllable methods

{
  "result": {
    "category": "kx",
    "functions": [
      {
        "code": "switch",
        "desc": "switch",
        "name": "switch",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "start",
        "desc": "start",
        "name": "start",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "cook_temperature",
        "desc": "cook temperature",
        "name": "cook temperature",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":500,\"scale\":0,\"step\":1}"
      },
      {
        "code": "appointment_time",
        "desc": "appointment time",
        "name": "appointment time",
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}"
      },
      {
        "code": "cook_time",
        "desc": "cook time",
        "name": "cook time",
        "type": "Integer",
        "values": "{\"unit\":\"min\",\"min\":0,\"max\":1440,\"scale\":0,\"step\":1}"
      }
    ]
  },
  "success": true,
  "t": 1720486581288,
  "tid": "0ea1e1bf3d8e11ef9bce021c7a95cb4c"
}

Product link: https://www.casdon.com.cn/Integrated_embedded%20oven/434.html
This device gen2 supports smart control and can be controlled via Tuya smart controls.

Device connection methods:

  1. In the power-on state, long press oven light button [炉灯] for three seconds.
  2. Hear "ding" sound release hand, screen WiFi indicator flashes at that time and wifi reset is successful, entering connect status
@jianyun8023 jianyun8023 added the new device Unsupported device label Jul 10, 2024
@make-all make-all added full_info All info needed was provided unreleased Will be in next release and removed full_info All info needed was provided new device Unsupported device unreleased Will be in next release labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants