Replies: 17 comments 11 replies
|
Any updates on this ? |
|
I have same device. Any news about support? |
|
I have as well a zigbee doorlock which is identified as TY0A01 ... but I'm unable to get any information out of the device or to get the instruction set Doeas anybody have an idea on how to get this running with Zigbee2mqtt? thanks for any help |
|
same problem any update ? |
|
Hello, Regards |
|
Any news? I have Home Assistant with Zigbee2MQTT and get unsupported Device message. I generated the next code in the file TY0A01.js. I think the problem is the device are waiting for a message from gateway because in the Zigbee2MQTT i see the message that the device is correct synchronization but in the "smart lock" i got the message that the pairing is failed. I think that the device doesn't send the correct info until the pairing are completed satisfactory. With the correct tabulation of the file. const definition = { module. Exports = definition;` |
|
I hope this helps you, it's a bit strange but I managed to get "lock" and "unlock" messages from the "smart lock" this is fantastic. MQTT publish: topic 'zigbee2mqtt/tuya.K-Garaje', payload '{"action":"unlock","action_source":105,"action_user":101,"battery":null,"linkquality":255,"state":"LOCK"}' |
|
I am considering to buy this. I hope support will be added soon ;) |
|
This are the DataPoints that I find in the device. But I need help for maching the DataPoints with the zigbee2mqtt. The part " 'Pendiente', tuya.valueConverter.raw]," is generic. |
|
Using the file TY0A01.zip
Only check the correct manufacturer...in my case "_TYST12_3zfaqx1i"
El sáb, 3 jun 2023 10:36, thbl ***@***.***> escribió:
… @daniperaleda <https://github.com/daniperaleda> using the TY0A01.zip
<https://github.com/Koenkk/zigbee2mqtt/files/10178577/TY0A01.zip> file or
?
—
Reply to this email directly, view it on GitHub
<#11869 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARELPSXZYVC2RZQJTY7JRLTXJLZPBANCNFSM5Q4JRFLQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Another question for all of you, when I pairing the Smart Lock with Tuya Gateway in the Smart Lock I hear a message that says "Successful". But when are pairing to zigbeetomqtt the device appears in device list with correctly added, but in the SmartLock the lights remain in pairing state until I get a "Fail" message. Is it the same situation for the rest of you? I think that the SmartLock are waiting a command that says that the pairing are correct. You are know something about that? |
|
can you please share your exposes variables please |
|
This is my new file version, but still not working. The values still unknown. Change the TXT extension to .js |
|
+1 vote I want to use this door lock with zigbee2mqtt. |
|
If i will use Tuya Local integration in HA it will works? |




Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am trying to add a tuya smart lock which look like that this one (but in tuya version):
https://www.zigbee2mqtt.io/devices/A6121.html
I am running zigbee2mqtt in a docker container. I only map the data folder outside the container (not the converters at the moment). But I might have to.
I am following the guide to add a new Tuya device, a smart lock which only exposes the "inserted" message.
I add a generic converter and activate debug.
I get this debug message:
DEBUG 2022-03-14 16:17:53: RECEIVED ZIGBEE MESSAGE FROM 'SMARTLOCK', TYPE 'ATTRIBUTEREPORT', CLUSTER 'GENBASIC', DATA '{"65506":28,"APPVERSION":88}' FROM ENDPOINT 1 WITH GROUPID 0
So now I have to catch this message which correpond to the insertion of my key in the lock and publish the message....
But I am stuck...
Any idea?
Thanks
Annexe.
My converter is the one from documentation:
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const tuya = require("zigbee-herdsman-converters/lib/tuya");
const definition = {
// Since a lot of Tuya devices use the same modelID, but use different data points
// it's usually necessary to provide a fingerprint instead of a zigbeeModel
fingerprint: [
{
// The model ID from: Device with modelID 'TS0601' is not supported
// You may need to add \u0000 at the end of the name in some cases
modelID: 'TY0A01',
// The manufacturer name from: Device with modelID 'TS0601' is not supported.
manufacturerName: '_TYST12_3zfaqx1i'
},
],
model: 'TY0A01-Zigbee',
vendor: 'Vima',
description: 'Smart Lock',
supports: 'inserted',
fromZigbee: [
fz.ignore_basic_report, // Add this if you are getting no converter for 'genBasic'
fz.tuya_data_point_dump, // This is a debug converter, it will be described in the next part
],
toZigbee: [
tz.tuya_data_point_test, // Another debug converter
],
onEvent: tuya.onEventSetTime, // Add this if you are getting no converter for 'commandMcuSyncTime'
configure: async (device, coordinatorEndpoint, logger) => {
const endpoint = device.getEndpoint(1);
await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic']);
},
exposes: [
// Here you should put all functionality that your device exposes
],
};
module.exports = definition;
All reactions