Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuya driver lock is possible? #5

Open
albertovm opened this issue Oct 3, 2023 · 0 comments
Open

Tuya driver lock is possible? #5

albertovm opened this issue Oct 3, 2023 · 0 comments

Comments

@albertovm
Copy link

Hello,

This model of Tuya lock could be compatible with ST?

<ZigbeeDevice: f72dd795-83dd-4ef3-8665-9ae1b610131b [0x00D0] (Zigbee Thing)> emitting event: {"attribute_id":"basicHtml","capability_id":"amberpiano10217.deviceinfo","component_id":"main","state":{"value":"

Model TY0A01
Manufacturer _TYST12_srptwvak
NetworkId 0x00D0
Zigbee EUI A46DD4FFFE21320D
ZCL Version 3
APP Version 88
Server Clusters 01={ 0000,000A,0004,
0005,EF00 }
Client Clusters 01={ 0019 }
Test bar <progress value="30" max="100" />
"}}

<ZigbeeDevice: f72dd795-83dd-4ef3-8665-9ae1b610131b [0x00D0] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x00D0, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: Basic >, lqi: 0xC8, rssi: -50, body_length: 0x000B, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x58, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0001, DataType: Uint8, ApplicationVersion: 0x58 >, < AttributeRecord || AttributeId: 0xFFE2, DataType: Uint8, Uint8: 0x1C > > > >

DeviceInfoCapability.init table: 0xa88c60

There are lots of new "cheap" Zigbee lockers available from China since last month, and it appears that this is the basic info for them. I am trying to acquire another to be sure if they use the same chipset.
I did a quick test with your shade Tuya driver:

<ZigbeeDevice: f72dd795-83dd-4ef3-8665-9ae1b610131b [0x00D0] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x00D0, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: Basic >, lqi: 0xCC, rssi: -49, body_length: 0x000B, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x7B, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0001, DataType: Uint8, ApplicationVersion: 0x58 >, < AttributeRecord || AttributeId: 0xFFE2, DataType: Uint8, Uint8: 0x1C > > > >

<ZigbeeDevice: f72dd795-83dd-4ef3-8665-9ae1b610131b [0x00D0] (Zigbee Thing)> sending Zigbee message: < ZigbeeMessageTx || Uint16: 0x0000, < AddressHeader || src_addr: 0x0000, src_endpoint: 0x01, dest_addr: 0x00D0, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x01, seqno: 0x00, ZCLCommandId: 0x00 >, GenericBody: 00 0A 02 02 00 04 00 00 00 32 > >

023-10-03T14:24:34.628194666+00:00 TRACE Tuya Window Shade Received event with handler zigbee
2023-10-03T14:24:34.629532856+00:00 INFO Tuya Window Shade <ZigbeeDevice: f72dd795-83dd-4ef3-8665-9ae1b610131b [0x00D0] (Zigbee Thing)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x00D0, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xD4, rssi: -47, body_length: 0x0005, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x19, ZCLCommandId: 0x0B >, < DefaultResponse || cmd: 0x00, ZclStatus: SUCCESS > > >
2023-10-03T14:24:34.631394890+00:00 DEBUG Tuya Window Shade Zigbee Thing device thread event handled
2023-10-03T14:24:39.810680567+00:00 INFO Tuya Window Shade <ZigbeeDevice: f72dd795-83dd-4ef3-8665-9ae1b610131b [0x00D0] (Zigbee Thing)> emitting event: {"attribute_id":"shadeLevel","capability_id":"windowShadeLevel","component_id":"main","state":{"value":50}}
2023-10-03T14:24:39.844504929+00:00 INFO Tuya Window Shade <ZigbeeDevice: f72dd795-83dd-4ef3-8665-9ae1b610131b [0x00D0] (Zigbee Thing)> emitting event: {"attribute_id":"level","capability_id":"switchLevel","component_id":"main","state":{"value":50}}
2023-10-03T14:24:39.866480912+00:00 INFO Tuya Window Shade <ZigbeeDevice: f72dd795-83dd-4ef3-8665-9ae1b610131b [0x00D0] (Zigbee Thing)> emitting event: {"attribute_id":"windowShade","capability_id":"windowShade","component_id":"main","state":{"value":"partially open"}}

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant