tuya-home-assistant
tuya-home-assistant copied to clipboard
Wifi Door Lock
Device normal info
- Brand
- Product: Wifi智能门锁
Device info (please complete the following information, which can be found in log): like this: { "result": [ { "code": "unlock_fingerprint", "value": 15 }, { "code": "unlock_password", "value": 11 }, { "code": "unlock_temporary", "value": 909 }, { "code": "unlock_dynamic", "value": 900 }, { "code": "unlock_card", "value": 0 }, { "code": "unlock_key", "value": 0 }, { "code": "alarm_lock", "value": "wrong_password" }, { "code": "unlock_request", "value": 0 }, { "code": "residual_electricity", "value": 100 }, { "code": "unlock_app", "value": 0 }, { "code": "hijack", "value": false }, { "code": "doorbell", "value": true } ], "success": true, "t": 1626872625471 }
while Integrating with Home assistant only find sensor for Battery nothing else, No logs for Open the door and the ID of the door Opened
{ "result": { "active_time": 1621337292, "biz_type": 18, "category": "ms", "create_time": 1619012539, "icon": "smart/icon/ay15620559232955VcTq/2f365636d123a0efe4719de426a71a4e.png", "id": "4346076384cca88f7e34", "ip": "156.213.248.206", "lat": "30.03596046458731", "local_key": "e6e7405321ee9e8b", "lon": "31.51514175975225", "model": "", "name": "Wifi SmartLock", "online": true, "owner_id": "27781434", "product_id": "082cmsqvk9tkp8d9", "product_name": "Wifi SmartLock", "status": [ { "code": "unlock_fingerprint", "value": 15 }, { "code": "unlock_password", "value": 11 }, { "code": "unlock_temporary", "value": 909 }, { "code": "unlock_dynamic", "value": 900 }, { "code": "unlock_card", "value": 0 }, { "code": "unlock_key", "value": 0 }, { "code": "alarm_lock", "value": "wrong_password" }, { "code": "unlock_request", "value": 0 }, { "code": "residual_electricity", "value": 100 }, { "code": "unlock_app", "value": 0 }, { "code": "hijack", "value": false }, { "code": "doorbell", "value": true } ], "sub": false, "time_zone": "+02:00", "uid": "eu1616156182124EoieM", "update_time": 1626867821, "uuid": "4346076384cca88f7e34" }, "success": true, "t": 1626873390976 }
@tsutsuku none of my Tuya Locks (wifi or zigbee) have the function to unlock, i only have the function to change the doorbell volume, is that going to be changed?
If the unlocking will not be available at least I should have logs about who unlocked the door ?which type of unblocking happened? Getting notification when hacking is happening ?? Any type of info.
@Sthopeless Did you do anything on the Home assistant to have these volume setup or it is available by default?
@kond111 if your lock as that option should appear automatically in Home Assistant. On Tuya/Smartlife App do you have that option on your lock to change the volume?
@Sthopeless No i don't Have meanwhile I don't care really about the volume of the door bell since it tough be figured out by the visitors that the Lock is having a Ring door bell, but actually it is a very nice lock which have all what I need but the only missing issue to have some customized automation on the person coming, for example i'm a deep need to lock may room in case the maid entered for cleaning while I'm out of home.
Hi guys, I've already written the driver for the lock for the status sensors, but the device needs to be standardized.
@tsutsuku Can you put this device in the queue to be standardize ? I Can finish the driver code after this
There's two friends of mine with this lock 'ms' category as well
@Jhonattan-Souza You can create a ticket in the Tuya service console with your device specifications to ask to standardize. https://service.console.tuya.com/8/2/create?step=3&id=01030503&source=content_feedback.
@tsutsuku if I opened a ticket this will be only for my device or for all the same type of devices??
My lock only show battery status only. No other function.
Hello All,
Is there any Updates related to this Subject
Hi, I’m curious on this as wel How’s the progress?
Support for these locks would be really great.
Hi, I’m curious on this as wel How’s the progress?
same old.. only battery status and some lock models has have sensor saying if it's closed or open.
I have successfully used API to open Bluetooth, WiFi and Zigbee locks but the process is not as simple as sending one request
TBH I dont think this will be the solution for HA locks and Tuya doesn't seem to be whiling to do any changes to it.
- WiFi locks are asleep all the time and to unlock remotely you need to start a request from the lock itself
- unlocking requires a password sended by tuya cloud that changes every +-3mins
- most locks don't have open/close sensor
I think if Tuya decides to change something they will do same they did with Weight Scales and just create a new category for Locks with "this new features" and if we want them we buy the new locks.
@Sthopeless Can you share with us your experience to open Wifi Lock or Zigbee, it will be a great help unitl Tuya find a way forward in this path, and this will help Us to use our lock which is not being used in any of the automations?
Hi guys, I've already written the driver for the lock for the status sensors, but the device needs to be standardized.
@tsutsuku Can you put this device in the queue to be standardize ? I Can finish the driver code after this
There's two friends of mine with this lock 'ms' category as well
Hi @Jhonattan-Souza what's your progress on this? were you able to standardize the driver
Hi. At least pushing the status of entrance number?? no way?
Any news on this?
Nope
Email enviado usando um celular...
Em qua., 13 de abr. de 2022 19:06, ronpotter271 @.***> escreveu:
Any news on this?
— Reply to this email directly, view it on GitHub https://github.com/tuya/tuya-home-assistant/issues/184#issuecomment-1098530495, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUXTGQPVTL5INLVMC7WNTDVE5AQBANCNFSM5AX5SDLA . You are receiving this because you commented.Message ID: @.***>
I feel like it shouldn't be that hard to write a script that would automatically get the password that it needs from the cloud and just send a lock/unlock request, if it was in fact done manually, why cant anyone make it into a custom integration? am i missing something
@Sthopeless Heyy, have you tried sending the requests to the lock locally? And does locking/unlocking work that way?
Asking that since I saw in their IOT documentation an option for Offline key, so I'm guessing that should just work?
I feel like it shouldn't be that hard to write a script that would automatically get the password that it needs from the cloud and just send a lock/unlock request, if it was in fact done manually, why cant anyone make it into a custom integration? am i missing something
That's what I've done, but because the locks only worked when connected to Tuya Cloud I have never got to use them and don't advise them.
Asking that since I saw in their IOT documentation an option for Offline key, so I'm guessing that should just work?
Can you show me the url please, maybe they changed but I think is unlikely. Also from what I can remember, only Zigbee could be unlocked totally remotely. WiFi was not possible.
And yes I have tried many ways to control the my locks locally 100% cloud free, but nothing came tho
I feel like it shouldn't be that hard to write a script that would automatically get the password that it needs from the cloud and just send a lock/unlock request, if it was in fact done manually, why cant anyone make it into a custom integration? am i missing something
That's what I've done, but because the locks only worked when connected to Tuya Cloud I have never got to use them and don't advise them.
Asking that since I saw in their IOT documentation an option for Offline key, so I'm guessing that should just work?
Can you show me the url please, maybe they changed but I think is unlikely. Also from what I can remember, only Zigbee could be unlocked totally remotely. WiFi was not possible.
any updates on the lock situation I have a feww locks that arte tuya ble and when i add the tuya app to the iot platform none of them shows up it says 0 devices added thern if i retry adding the tuya app it says CAPOP_user_biund error i start a new project tyhe iot platform isnt recognizing any of them but the locks show up in both tuya andf smart life apps and when i setup the cloud project in iot platform and the tuya or smart life doesnt add the locks when i try integratingh with home assistant i get an invalid skill id error anyone able to help with thisa?
Any updates here? I have created ticket for that in official ha tuya integration https://github.com/home-assistant/core/issues/92591