Zigbee single channel controller (Watering Valve): Unsupported device
In addition to Mini Multi-Mode Gateway, the Zigbee single channel controller (watering valve) comes as unsupported.
Please see log file


[6/18/2024, 1:38:07 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules -D -K --strict-plugin-resolution
[6/18/2024, 1:38:07 PM] [HB Supervisor] Started Homebridge v1.8.2 with PID: 447
[6/18/2024, 1:38:10 PM] Loaded config.json with 0 accessories and 2 platforms.
[6/18/2024, 1:38:10 PM] Loaded 3 cached accessories from cachedAccessories.
[6/18/2024, 1:38:10 PM] ---
[6/18/2024, 1:38:12 PM] Loaded plugin: @0x5e/homebridge-tuya-platform@1.7.0-beta.53
[6/18/2024, 1:38:12 PM] Registering platform '@0x5e/homebridge-tuya-platform.TuyaPlatform'
[6/18/2024, 1:38:12 PM] ---
[6/18/2024, 1:38:12 PM] Loading 2 platforms...
[6/18/2024, 1:38:12 PM] [Tuya] Initializing TuyaPlatform platform...
[6/18/2024, 1:38:12 PM] [Tuya] Finished initializing platform
[6/18/2024, 1:38:12 PM] [Tuya] Loading accessory from cache: Mini Multi-Mode Gateway
[6/18/2024, 1:38:12 PM] [Tuya] Loading accessory from cache: 智能水阀
[6/18/2024, 1:38:12 PM] [Tuya] Loading accessory from cache: Zigbee single channel controller
[6/18/2024, 1:38:12 PM] [Tuya] Executed didFinishLaunching callback
[6/18/2024, 1:38:12 PM] [Tuya] Log in to Tuya Cloud.
[6/18/2024, 1:38:12 PM] [Tuya] [TuyaOpenAPI] Login to: https://openapi.tuyaeu.com
[6/18/2024, 1:38:12 PM] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaeu.com
path = /v1.0/iot-01/associated-users/actions/authorized-login
query = null
headers = {
  "t": "1718710692506",
  "client_id": "gjap3nvs4vpyggjm8eya",
  "nonce": "5126f426-1681-4c64-b051-a7bf62120015",
  "Signature-Headers": "client_id",
  "sign": "F7C83ACAFA47EC82336ECF68F3FB818FFC80A6089893A548E0BB16B6124CBE88",
  "sign_method": "HMAC-SHA256",
  "access_token": "",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.53"
}
body = {
  "country_code": 34,
  "username": "jordi@majo.cat",
  "password": "3e965ef0c2b3e76ef43fa3bd9217b18a",
  "schema": "smartlife"
}
[6/18/2024, 1:38:12 PM] Publishing bridge accessory (name: Homebridge 2AE5, publishInfo: {
  username: '0E:31:0C:6D:2A:E5',
  port: 51740,
  pincode: '***-**-***',
  category: 2,
  bind: undefined,
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'bonjour-hap'
}).
Setup Payload:
X-HM://0024Z10M9O0BN
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
                       
    ┌────────────┐     
    │ XXX-XX-XXX│     
    └────────────┘     
                       
[6/18/2024, 1:38:13 PM] Homebridge v1.8.2 (HAP v0.12.1) (Homebridge 2AE5) is running on port 51740.
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-01/associated-users/actions/authorized-login
data = {
  "result": {
    "access_token": "673a4fda2b3e9202e356c967b84ac6ef",
    "expire_time": 7200,
    "platform_url": "https://openapi.tuyaeu.com",
    "refresh_token": "fd6c1ca754439b48e9bcd3c06e84aef7",
    "uid": "eu1717232611908u1MuL"
  },
  "success": true,
  "t": 1718710693306,
  "tid": "3ee865d62d6711ef9073c64ba2abc1e6"
}
[6/18/2024, 1:38:13 PM] [Tuya] Start MQTT connection.
[6/18/2024, 1:38:13 PM] [Tuya] Fetching home list.
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Request:
method = post
endpoint = https://openapi.tuyaeu.com
path = /v1.0/iot-03/open-hub/access-config
query = null
headers = {
  "t": "1718710693349",
  "client_id": "gjap3nvs4vpyggjm8eya",
  "nonce": "85669396-9e1d-40ad-8782-30a79c7dff2b",
  "Signature-Headers": "client_id",
  "sign": "218911EAD8FFA6D0CDE94B5A63EDE3B2D743070DFB5D1E14CD8F3669147AA4BC",
  "sign_method": "HMAC-SHA256",
  "access_token": "673a4fda2b3e9202e356c967b84ac6ef",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.53"
}
body = {
  "uid": "eu1717232611908u1MuL",
  "link_id": "8c1b3c52-00ee-4b3f-8d5f-5fe508cba263",
  "link_type": "mqtt",
  "topics": "device",
  "msg_encrypted_version": "1.0"
}
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaeu.com
path = /v1.0/users/eu1717232611908u1MuL/homes
query = undefined
headers = {
  "t": "1718710693355",
  "client_id": "gjap3nvs4vpyggjm8eya",
  "nonce": "346f6f51-b526-4a94-a516-e6bbde2dffed",
  "Signature-Headers": "client_id",
  "sign": "976FBB211C6AB54489B0A399BED04A6F79AAF43A56153C0940B83108A3EFE72F",
  "sign_method": "HMAC-SHA256",
  "access_token": "673a4fda2b3e9202e356c967b84ac6ef",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.53"
}
body = null
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/iot-03/open-hub/access-config
data = {
  "result": {
    "client_id": "cloud_new2fbd796fa76340c7262b5a2c4d469bd9",
    "expire_time": 7200,
    "password": "97d36b6c703fa7df3793cc4526265445",
    "sink_topic": {
      "device": "cloud/token/out/{device_id}"
    },
    "source_topic": {
      "device": "cloud/token/in/newf86d77b5dba3f8c4e48128ba82337b99"
    },
    "url": "ssl://m1.tuyaeu.com:8883",
    "username": "cloud_newf86d77b5dba3f8c4e48128ba82337b99"
  },
  "success": true,
  "t": 1718710693434,
  "tid": "3f0681282d6711ef9e3b1acebe103cd3"
}
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenMQ] Connecting to: ssl://m1.tuyaeu.com:8883
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/users/eu1717232611908u1MuL/homes
data = {
  "result": [
    {
      "geo_name": "",
      "home_id": 193687302,
      "lat": 0,
      "lon": 0,
      "name": "My Home ..",
      "role": "OWNER"
    }
  ],
  "success": true,
  "t": 1718710693691,
  "tid": "3f2e93f02d6711ef9e3b1acebe103cd3"
}
[6/18/2024, 1:38:13 PM] [Tuya] Got home_id=193687302, name=My Home ..
[6/18/2024, 1:38:13 PM] [Tuya] Fetching device list.
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaeu.com
path = /v1.0/homes/193687302/devices
query = undefined
headers = {
  "t": "1718710693711",
  "client_id": "gjap3nvs4vpyggjm8eya",
  "nonce": "1a9d1f96-39cf-4bd4-b1ed-93f0cb6e31dd",
  "Signature-Headers": "client_id",
  "sign": "F3376A896557E642D8997CF221127D3ACF0A159C249082464D144D8B90235406",
  "sign_method": "HMAC-SHA256",
  "access_token": "673a4fda2b3e9202e356c967b84ac6ef",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.53"
}
body = null
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenMQ] Connected
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/homes/193687302/devices
data = {
  "result": [
    {
      "active_time": 1718710317,
      "biz_type": 18,
      "category": "wg2",
      "create_time": 1717232633,
      "icon": "smart/icon/ay1562803410690AUgvL/347c1dd369fb7bfff86cfa738cbdff52.png",
      "id": "bfd97870e2feb5621ckym8",
      "ip": "185.41.97.48",
      "lat": "",
      "local_key": "rN2C<t!28RY4UJ]g",
      "lon": "",
      "model": "JMMGW-mini",
      "name": "Mini Multi-Mode Gateway",
      "online": true,
      "owner_id": "193687302",
      "product_id": "pj3gdjgpeqao7xk4",
      "product_name": "MINI 多模网关",
      "status": [
        {
          "code": "switch_alarm_sound",
          "value": false
        },
        {
          "code": "master_state",
          "value": "normal"
        },
        {
          "code": "factory_reset",
          "value": false
        },
        {
          "code": "alarm_active",
          "value": ""
        }
      ],
      "sub": true,
      "time_zone": "+02:00",
      "uid": "eu1717232611908u1MuL",
      "update_time": 1718710323,
      "uuid": "89e272db7e785a0b"
    },
    {
      "active_time": 1718710492,
      "biz_type": 18,
      "category": "ggq",
      "create_time": 1717275346,
      "icon": "smart/icon/ay1545813662186VvWHx/16148380366d4a58fe3fa.jpg",
      "id": "bf54968ac32ecdb72577pt",
      "ip": "",
      "lat": "41.92",
      "local_key": "",
      "lon": "2.32",
      "model": "QT-06Z-01",
      "name": "智能水阀 3",
      "online": true,
      "owner_id": "193687302",
      "product_id": "a7sghmms",
      "product_name": "智能水阀",
      "status": [
        {
          "code": "switch",
          "value": false
        },
        {
          "code": "start",
          "value": true
        },
        {
          "code": "smart_weather",
          "value": "sunny"
        }
      ],
      "sub": true,
      "time_zone": "+02:00",
      "uid": "eu1717232611908u1MuL",
      "update_time": 1718710493,
      "uuid": "a4c138ef48ebe96f"
    },
    {
      "active_time": 1718710341,
      "biz_type": 18,
      "category": "cz",
      "create_time": 1717232730,
      "icon": "smart/icon/ay156273665527930ojI/16535309910048d1bb4df.jpg",
      "id": "bfa86de61a5f469c4bc0gq",
      "ip": "",
      "lat": "41.9159",
      "local_key": "",
      "lon": "2.3162",
      "model": "",
      "name": "Zigbee single channel controller",
      "online": true,
      "owner_id": "193687302",
      "product_id": "0jxeoadc",
      "product_name": "zigbee单路控制器",
      "status": [],
      "sub": true,
      "time_zone": "+02:00",
      "uid": "eu1717232611908u1MuL",
      "update_time": 1718710342,
      "uuid": "a4c13851dcde0d31"
    }
  ],
  "success": true,
  "t": 1718710693818,
  "tid": "3f3a41212d6711efaed6f615e854d753"
}
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaeu.com
path = /v1.0/devices/bfd97870e2feb5621ckym8/specifications
query = undefined
headers = {
  "t": "1718710693860",
  "client_id": "gjap3nvs4vpyggjm8eya",
  "nonce": "34fb47dd-02b9-4640-bb11-2cd871bf3b3e",
  "Signature-Headers": "client_id",
  "sign": "410045A9DDA2263D0486D8B65906CD68A5D453DE79D3831B6C6F85E65A1F27D1",
  "sign_method": "HMAC-SHA256",
  "access_token": "673a4fda2b3e9202e356c967b84ac6ef",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.53"
}
body = null
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/devices/bfd97870e2feb5621ckym8/specifications
data = {
  "result": {
    "category": "wg2",
    "functions": [
      {
        "code": "switch_alarm_sound",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "master_state",
        "type": "Enum",
        "values": "{\"range\":[\"normal\",\"alarm\"]}"
      },
      {
        "code": "factory_reset",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "alarm_active",
        "type": "String",
        "values": "{\"maxlen\":255}"
      }
    ],
    "status": [
      {
        "code": "switch_alarm_sound",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "master_state",
        "type": "Enum",
        "values": "{\"range\":[\"normal\",\"alarm\"]}"
      },
      {
        "code": "factory_reset",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "alarm_active",
        "type": "String",
        "values": "{\"maxlen\":255}"
      }
    ]
  },
  "success": true,
  "t": 1718710693926,
  "tid": "3f50c85d2d6711ef9073c64ba2abc1e6"
}
[6/18/2024, 1:38:13 PM] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaeu.com
path = /v1.0/devices/bf54968ac32ecdb72577pt/specifications
query = undefined
headers = {
  "t": "1718710693944",
  "client_id": "gjap3nvs4vpyggjm8eya",
  "nonce": "4c026a8d-1031-413a-a3b5-189c5b15f2be",
  "Signature-Headers": "client_id",
  "sign": "BA116587050961295E253C32B18A3256FCFDE18DE44EFDD492CB527DC04355E3",
  "sign_method": "HMAC-SHA256",
  "access_token": "673a4fda2b3e9202e356c967b84ac6ef",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.53"
}
body = null
[6/18/2024, 1:38:14 PM] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/devices/bf54968ac32ecdb72577pt/specifications
data = {
  "result": {
    "category": "ggq",
    "functions": [
      {
        "code": "switch",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "start",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "smart_weather",
        "type": "Enum",
        "values": "{\"range\":[\"sunny\",\"cloudy\",\"rainy\",\"snowy\"]}"
      }
    ],
    "status": [
      {
        "code": "switch",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "start",
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "smart_weather",
        "type": "Enum",
        "values": "{\"range\":[\"sunny\",\"cloudy\",\"rainy\",\"snowy\"]}"
      }
    ]
  },
  "success": true,
  "t": 1718710694001,
  "tid": "3f5d8b732d6711ef9e3b1acebe103cd3"
}
[6/18/2024, 1:38:14 PM] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaeu.com
path = /v1.0/devices/bfa86de61a5f469c4bc0gq/specifications
query = undefined
headers = {
  "t": "1718710694025",
  "client_id": "gjap3nvs4vpyggjm8eya",
  "nonce": "0fdf98f3-85dc-427f-abc2-8d2f258c80ff",
  "Signature-Headers": "client_id",
  "sign": "F66BAFD159BB1B6B2180C55ACD78A3000865994D9B82FE71A26B0B6CAB6A8155",
  "sign_method": "HMAC-SHA256",
  "access_token": "673a4fda2b3e9202e356c967b84ac6ef",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.53"
}
body = null
[6/18/2024, 1:38:14 PM] [Tuya] [TuyaOpenAPI] Response:
path = /v1.0/devices/bfa86de61a5f469c4bc0gq/specifications
data = {
  "code": 2009,
  "msg": "not support this device",
  "success": false,
  "t": 1718710694093,
  "tid": "3f6a3f472d6711ef9073c64ba2abc1e6"
}
[6/18/2024, 1:38:14 PM] [Tuya] [TuyaDeviceManager] Get device specification failed. devId = bfa86de61a5f469c4bc0gq, code = 2009, msg = not support this device
[6/18/2024, 1:38:14 PM] [Tuya] Fetching scene list.
[6/18/2024, 1:38:14 PM] [Tuya] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaeu.com
path = /v1.1/homes/193687302/scenes
query = undefined
headers = {
  "t": "1718710694116",
  "client_id": "gjap3nvs4vpyggjm8eya",
  "nonce": "9cb6ffad-3143-423a-b95c-eaee46da7d6a",
  "Signature-Headers": "client_id",
  "sign": "E789D242662FFA5732D75433F242FBCF4238502617865882ED03162F959C76D1",
  "sign_method": "HMAC-SHA256",
  "access_token": "673a4fda2b3e9202e356c967b84ac6ef",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.53"
}
body = null
[6/18/2024, 1:38:14 PM] [Tuya] [TuyaOpenAPI] Response:
path = /v1.1/homes/193687302/scenes
data = {
  "result": [],
  "success": true,
  "t": 1718710694181,
  "tid": "3f78766c2d6711ef9073c64ba2abc1e6"
}
[6/18/2024, 1:38:14 PM] [Tuya] Got 3 device(s) and scene(s).
[6/18/2024, 1:38:14 PM] [Tuya] Device list saved at /var/lib/homebridge/persist/TuyaDeviceList.eu1717232611908u1MuL.json
[6/18/2024, 1:38:14 PM] [Tuya] Restoring existing accessory from cache: Mini Multi-Mode Gateway
[6/18/2024, 1:38:14 PM] [Tuya] Unsupported device: Mini Multi-Mode Gateway.
[6/18/2024, 1:38:14 PM] [Tuya] Restoring existing accessory from cache: 智能水阀
[6/18/2024, 1:38:14 PM] [Tuya] Restoring existing accessory from cache: Zigbee single channel controller
[6/18/2024, 1:38:14 PM] [Tuya] [Zigbee single channel controller] Product Category: cz
[6/18/2024, 1:38:14 PM] [Tuya] [Zigbee single channel controller] Missing one of the required schema: [ 'switch', 'switch_1' ]
[6/18/2024, 1:38:14 PM] [Tuya] [Zigbee single channel controller] Please switch device control mode to "DP Insctrution", and set `deviceOverrides` manually.
[6/18/2024, 1:38:14 PM] [Tuya] [Zigbee single channel controller] Detail information: https://github.com/0x5e/homebridge-tuya-platform#faq
[6/18/2024, 1:38:14 PM] [Tuya] [Zigbee single channel controller] Existing schema: [ [length]: 0 ]
[6/18/2024, 1:38:14 PM] [Tuya] Unsupported device: Zigbee single channel controller.