0x5e / homebridge-tuya-platform

Make homebridge-tuya-platform great again.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

product tdx

antonioreyna opened this issue · comments

Device Infomation JSON File

{
    "active_time": 1703106359,
    "biz_type": 0,
    "category": "txd",
    "create_time": 1703106359,
    "icon": "smart/icon/ay1540317544338HahJd/3462201e2761e01f590e4965bd120de6.png",
    "id": "eb4d296cf4c5fe0e2c9ooz",
    "local_key": "qBoxXM+Q^9Tx&Z6$",
    "model": "Steren SHOME-420",
    "name": "Escalera",
    "online": true,
    "owner_id": "90670780",
    "product_id": "6gzv6fjzfgfpzgft",
    "product_name": "Steren SHOME-420",
    "status": [
      {
        "code": "bright_value",
        "value": 1000
      },
      {
        "code": "colour_data",
        "value": "{\"h\":0,\"s\":1000,\"v\":1000}"
      },
      {
        "code": "countdown",
        "value": 0
      },
      {
        "code": "scene_data",
        "value": "{\"scene_num\":1,\"scene_units\":[{\"bright\":200,\"h\":0,\"s\":0,\"temperature\":0,\"unit_change_mode\":\"static\",\"unit_gradient_duration\":13,\"unit_switch_duration\":14,\"v\":0}]}"
      },
      {
        "code": "switch_led",
        "value": true
      },
      {
        "code": "temp_value",
        "value": 1000
      },
      {
        "code": "work_mode",
        "value": "white"
      }
    ],
    "sub": true,
    "time_zone": "-06:00",
    "uid": "az16704763388806xQoa",
    "update_time": 1703106567,
    "uuid": "cb00b6a2d6841fde",
    "schema": [
      {
        "code": "bright_value",
        "mode": "rw",
        "type": "Integer",
        "property": {
          "min": 10,
          "max": 1000,
          "scale": 0,
          "step": 1
        }
      },
      {
        "code": "colour_data",
        "mode": "rw",
        "type": "Json",
        "property": {}
      },
      {
        "code": "countdown",
        "mode": "rw",
        "type": "Integer",
        "property": {
          "unit": "s",
          "min": 0,
          "max": 86400,
          "scale": 0,
          "step": 1
        }
      },
      {
        "code": "music_data",
        "mode": "wo",
        "type": "Json",
        "property": {}
      },
      {
        "code": "scene_data",
        "mode": "rw",
        "type": "Json",
        "property": {}
      },
      {
        "code": "switch_led",
        "mode": "rw",
        "type": "Boolean",
        "property": {}
      },
      {
        "code": "temp_value",
        "mode": "rw",
        "type": "Integer",
        "property": {
          "min": 0,
          "max": 1000,
          "scale": 0,
          "step": 1
        }
      },
      {
        "code": "work_mode",
        "mode": "rw",
        "type": "Enum",
        "property": {
          "range": [
            "white",
            "colour",
            "scene",
            "music"
          ]
        }
      }
    ]
  },

Detail Informations

how can i add this device