tuya / tuya-home-assistant

Home Assistant integration for controlling Powered by Tuya (PBT) devices using Tuya Open API, maintained by the Home Assistant Community and Tuya Developer Team.
MIT License
875 stars 206 forks source link

WIFI Access Control only allows you to read open or closed status #900

Open arnoldpronobis opened 1 year ago

arnoldpronobis commented 1 year ago

Describe the error

WIFI Access Control - intelligent door lock, integration shows only the state of the lock, no possibility to control the lock and read the basic functions of the bell and history.

Expected behavior

  1. Possibility to control open - close
  2. Ability to set the ringtone as an alarm in HA - in the Tuya app I get a notification
  3. Recording history divided into users defined in the device.

Diagnostics for integrations and devices

You can download the diagnostics text file by clicking the "Download diagnostics" button in (Configuration -> Integrations -> Tuya Integration -> lower right button), please check the image below:

Screen shots image

If applicable, add screenshots to help explain your problem.

Home Assistant Version

Device info (please complete the following information, which can be found in log):

like this: { "name": "Domofon", "model": "", "category": "mk", "product_id": "5k8h97qska6pf5cm", "product_name": "WIFI Access Control", "online": true, "sub": false, "time_zone": "+01:00", "active_time": "2023-01-17T19:26:59+00:00", "create_time": "2023-01-17T19:26:59+00:00", "update_time": "2023-01-17T19:28:48+00:00", "function": { "unlock_method_create": { "type": "Raw", "value": {} }, "unlock_method_delete": { "type": "Raw", "value": {} }, "unlock_method_modify": { "type": "Raw", "value": {} }, "synch_method": { "type": "Raw", "value": {} }, "temporary_password_creat": { "type": "Raw", "value": {} }, "temporary_password_delete": { "type": "Raw", "value": {} }, "temporary_password_modify": { "type": "Raw", "value": {} }, "remote_no_pd_setkey": { "type": "Raw", "value": {} }, "remote_no_dp_key": { "type": "Raw", "value": {} }, "unlock_fingerprint_kit": { "type": "Raw", "value": {} }, "unlock_password_kit": { "type": "Raw", "value": {} }, "unlock_card_kit": { "type": "Raw", "value": {} }, "unlock_temporary_kit": { "type": "Raw", "value": {} }, "unlock_phone_remote_kit": { "type": "Raw", "value": {} }, "lock_alarm_kit": { "type": "Raw", "value": {} }, "doorbell_song_kit": { "type": "Raw", "value": {} }, "doorbell_volume": { "type": "Enum", "value": { "range": [ "mute", "low", "high" ] } }, "automatic_lock": { "type": "Boolean", "value": {} }, "auto_lock_time": { "type": "Integer", "value": { "unit": "S", "min": 1, "max": 99, "scale": 1, "step": 1 } }, "alarm_time": { "type": "Integer", "value": { "unit": "", "min": 0, "max": 180, "scale": 0, "step": 10 } }, "closed_opened_kit": { "type": "Raw", "value": {} }, "photo_again": { "type": "Boolean", "value": {} }, "lock_motor_state": { "type": "Boolean", "value": {} } }, "status_range": { "unlock_method_create": { "type": "Raw", "value": {} }, "unlock_method_delete": { "type": "Raw", "value": {} }, "unlock_method_modify": { "type": "Raw", "value": {} }, "synch_method": { "type": "Raw", "value": {} }, "temporary_password_creat": { "type": "Raw", "value": {} }, "temporary_password_delete": { "type": "Raw", "value": {} }, "temporary_password_modify": { "type": "Raw", "value": {} }, "remote_no_pd_setkey": { "type": "Raw", "value": {} }, "remote_no_dp_key": { "type": "Raw", "value": {} }, "unlock_fingerprint_kit": { "type": "Raw", "value": {} }, "unlock_password_kit": { "type": "Raw", "value": {} }, "unlock_card_kit": { "type": "Raw", "value": {} }, "unlock_temporary_kit": { "type": "Raw", "value": {} }, "unlock_offline_pd": { "type": "Raw", "value": {} }, "unlock_phone_remote_kit": { "type": "Raw", "value": {} }, "lock_alarm_kit": { "type": "Raw", "value": {} }, "doorbell_song_kit": { "type": "Raw", "value": {} }, "doorbell_volume": { "type": "Enum", "value": { "range": [ "mute", "low", "high" ] } }, "automatic_lock": { "type": "Boolean", "value": {} }, "auto_lock_time": { "type": "Integer", "value": { "unit": "S", "min": 1, "max": 99, "scale": 1, "step": 1 } }, "alarm_time": { "type": "Integer", "value": { "unit": "", "min": 0, "max": 180, "scale": 0, "step": 10 } }, "closed_opened_kit": { "type": "Raw", "value": {} }, "photo_again": { "type": "Boolean", "value": {} }, "lock_motor_state": { "type": "Boolean", "value": {} } }, "status": { "unlock_method_create": "Af8BAAEAZAAAAAE=", "unlock_method_delete": "AQABAAEAZAH/", "unlock_method_modify": "", "synch_method": "AQE=", "temporary_password_creat": "", "temporary_password_delete": "", "temporary_password_modify": "", "remote_no_pd_setkey": "AAAB", "remote_no_dp_key": "AAABAAA=", "unlock_fingerprint_kit": "", "unlock_password_kit": "", "unlock_card_kit": "", "unlock_temporary_kit": "", "unlock_offline_pd": "", "unlock_phone_remote_kit": "AAAAAQAA", "lock_alarm_kit": "", "doorbell_song_kit": "", "doorbell_volume": "middle", "automatic_lock": true, "auto_lock_time": 5, "alarm_time": 60, "closed_opened_kit": "AQAC", "photo_again": false, "lock_motor_state": false }, "home_assistant": { "name": "Domofon", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [ { "disabled": false, "disabled_by": null, "entity_category": null, "device_class": null, "original_device_class": "lock", "icon": null, "original_icon": null, "unit_of_measurement": null, "state": { "entity_id": "binary_sensor.wifi_access_control", "state": "off", "attributes": { "device_class": "lock", "friendly_name": "Domofon" }, "last_changed": "2023-01-17T19:44:55.081173+00:00", "last_updated": "2023-01-17T19:44:55.081173+00:00" } } ] } }, {

Additional context

Add any other context or logs about the problem here.

arnoldpronobis commented 1 year ago

Log after opening from the Tuya application. How else can I help?

image

macxq commented 1 year ago

FYI https://github.com/home-assistant/core/issues/92591

jeffreyentrace commented 1 year ago

I have a wifi keypad+cardreader and only want a notification when a correct card has been used to activate the unlocking mechanism. Has anyone succeeded in detecting this?

arnoldpronobis commented 10 months ago

Additionally, the device sends information to the Tuya application about pressing the bell key. Is it possible to create an entity showing this information? Let's focus on the ringtone function, which is very important.

macxq commented 9 months ago

Any updates here?

shlomosv1 commented 9 months ago

Same, Any updates here?

Drac0fly commented 8 months ago

up