zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[TS0001 / _TZ3000_ma3mhpx2] unable to control light indicator

Open tl-zigbee opened this issue 1 year ago • 2 comments

Link

https://zigbee.blakadder.com/Tuya_DS-102BZN.html

What happened?

unable to control light indicator

What did you expect to happen?

able to control light indicator i.e. disable light indicator when switch off

Debug logs

from Tuya IOT Platform:

      {
        "code": "switch_1",
        "dp_id": 1,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "countdown_1",
        "dp_id": 7,
        "type": "Integer",
        "values": "{\"unit\":\"s\",\"min\":0,\"max\":43200,\"scale\":0,\"step\":1}"
      },
      {
        "code": "relay_status",
        "dp_id": 14,
        "type": "Enum",
        "values": "{\"range\":[\"power_off\",\"power_on\",\"last\"]}"
      },
      {
        "code": "switch_backlight",
        "dp_id": 16,
        "type": "Boolean",
        "values": "{}"
      },
      {
        "code": "switch_inching",
        "dp_id": 19,
        "type": "String",
        "values": "{}"
      }

from Dev console:

import * as m from 'zigbee-herdsman-converters/lib/modernExtend';

export default {
    zigbeeModel: ['TS0001'],
    model: 'TS0001',
    vendor: '_TZ3000_ma3mhpx2',
    description: 'Automatically generated definition',
    extend: [m.onOff({"powerOnBehavior":false})],
    meta: {},
};

from database.db: {"id":34,"type":"Router","ieeeAddr":"0xa4c13858c6397f8a","nwkAddr":22701,"manufId":4417,"manufName":"_TZ3000_ma3mhpx2","powerSource":"Mains (single phase)","modelId":"TS0001","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[3,4,5,6,57344,57345,0],"outClusterList":[25,10],"clusters":{"57344":{"attributes":{"53251":"AAAA"}},"genBasic":{"attributes":{"65503":"\u000f |0\u0017\u0010 |0\u0013\u0011 |0\u0012","65506":56,"65508":0,"65534":0,"modelId":"TS0001","manufacturerName":"_TZ3000_ma3mhpx2","powerSource":1,"zclVersion":3,"appVersion":85,"stackVersion":0,"hwVersion":1,"dateCode":""}},"genOnOff":{"attributes":{"onOff":1,"onTime":0,"offWaitTime":0,"tuyaBacklightMode":1,"moesStartUpOnOff":2,"tuyaBacklightSwitch":1}},"manuSpecificTuya3":{"attributes":{"powerOnBehavior":2,"switchType":0}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x8c8b48fffe4fdddd","endpointID":1}],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":85,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":332242049},"lastSeen":1761056621760}

Details

os: #81180 SMP Fri Oct 3 13:55:28 CST 2025 - 4.4.302+ - x64 node: v22.16.0 zigbee2mqtt: 2.6.2 (4d247f3ae129ee7318eeede877ffdbbd27444693 ) zigbee-herdsman: 6.1.5 zigbee-herdsman-converters: 25.35.1 adapter: EmberZNet {"build":397,"ezsp":14,"major":8,"minor":0,"patch":2,"revision":"8.0.2 [GA]","special":0,"type":170}

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":[],"scenes":[]},"242":{"bindings":[],"clusters":{"input":[],"output":["greenPower"]},"configured_reportings":[],"scenes":[]}}

tl-zigbee avatar Oct 21 '25 05:10 tl-zigbee

hi @Koenkk, backlight indicator seems to work when change _TZ3000_ma3mhpx2 to _TZ3000_bmqxalil in database.db

tl-zigbee avatar Oct 28 '25 03:10 tl-zigbee

Fixed, thanks @tl-zigbee !

Changes will be available in the dev branch in a few hours from now and in the next release which is every 1st of the month.

Koenkk avatar Oct 28 '25 20:10 Koenkk