Skip to content

[New device support]: TY0A01 from _TYST12_bfejtdig #31796

@shoaibali

Description

@shoaibali

Link

https://www.aliexpress.com/item/1005007955920909.html?spm=a2g0o.order_detail.order_detail_item.3.125bf19cZ6FQX0

Database entry

{"id":13,"type":"EndDevice","ieeeAddr":"0x4c97a1fffe65ebd9","nwkAddr":60947,"manufId":0,"manufName":"_TYST12_bfejtdig","powerSource":"Battery","modelId":"TY0A01","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[0,10,4,5,61184],"outClusterList":[25],"clusters":{"genBasic":{"attributes":{"65503":"�Ҁ1\u0013�Ҁ1\u0012�Ҁ1\u0012�Ҁ1\u0012","65506":28,"modelId":"TY0A01","manufacturerName":"_TYST12_bfejtdig","stackVersion":0,"dateCode":"","appVersion":88}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":88,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{},"lastSeen":1777175157840}

Zigbee2MQTT version

2.9.2 (unknown)

External definition

export default {
    zigbeeModel: ['TY0A01'],
    model: 'TY0A01',
    vendor: '_TYST12_bfejtdig',
    description: 'Automatically generated definition',
    extend: [],
};

What does/doesn't work with the external definition?

The device pairs and interviews successfully, but it falls back to the generated (unsupported) definition.

I attempted to use a custom external converter to sniff the Tuya Data Points (fromZigbee: [tuya.fz.datapoints]), but Zigbee2MQTT continues to report the device as unsupported and ignores the custom converter. Because the custom file won't attach, no Unhandled DP messages are being broadcast to the debug logs when I physically interact with the lock (fingerprint, pin code, manual lock).

Could you provide the correct modern external converter syntax to force Z2M to recognize this specific manufacturer ID (_TYST12_bfejtdig) so I can sniff the DPs for mapping?

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const tuya = require('zigbee-herdsman-converters/lib/tuya');

export default {
zigbeeModel: ['TY0A01'],
model: 'TY0A01',
vendor: '_TYST12_bfejtdig',
description: 'Automatically generated definition',
fromZigbee: [tuya.fz.datapoints],
toZigbee: [tuya.tz.datapoints],
onEvent: tuya.onEventSetTime,
configure: tuya.configureMagicPacket,
exposes: [],
meta: { tuyaDatapoints: [] },
};

Notes

software_build_id: undefined
date_code: ``
endpoints:

{"1":{"bindings":[],"clusters":{"input":["genBasic","genTime","genGroups","genScenes","manuSpecificTuya"],"output":["genOta"]},"configured_reportings":[],"scenes":[]}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions