home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.72k stars 28.87k forks source link

Tuya DLOCK unsupported please help fix #120419

Open KobeRyanX opened 1 week ago

KobeRyanX commented 1 week ago

The problem

Tuya DLOCK is unsupported on Home Assistant ,already connect to Bluetooth Gateway (also unsupported)

What version of Home Assistant Core has the issue?

2024.5.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tuya

Link to integration documentation on our website

No response

Diagnostics information

{ "home_assistant": { "installation_type": "Home Assistant Container", "version": "2024.5.5", "dev": false, "hassio": false, "virtualenv": false, "python_version": "3.12.2", "docker": true, "arch": "x86_64", "timezone": "Asia/Taipei", "os_name": "Linux", "os_version": "3.10.105", "run_as_root": true }, "custom_components": { "hacs": { "documentation": "https://hacs.xyz/docs/configuration/start", "version": "1.34.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "xiaomi_miot": { "documentation": "https://github.com/al-one/hass-xiaomi-miot", "version": "0.7.18", "requirements": [ "construct>=2.10.68", "python-miio>=0.5.12", "micloud>=0.5" ] }, "localtuya": { "documentation": "https://github.com/rospogrigio/localtuya/", "version": "5.2.1", "requirements": [] } }, "integration_manifest": { "domain": "tuya", "name": "Tuya", "codeowners": [ "@Tuya", "@zlinoliver", "@frenck" ], "config_flow": true, "dependencies": [ "ffmpeg" ], "dhcp": [ { "macaddress": "105A17" }, { "macaddress": "10D561" }, { "macaddress": "1869D8" }, { "macaddress": "381F8D" }, { "macaddress": "508A06" }, { "macaddress": "68572D" }, { "macaddress": "708976" }, { "macaddress": "7CF666" }, { "macaddress": "84E342" }, { "macaddress": "D4A651" }, { "macaddress": "D81F12*" } ], "documentation": "https://www.home-assistant.io/integrations/tuya", "integration_type": "hub", "iot_class": "cloud_push", "loggers": [ "tuya_iot" ], "requirements": [ "tuya-device-sharing-sdk==0.1.9" ], "is_built_in": true }, "data": { "endpoint": "https://apigw.tuyaus.com", "terminal_id": "1719241926684gLYfLj", "mqtt_connected": true, "disabled_by": null, "disabled_polling": false, "id": "eb992bkcz0nhrznz", "name": "DLOCK", "category": "jtmspro", "product_id": "99gv5nmz", "product_name": "DLOCK", "online": true, "sub": true, "time_zone": "+08:00", "active_time": "2024-06-24T09:26:28+00:00", "create_time": "2024-06-24T09:26:28+00:00", "update_time": "2024-06-24T09:26:28+00:00", "function": { "unlock_method_create": { "type": "Raw", "value": {} }, "unlock_method_delete": { "type": "Raw", "value": {} }, "unlock_method_modify": { "type": "Raw", "value": {} }, "language": { "type": "Enum", "value": { "range": [ "chinese_simplified", "english" ] } }, "beep_volume": { "type": "Enum", "value": { "range": [ "mute", "low", "normal", "high" ] } }, "automatic_lock": { "type": "Boolean", "value": {} }, "rtc_lock": { "type": "Boolean", "value": {} }, "manual_lock": { "type": "Boolean", "value": {} }, "synch_method": { "type": "Raw", "value": {} }, "remote_no_dp_key": { "type": "Raw", "value": {} }, "password_offline_time": { "type": "String", "value": {} }, "record": { "type": "Raw", "value": {} }, "check_code_set": { "type": "Raw", "value": {} }, "ble_unlock_check": { "type": "Raw", "value": {} }, "remote_pd_setkey_check": { "type": "Raw", "value": {} }, "sound_mode": { "type": "Enum", "value": { "range": [ "ringtone_0", "ringtone_1", "ringtone_2", "ringtone_3", "ringtone_4", "ringtone_5" ] } } }, "status_range": { "unlock_method_create": { "type": "Raw", "value": {} }, "unlock_method_delete": { "type": "Raw", "value": {} }, "unlock_method_modify": { "type": "Raw", "value": {} }, "residual_electricity": { "type": "Integer", "value": { "min": 0, "max": 100, "scale": 0, "step": 1 } }, "battery_state": { "type": "Enum", "value": { "range": [ "high", "medium", "low", "poweroff" ] } }, "unlock_fingerprint": { "type": "Integer", "value": { "min": 0, "max": 999, "scale": 0, "step": 1 } }, "unlock_password": { "type": "Integer", "value": { "min": 0, "max": 999, "scale": 0, "step": 1 } }, "unlock_dynamic": { "type": "Integer", "value": { "min": 0, "max": 999, "scale": 0, "step": 1 } }, "unlock_card": { "type": "Integer", "value": { "min": 0, "max": 999, "scale": 0, "step": 1 } }, "unlock_ble": { "type": "Integer", "value": { "min": 0, "max": 999, "scale": 0, "step": 1 } }, "alarm_lock": { "type": "Enum", "value": { "range": [ "wrong_finger", "wrong_password", "wrong_card", "wrong_face", "tongue_bad", "too_hot", "unclosed_time", "tongue_not_out", "pry", "key_in", "low_battery", "power_off", "shock", "defense" ] } }, "doorbell": { "type": "Boolean", "value": {} }, "language": { "type": "Enum", "value": { "range": [ "chinese_simplified", "english" ] } }, "beep_volume": { "type": "Enum", "value": { "range": [ "mute", "low", "normal", "high" ] } }, "automatic_lock": { "type": "Boolean", "value": {} }, "rtc_lock": { "type": "Boolean", "value": {} }, "manual_lock": { "type": "Boolean", "value": {} }, "lock_motor_state": { "type": "Boolean", "value": {} }, "synch_method": { "type": "Raw", "value": {} }, "remote_no_dp_key": { "type": "Raw", "value": {} }, "unlock_phone_remote": { "type": "Integer", "value": { "min": 0, "max": 999, "scale": 0, "step": 1 } }, "unlock_voice_remote": { "type": "Integer", "value": { "min": 0, "max": 999, "scale": 0, "step": 1 } }, "password_offline_time": { "type": "String", "value": {} }, "record": { "type": "Raw", "value": {} }, "check_code_set": { "type": "Raw", "value": {} }, "ble_unlock_check": { "type": "Raw", "value": {} }, "unlock_record_check": { "type": "Raw", "value": {} }, "remote_pd_setkey_check": { "type": "Raw", "value": {} }, "unlock_double_kit": { "type": "Raw", "value": {} }, "sound_mode": { "type": "Enum", "value": { "range": [ "ringtone_0", "ringtone_1", "ringtone_2", "ringtone_3", "ringtone_4", "ringtone_5" ] } } }, "status": { "unlock_method_create": "", "unlock_method_delete": "", "unlock_method_modify": "", "residual_electricity": 90, "battery_state": "high", "unlock_fingerprint": 0, "unlock_password": 0, "unlock_dynamic": 0, "unlock_card": 0, "unlock_ble": 0, "alarm_lock": "wrong_finger", "doorbell": false, "language": "english", "beep_volume": "mute", "automatic_lock": true, "rtc_lock": false, "manual_lock": true, "lock_motor_state": false, "synch_method": "", "remote_no_dp_key": "AAAB", "unlock_phone_remote": 0, "unlock_voice_remote": 0, "password_offline_time": 1719221188, "record": "", "check_code_set": "AAH//wAAAAAAAAAAAP//AA==", "ble_unlock_check": "", "unlock_record_check": "", "remote_pd_setkey_check": "AAH//zQ0MzgzNzMyAQABAA==", "unlock_double_kit": "", "sound_mode": "ringtone_0" }, "home_assistant": { "name": "DLOCK", "name_by_user": null, "disabled": false, "disabled_by": null, "entities": [] }, "set_up": false, "support_local": true } }

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 week ago

Hey there @tuya, @zlinoliver, @frenck, mind taking a look at this issue as it has been labeled with an integration (tuya) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tuya` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign tuya` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


tuya documentation tuya source (message by IssueLinks)