PlusPlus-ua / ha_tuya_ble

Home Assistant support for Tuya BLE devices
MIT License
191 stars 137 forks source link

Request for added support for "okkyfgfs" Tuya Door Lock #52

Open GrahamLeg opened 1 year ago

GrahamLeg commented 1 year ago

Hi,

I was wondering if it would be possible to please add support for a Tuya BLE Door Lock with the Product ID: okkyfgfs Model: P196_V ? Many thanks.

https://www.amazon.com.au/TEKXDD-Fingerprint-Deadbolt-Biometric-Electronic/dp/B0B93LGT5Y?pd_rd_w=K6CNa&content-id=amzn1.sym.41f9ce4c-3adc-43da-b4e0-59d56ab54b4b&pf_rd_p=41f9ce4c-3adc-43da-b4e0-59d56ab54b4b&pf_rd_r=ZJQCYDS4R61HAYCQQVVM&pd_rd_wg=EK9x2&pd_rd_r=7e99ca39-37b4-4ab7-b801-0867c3258d70&pd_rd_i=B0B93LGT5Y&psc=1&ref_=pd_bap_d_grid_rp_0_1_ec_i

{ "result": { "properties": [ { "code": "unlock_method_create", "custom_name": "", "dp_id": 1, "time": 1690178103652 }, { "code": "unlock_method_delete", "custom_name": "", "dp_id": 2, "time": 1690178103652 }, { "code": "unlock_method_modify", "custom_name": "", "dp_id": 3, "time": 1690178103652 }, { "code": "bluetooth_unlock", "custom_name": "", "dp_id": 6, "time": 1690178103652 }, { "code": "residual_electricity", "custom_name": "", "dp_id": 8, "time": 1690255732530, "value": 88 }, { "code": "unlock_fingerprint", "custom_name": "", "dp_id": 12, "time": 1690239837000, "value": 100 }, { "code": "unlock_password", "custom_name": "", "dp_id": 13, "time": 1690178103652, "value": 0 }, { "code": "unlock_dynamic", "custom_name": "", "dp_id": 14, "time": 1690178103652, "value": 0 }, { "code": "unlock_ble", "custom_name": "", "dp_id": 19, "time": 1690178103652, "value": 0 }, { "code": "alarm_lock", "custom_name": "", "dp_id": 21, "time": 1690243840000, "value": "wrong_finger" }, { "code": "beep_volume", "custom_name": "", "dp_id": 31, "time": 1690255732766, "value": "high" }, { "code": "lock_motor_state", "custom_name": "", "dp_id": 47, "time": 1690178103652, "value": false }, { "code": "temporary_password_creat", "custom_name": "", "dp_id": 51, "time": 1690178103652 }, { "code": "temporary_password_delete", "custom_name": "", "dp_id": 52, "time": 1690178103652 }, { "code": "temporary_password_modify", "custom_name": "", "dp_id": 53, "time": 1690178103652 }, { "code": "synch_method", "custom_name": "", "dp_id": 54, "time": 1690178103652 }, { "code": "unlock_temporary", "custom_name": "", "dp_id": 55, "time": 1690178103652, "value": 0 }, { "code": "remote_no_pd_setkey", "custom_name": "", "dp_id": 60, "time": 1690178103652 }, { "code": "remote_no_dp_key", "custom_name": "", "dp_id": 61, "time": 1690178103652 }, { "code": "unlock_phone_remote", "custom_name": "", "dp_id": 62, "time": 1690178103652, "value": 0 }, { "code": "unlock_voice_remote", "custom_name": "", "dp_id": 63, "time": 1690178103652, "value": 0 }, { "code": "password_offline_time", "custom_name": "", "dp_id": 64, "time": 1690178137232, "value": "1690178103" }, { "code": "unlock_offline_clear_single", "custom_name": "", "dp_id": 65, "time": 1690178103652 }, { "code": "unlock_offline_clear", "custom_name": "", "dp_id": 66, "time": 1690178103652 }, { "code": "unlock_offline_pd", "custom_name": "", "dp_id": 67, "time": 1690178103652 } ] },

JcMinarro commented 1 year ago

I have the same device. @PlusPlus-ua How can we help to include support for this device? Anything else I could do? Anything else we could provide?

calbeeb-grape commented 8 months ago

Any update on this?

patriot1889 commented 5 months ago

I just finished adding basic integration for this lock on my fork here; https://github.com/patriot1889/ha_tuya_ble

JcMinarro commented 5 months ago

@patriot1889 I just installed it but it is not finding my device. Any idea?

patriot1889 commented 5 months ago

@patriot1889 I just installed it but it is not finding my device. Any idea?

Do you have a tuya IOT account set up per the old tuya instructions? https://web.archive.org/web/20240204064157/https://www.home-assistant.io/integrations/tuya/

Any BLE device needs to be first set up using the tuya smart app before it can be added to HA.