zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[TS011F / _TZ3000_gazjngjl] 1 gang universal wall socket with USB

Open tl-zigbee opened this issue 11 months ago • 2 comments

What happened?

_TZ3000_gazjngjl detected as 2 gang socket with power monitoring and USB

related: https://github.com/koenkk/zigbee2mqtt/issues/28278

What did you expect to happen?

_TZ3000_gazjngjl is actually a 1 gang universal socket with USB-A & USB-C ports, and without power monitoring. Also missing child lock option to enable/disable physical input on the device.

(https://www.aliexpress.com/item/1005009293766297.html)

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.7.1 (6d30fa156cf208189edbbd7db8422a6fc657fb9e )

Adapter firmware version

{"build":397,"ezsp":14,"major":8,"minor":0,"patch":2,"revision":"8.0.2 [GA]","special":0,"type":170}

Adapter

EmberZNet

Setup

os: #86009 SMP Wed Nov 26 18:19:17 CST 2025 - 4.4.302+ - x64 node: v22.16.0 ha: true

Device database.db entry

No response

Debug log

[12/12/2025, 3:42:09 pm] z2m: Failed to configure '0xa4c138cbb3e83edb', attempt 1 (Error: Device 0xa4c138cbb3e83edb has no input cluster haElectricalMeasurement at getEndpointsWithCluster (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:73:15) at result.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:2293:44) at Object.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/index.ts:365:27) at Configure.configure (/app/lib/extension/configure.ts:123:13) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:252:17))

[12/12/2025, 3:43:42 pm] z2m: Failed to configure '0xa4c138cbb3e83edb', attempt 2 (Error: Device 0xa4c138cbb3e83edb has no input cluster haElectricalMeasurement at getEndpointsWithCluster (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:73:15) at result.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:2293:44) at Object.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/index.ts:365:27) at Configure.configure (/app/lib/extension/configure.ts:123:13) at Immediate. (/app/lib/extension/configure.ts:66:17))

[12/12/2025, 3:45:04 pm] z2m: Failed to configure '0xa4c138cbb3e83edb', attempt 3 (Error: Device 0xa4c138cbb3e83edb has no input cluster haElectricalMeasurement at getEndpointsWithCluster (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:73:15) at result.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:2293:44) at Object.configure (/app/node_modules/.pnpm/[email protected]/node_modules/zigbee-herdsman-converters/src/index.ts:365:27) at Configure.configure (/app/lib/extension/configure.ts:123:13) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:252:17))

Notes

Link

https://www.aliexpress.com/item/1005009293766297.html

Device

software_build_id: undefined date_code: `` endpoints:

{"1":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x8c8b48fffe4fdddd","type":"endpoint"}}],"clusters":{"input":["genIdentify","genGroups","genScenes","genOnOff","57344","manuSpecificTuya3","genBasic"],"output":["genOta","genTime"]},"configured_reportings":[{"attribute":"onOff","cluster":"genOnOff","maximum_report_interval":65000,"minimum_report_interval":0,"reportable_change":1}],"name":"left","scenes":[]},"2":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x8c8b48fffe4fdddd","type":"endpoint"}}],"clusters":{"input":["genGroups","genScenes","genOnOff","manuSpecificTuya3"],"output":[]},"configured_reportings":[{"attribute":"onOff","cluster":"genOnOff","maximum_report_interval":65000,"minimum_report_interval":0,"reportable_change":1}],"name":"right","scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}}

tl-zigbee avatar Dec 12 '25 07:12 tl-zigbee

Screenshots of available functions from Tuya SmartLife app:

Image

Image

Extract dp_id from Tuya IOT platform:

{
  "result": {
    "category": "pc",
    "functions": [
      {
        "code": "switch_1",
        "dp_id": 1,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "switch_2",
        "dp_id": 2,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "countdown_1",
        "dp_id": 9,
        "type": "Integer",
        "values": "{\"unit\":\"s\",\"min\":0,\"max\":43200,\"scale\":0,\"step\":1}"
      },
      {
        "code": "countdown_2",
        "dp_id": 10,
        "type": "Integer",
        "values": "{\"unit\":\"s\",\"min\":0,\"max\":43200,\"scale\":0,\"step\":1}"
      },
      {
        "code": "relay_status",
        "dp_id": 27,
        "type": "Enum",
        "values": "{\"range\":[\"power_off\",\"power_on\",\"last\"]}"
      },
      {
        "code": "light_mode",
        "dp_id": 28,
        "type": "Enum",
        "values": "{\"range\":[\"none\",\"relay\",\"pos\"]}"
      },
      {
        "code": "child_lock",
        "dp_id": 29,
        "type": "Boolean",
        "values": "{}"
      }
    ],
    "lang_config": {},
    "status": [
      {
        "code": "switch_1",
        "dp_id": 1,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "switch_2",
        "dp_id": 2,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "countdown_1",
        "dp_id": 9,
        "type": "Integer",
        "values": "{\"unit\":\"s\",\"min\":0,\"max\":43200,\"scale\":0,\"step\":1}"
      },
      {
        "code": "countdown_2",
        "dp_id": 10,
        "type": "Integer",
        "values": "{\"unit\":\"s\",\"min\":0,\"max\":43200,\"scale\":0,\"step\":1}"
      },
      {
        "code": "relay_status",
        "dp_id": 27,
        "type": "Enum",
        "values": "{\"range\":[\"power_off\",\"power_on\",\"last\"]}"
      },
      {
        "code": "light_mode",
        "dp_id": 28,
        "type": "Enum",
        "values": "{\"range\":[\"none\",\"relay\",\"pos\"]}"
      },
      {
        "code": "child_lock",
        "dp_id": 29,
        "type": "Boolean",
        "values": "{}"
      }
    ]
  },
}

tl-zigbee avatar Dec 13 '25 08:12 tl-zigbee

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Feb 12 '26 00:02 github-actions[bot]