Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request support for AISUO 3D Face Recognition TUYA Smart Door Lock (Wifi) #2921

Open
tanzimabir opened this issue Feb 5, 2025 · 0 comments
Labels
full_info All info needed was provided new device Unsupported device

Comments

@tanzimabir
Copy link

tanzimabir commented Feb 5, 2025

Log message

This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:420
integration: Tuya Local (documentation, issues)
First occurred: 3:13:04 AM (4 occurrences)
Last logged: 3:25:39 AM

Unable to fetch data model from cloud: 'str' object has no attribute 'keys'


This error originated from a custom integration.

Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:421
integration: Tuya Local (documentation, issues)
First occurred: 3:13:04 AM (4 occurrences)
Last logged: 3:25:39 AM

Device matches None with quality of 0%. DPS: {"updated_at": 1738789962.684517}
Device matches None with quality of 0%. DPS: {"updated_at": 1738790216.945513}
Device matches None with quality of 0%. DPS: {"updated_at": 1738790509.7091563}
Device matches None with quality of 0%. DPS: {"updated_at": 1738790717.5077083}

Product ID

jxgtpryvda64ikp4

Product Name

AISUO 3D Face Recognition TUYA Smart Door Lock (Wifi)

DPS information

{
  "result": {
    "model": "{\"modelId\":\"eqezoo\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":9,\"accessMode\":\"rw\",\"code\":\"remote_no_pd_setkey\",\"description\":\"配置远程网络加密解锁是否开启,包含密钥(次数、时效、内容)需要增加历史校验码\",\"extensions\":{\"attribute\":\"1888\"},\"name\":\"设置远程开门密钥\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":10,\"accessMode\":\"rw\",\"code\":\"remote_no_dp_key\",\"description\":\"远程网络解锁动作触发,下发和上报\",\"extensions\":{\"attribute\":\"1824\"},\"name\":\"远程开门(带密钥)\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":11,\"accessMode\":\"rw\",\"code\":\"link_mode\",\"description\":\"上报wifi工作模式,keep: wifi保活,保持和路由器的连接模式,可以主动拉流;此时设备不在线,面板检测到该状态直接提升“设备离线,不可用”;\\nsleep:休眠模式,此时不能使用监控功能,只能门锁本地触发连接wifi上报通信数据,此时设备不在线,面板检测到该状态需要提示用户本地激活门锁连接wifi;\",\"extensions\":{\"attribute\":\"1792\"},\"name\":\"连接模式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"keep\",\"sleep\",\"lock_keep\",\"lock_sleep\"]}},{\"abilityId\":45,\"accessMode\":\"rw\",\"code\":\"battery_percentage\",\"description\":\"门锁上报电量百分比,范围-1~100,-1表示未获取到电量\\n每次重新配网,需要上报电量,需要排除刚上电时电压不稳的因素\\n每次重新联网,都需要上报电量\",\"extensions\":{\"attribute\":\"1792\"},\"name\":\"干电池电量\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":-1,\"scale\":0,\"step\":1}},{\"abilityId\":47,\"accessMode\":\"rw\",\"code\":\"lock_motor_state\",\"description\":\"锁体开关状态检测上报;音箱开门必选!\",\"extensions\":{\"attribute\":\"1792\"},\"name\":\"落锁状态\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":53,\"accessMode\":\"rw\",\"code\":\"doorbell\",\"description\":\"支持有人按门铃上报,1按门铃\",\"extensions\":{\"attribute\":\"768\"},\"name\":\"有人按门铃\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":54,\"accessMode\":\"rw\",\"code\":\"device_info\",\"description\":\"不选择这个dp为核心板方案,非wbrl模组等后续新增方案\",\"extensions\":{\"iconName\":\"icon-dp_mode\",\"attribute\":\"832\"},\"name\":\"设备信息\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":58,\"accessMode\":\"rw\",\"code\":\"lock_local_record\",\"description\":\"同步本地门锁操作记录,可用于374上报等\",\"extensions\":{\"iconName\":\"icon-dp_book\"},\"name\":\"设备操作记录\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":59,\"accessMode\":\"rw\",\"code\":\"alarm_reminder\",\"description\":\"智能锁被撬(0x00) 强行开门(0x01) 指纹尝试开锁被冻结(0x02) 密码尝试开锁被冻结(0x03) 卡尝试开锁被冻结(0x04) 钥匙尝试开锁被冻结(0x05) 遥控尝试开锁被冻结(0x06) 保留(0x07) 胁迫开锁报警(0x08) 特斯拉开锁报警(0x09) 任意开锁被冻结(0x0A) 人脸尝试开锁报警(0x0B) 掌纹尝试开锁报警(0x0C) 陌生人逗留报警(0x0D) 火灾报警(0x0E) 门口有陌生人(0x0F) 非活体人脸(0x10) 被人劫持(0x11) 被人尾随(0x12) 门口有人徘徊(0x13) 指纹尝试开锁报警(0x14) 密码尝试开锁报警(0x15) 卡尝试开锁报警(0x16) 系统锁定报警(0x17) 设备异常报警(0x18) 人脸尝试开锁被冻结(0x19) 掌纹尝试开锁被冻结(0x1A) 虹膜尝试开锁被冻结(0x1B) 指静脉尝试开锁被冻结(0x1C) 掌静脉尝试开锁被冻结(0x1D) 虹膜尝试开锁报警(0x1E) 指静脉尝试开锁报警(0x1F) 掌静脉尝试开锁报警(0x20) 高温报警(0x21) 烟雾报警(0x22)\\n提醒类型咨询项目经理\",\"extensions\":{\"iconName\":\"icon-dp_warming\"},\"name\":\"告警提醒\",\"typeSpec\":{\"type\":\"value\",\"max\":65535,\"min\":0,\"scale\":0,\"step\":1,\"unit\":\"\"}},{\"abilityId\":60,\"accessMode\":\"rw\",\"code\":\"alarm_lock\",\"description\":\"\\\"wrong_finger\\\",\\\"wrong_password\\\",\\\"wrong_card\\\",\\\"wrong_face\\\",\\\"tongue_bad\\\",\\\"tongue_not_out\\\",\\\"unclosed_time\\\",\\\"unlock_attempt\\\",\\\"key_in\\\",\\\"too_hot\\\",\\\"low_battery\\\",\\\"wrong_finger_vein\\\",\\\"wrong_hand\\\",\\\"stay_alarm\\\"各种报警,自由配置,低电暂时保留使用单独的dp点的设计\",\"extensions\":{\"attribute\":\"1792\"},\"name\":\"告警\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"wrong_finger\",\"wrong_password\",\"wrong_card\",\"wrong_face\",\"tongue_bad\",\"tongue_not_out\",\"unclosed_time\",\"unlock_attempt\",\"key_in\",\"too_hot\",\"low_battery\",\"wrong_finger_vein\",\"wrong_hand\",\"stay_alarm\"]}},{\"abilityId\":62,\"accessMode\":\"rw\",\"code\":\"lock_record\",\"description\":\"关锁记录类型\\n\",\"extensions\":{\"attribute\":\"1344\"},\"name\":\"关锁记录\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":63,\"accessMode\":\"rw\",\"code\":\"unlock_fingerprint\",\"description\":\"指纹通过app录入创建后,由硬件分配id,发生指纹解锁后,门锁将上报该dp点请用记录型上报\",\"extensions\":{\"iconName\":\"\",\"attribute\":\"1280\"},\"name\":\"指纹解锁\",\"typeSpec\":{\"type\":\"value\",\"max\":65535,\"min\":0,\"scale\":0,\"step\":1}},{\"abilityId\":64,\"accessMode\":\"rw\",\"code\":\"unlock_card\",\"description\":\"卡片通过app录入创建后,由硬件分配id,发生卡片解锁后,门锁将上报该\\ndp点请用记录型上报\",\"extensions\":{\"attribute\":\"1280\"},\"name\":\"卡片解锁\",\"typeSpec\":{\"type\":\"value\",\"max\":999,\"min\":0,\"scale\":0,\"step\":1}},{\"abilityId\":65,\"accessMode\":\"rw\",\"code\":\"unlock_face\",\"description\":\"人脸通过app录入创建后,由硬件分配id,发生人脸解锁后,门锁将上报该dp点。请用记录型上报\",\"extensions\":{\"attribute\":\"1280\"},\"name\":\"人脸识别解锁\",\"typeSpec\":{\"type\":\"value\",\"max\":999,\"min\":0,\"scale\":0,\"step\":1}},{\"abilityId\":66,\"accessMode\":\"rw\",\"code\":\"unlock_hand\",\"description\":\"【上报开锁记录】掌静脉通过app录入创建后,由硬件分配id。发生掌静脉解锁后,门锁将上报该dp点。请用记录型上报\",\"extensions\":{\"attribute\":\"1280\"},\"name\":\"掌静脉解锁\",\"typeSpec\":{\"type\":\"value\",\"max\":999,\"min\":0,\"scale\":0,\"step\":1}},{\"abilityId\":67,\"accessMode\":\"rw\",\"code\":\"unlock_finger_vein\",\"description\":\"指静脉通过app录入创建后,由硬件分配id,发生指静脉解锁后,门锁将上报该dp点。请用记录型上报\",\"extensions\":{\"attribute\":\"1280\"},\"name\":\"指静脉解锁\",\"typeSpec\":{\"type\":\"value\",\"max\":999,\"min\":0,\"scale\":0,\"step\":1}},{\"abilityId\":70,\"accessMode\":\"rw\",\"code\":\"unlock_double_kit\",\"description\":\"如果id需要支持大于255,请选择 unlock_double_kit_w\",\"extensions\":{\"attribute\":\"1344\"},\"name\":\"组合开锁记录\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},{\"abilityId\":71,\"accessMode\":\"rw\",\"code\":\"unlock_key\",\"description\":\"如硬件能检测出机械钥匙开门,则固定上报 dp值为1,表示发生了机械钥匙开门。  该开门记录请有记录型数据上报\",\"extensions\":{\"attribute\":\"1280\"},\"name\":\"钥匙解锁\",\"typeSpec\":{\"type\":\"value\",\"max\":999,\"min\":0,\"scale\":0,\"step\":1}},{\"abilityId\":72,\"accessMode\":\"rw\",\"code\":\"unlock_phone_remote\",\"description\":\"上报远程手机解锁的开门记录\",\"extensions\":{\"attribute\":\"1792\"},\"name\":\"远程手机解锁\",\"typeSpec\":{\"type\":\"value\",\"max\":999,\"min\":0,\"scale\":0,\"step\":1}},{\"abilityId\":98,\"accessMode\":\"rw\",\"code\":\"hijack\",\"description\":\"需要在云端标记成员ID+硬件ID(无法和zigbeewifi通用),单机不联网其实没必要\",\"extensions\":{\"attribute\":\"1792\"},\"name\":\"劫持告警\",\"typeSpec\":{\"type\":\"bool\"}},{\"abilityId\":212,\"accessMode\":\"rw\",\"code\":\"initiative_message\",\"description\":\"主动消息推送,IPC技能必选\",\"extensions\":{\"attribute\":\"864\"},\"name\":\"主动消息推送\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}}]}]}"
  },
  "success": true,
  "t": 1738791816249,
  "tid": "40eac059e40a11efa76ab217c6c149bc"
}

Information about how the device functions

This has (by my limited knowledge on the topic and on hand exploration in the importers warehouse) the same main board as most of the 3D face unlock having wifi smart locks I have seen.

HA Tuya integration dubs it as unsupported and I get a menu to choose between 4 devices in Tuya Local add device wizard:

  • basic_ir_remote
  • neptun_smart_waterleak
  • mypin_6l_videopetfeeder
  • s11_rfir_remote

Link to Product (and similar ones):
https://www.alibaba.com/product-detail/Aisuo-In-Stock-Spanish-Hyundai-Crystal_1601211433721.html?spm=a2700.galleryofferlist.normal_offer.d_image.29e713a0TQAsnV

(Variant LW14)
https://www.alibaba.com/product-detail/TYSH-3D-Face-Recognition-Id-Fingerprint_1600902027917.html?spm=a2700.find_similar.normal_offer.d_title.121f5f93mCisSb

https://www.alibaba.com/product-detail/Wholesale-Automatic-Cerradura-Tuya-Wifi-Digital_1601144408541.html?spm=a2700.find_similar.normal_offer.d_title.121f5f93mCisSb

Dump from iot cloud > Query Properties:

{
"result": {
"properties": [
{
"code": "remote_no_pd_setkey",
"custom_name": "",
"dp_id": 9,
"time": 1738140959680,
"type": "raw",
"value": "AAAB"
},
{
"code": "remote_no_dp_key",
"custom_name": "",
"dp_id": 10,
"time": 1738791846328,
"type": "raw",
"value": "AAAB"
},
{
"code": "link_mode",
"custom_name": "",
"dp_id": 11,
"time": 1736907721566,
"type": "enum",
"value": "keep"
},
{
"code": "battery_percentage",
"custom_name": "",
"dp_id": 45,
"time": 1738791845909,
"type": "value",
"value": 64
},
{
"code": "lock_motor_state",
"custom_name": "",
"dp_id": 47,
"time": 1735561569660,
"type": "bool",
"value": false
},
{
"code": "doorbell",
"custom_name": "",
"dp_id": 53,
"time": 1738750771000,
"type": "bool",
"value": true
},
{
"code": "device_info",
"custom_name": "",
"dp_id": 54,
"time": 1736907721275,
"type": "raw",
"value": "AQEBAAAA"
},
{
"code": "lock_local_record",
"custom_name": "",
"dp_id": 58,
"time": 1735561569660,
"type": "raw"
},
{
"code": "alarm_reminder",
"custom_name": "",
"dp_id": 59,
"time": 1738760983600,
"type": "value",
"value": 4112
},
{
"code": "alarm_lock",
"custom_name": "",
"dp_id": 60,
"time": 1735561569660,
"type": "enum",
"value": "wrong_finger"
},
{
"code": "lock_record",
"custom_name": "",
"dp_id": 62,
"time": 1735561569660,
"type": "raw"
},
{
"code": "unlock_fingerprint",
"custom_name": "",
"dp_id": 63,
"time": 1738791846562,
"type": "value",
"value": 19
},
{
"code": "unlock_card",
"custom_name": "",
"dp_id": 64,
"time": 1735575090715,
"type": "value",
"value": 3
},
{
"code": "unlock_face",
"custom_name": "",
"dp_id": 65,
"time": 1738779383509,
"type": "value",
"value": 12
},
{
"code": "unlock_hand",
"custom_name": "",
"dp_id": 66,
"time": 1735561569660,
"type": "value",
"value": 0
},
{
"code": "unlock_finger_vein",
"custom_name": "",
"dp_id": 67,
"time": 1735561569660,
"type": "value",
"value": 0
},
{
"code": "unlock_double_kit",
"custom_name": "",
"dp_id": 70,
"time": 1735561569660,
"type": "raw"
},
{
"code": "unlock_key",
"custom_name": "",
"dp_id": 71,
"time": 1735561569660,
"type": "value",
"value": 0
},
{
"code": "unlock_phone_remote",
"custom_name": "",
"dp_id": 72,
"time": 1738639341598,
"type": "value",
"value": 512
},
{
"code": "hijack",
"custom_name": "",
"dp_id": 98,
"time": 1735561569660,
"type": "bool",
"value": false
},
{
"code": "initiative_message",
"custom_name": "",
"dp_id": 212,
"time": 1735561569660,
"type": "raw"
}
]
},
"success": true,
"t": 1738792449653,
"tid": "ba76b807e40b11efa76ab217c6c149bc"
}

@tanzimabir tanzimabir added the new device Unsupported device label Feb 5, 2025
@make-all make-all moved this to 📋 Backlog in Tuya Local Feb 5, 2025
@make-all make-all added the full_info All info needed was provided label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full_info All info needed was provided new device Unsupported device
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants