Tuya BLE integration, includes fingerbot

Hello, great work. Can you please post the links to Ali or other online shops of the Locks that are suported with this integration? Thanks in advance.

1 Like

Hello @PlusPlus-ua, could you look into the new Event Entity feature with your integration?

Has one got this type of lock to work?

Is there an up-to-date list of working devices?

i asked as well. Maybe everyone can post their links

Hopefully, the developer is ok tbh, is this integration has gone dark?

Comparing past vs current edits, I’m afraid something happened to the dev

I started using one of the forks and now I can unlock my lock finally. Most recent one with Bluetooth switch added on the edits. Let me know if you can’t find it and I can look later

yeah i saw this as well, god hope he is ok!

yes pls! if you can that would be great

@cloudbr34k GitHub - carferrer/ha_tuya_ble: Home Assistant support for Tuya BLE devices

Hi @mclever may I know which lock you’re using?
On another note, has anyone use this type of lock if it works with the integration?

image

As long as it show up as type ludzroix I think it’ll work. I tried a few tuya Bluetooth fingerprint lock handles from Amazon and they all behaved the same.

Settled on this one

IRONZON Fingerprint Door Lock… https://www.amazon.com/dp/B09XQCGP1R

1 Like

Thanks! Both of the handle types looks the same so it could have the same id
So I’ll just need to install from your fork
Any bugs i need to be aware of?

tried this fork,
only seesm to have added some support :slight_smile:
I need something that fixes

Platform tuya_ble does not generate unique IDs. ID bf84cb4be1ym3svo-push is already used by button.bf84cb4be1ym3svo_push1 - ignoring sensor.bf84cb4be1ym3svo_push

:smiley:

that is not cheap for one lock lol

we need to build a list of locks that work as well

The Tuya BLE does sees front door lock but does not appear to function. I enabled debug logging which indicates a low signal strength.

Debug logs:

2023-10-28 18:37:53.809 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Initializing
2023-10-28 18:37:53.809 DEBUG (MainThread) [custom_components.tuya_ble.cloud] Retrieved: uuid: xxxxxxxxxxxxxxxx, local_key: xxxxxxxxxxxxxxxx, device_id: xxxxxxxxxxxxxxxx, category: ms, product_id: omdezogp, device_name: Front Door, product_model: PLD_DS01, product_name: Smart Lock
2023-10-28 18:37:53.896 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Updating
2023-10-28 18:37:53.907 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Connecting; RSSI: -78
2023-10-28 18:37:58.156 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Device unexpectedly disconnected; RSSI: -78
2023-10-28 18:38:02.156 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Device unexpectedly disconnected; RSSI: -78
2023-10-28 18:38:06.219 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Device unexpectedly disconnected; RSSI: -78
2023-10-28 18:38:18.276 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Device unexpectedly disconnected; RSSI: -78
2023-10-28 18:38:20.268 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Device unexpectedly disconnected; RSSI: -78
2023-10-28 18:38:31.291 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Device unexpectedly disconnected; RSSI: -78
2023-10-28 18:38:34.335 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Device unexpectedly disconnected; RSSI: -78
2023-10-28 18:38:42.344 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Device unexpectedly disconnected; RSSI: -78
2023-10-28 18:38:47.055 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Back Door' for yalexs_ble integration not ready yet: No advertisement received before timeout; Try moving the Bluetooth adapter closer to LF006AD; Retrying in background
2023-10-28 18:38:52.440 WARNING (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Device unexpectedly disconnected; RSSI: -78
2023-10-28 18:39:05.369 DEBUG (MainThread) [custom_components.tuya_ble.tuya_ble.tuya_ble] DC:23:4F:3D:FC:BE: Stop

tinytuya output:

{
        "name": "Front Door",
        "id": "eb*******kid",
        "key": "SECRETKEY",
        "mac": "00:00:00:00",
        "uuid": "UUID",
        "category": "ms",
        "product_name": "Smart Lock",
        "product_id": "omdezogp",
        "biz_type": 0,
        "model": "PLD_DS01",
        "sub": false,
        "icon": "https://images.tuyaus.com/smart/icon/ay15724370520156puq6/00274                                                                          619c7eba1c4e822106a26c6c8b8.jpg",
        "mapping": {
            "1": {
                "code": "unlock_method_create",
                "type": "Raw",
                "values": {}
            },
            "2": {
                "code": "unlock_method_delete",
                "type": "Raw",
                "values": {}
            },
            "3": {
                "code": "unlock_method_modify",
                "type": "Raw",
                "values": {}
            },
            "9": {
                "code": "battery_state",
                "type": "Enum",
                "values": {
                    "range": [
                        "high",
                        "medium",
                        "low",
                        "poweroff"
                    ]
                }
            },
            "12": {
                "code": "unlock_fingerprint",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 999,
                    "scale": 0,
                    "step": 1
                }
            },
            "13": {
                "code": "unlock_password",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 999,
                    "scale": 0,
                    "step": 1
                }
            },
            "14": {
                "code": "unlock_dynamic",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 999,
                    "scale": 0,
                    "step": 1
                }
            },
            "15": {
                "code": "unlock_card",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 999,
                    "scale": 0,
                    "step": 1
                }
            },
            "16": {
                "code": "unlock_key",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 999,
                    "scale": 0,
                    "step": 1
                }
            },
            "18": {
                "code": "open_inside",
                "type": "Boolean",
                "values": {}
            },
            "19": {
                "code": "unlock_ble",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 999,
                    "scale": 0,
                    "step": 1
                }
            },
            "21": {
                "code": "alarm_lock",
                "type": "Enum",
                "values": {
                    "range": [
                        "wrong_finger",
                        "wrong_password",
                        "low_battery",
                        "wrong_card",
                        "power_off"
                    ]
                }
            },
            "28": {
                "code": "language",
                "type": "Enum",
                "values": {
                    "range": [
                        "chinese_simplified",
                        "english"
                    ]
                }
            },
            "31": {
                "code": "beep_volume",
                "type": "Enum",
                "values": {
                    "range": [
                        "mute",
                        "low",
                        "normal",
                        "high"
                    ]
                }
            },
            "32": {
                "code": "reverse_lock",
                "type": "Boolean",
                "values": {}
            },
            "33": {
                "code": "automatic_lock",
                "type": "Boolean",
                "values": {}
            },
            "36": {
                "code": "auto_lock_time",
                "type": "Integer",
                "values": {
                    "unit": "",
                    "min": 5,
                    "max": 60,
                    "scale": 0,
                    "step": 5
                }
            },
            "40": {
                "code": "closed_opened",
                "type": "Enum",
                "values": {
                    "range": [
                        "unknown",
                        "open",
                        "closed"
                    ]
                }
            },
            "46": {
                "code": "manual_lock",
                "type": "Boolean",
                "values": {}
            },
            "47": {
                "code": "lock_motor_state",
                "type": "Boolean",
                "values": {}
            },
            "48": {
                "code": "lock_motor_direction",
                "type": "Enum",
                "values": {
                    "range": [
                        "clockwise"
                    ]
                }
            },
            "51": {
                "code": "temporary_password_creat",
                "type": "Raw",
                "values": {}
            },
            "52": {
                "code": "temporary_password_delete",
                "type": "Raw",
                "values": {}
            },
            "53": {
                "code": "temporary_password_modify",
                "type": "Raw",
                "values": {}
            },
            "54": {
                "code": "synch_method",
                "type": "Raw",
                "values": {}
            },
            "55": {
                "code": "unlock_temporary",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 999,
                    "scale": 0,
                    "step": 1
                }
            },
            "60": {
                "code": "remote_no_pd_setkey",
                "type": "Raw",
                "values": {}
            },
            "61": {
                "code": "remote_no_dp_key",
                "type": "Raw",
                "values": {}
            },
            "62": {
                "code": "unlock_phone_remote",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 999,
                    "scale": 0,
                    "step": 1
                }
            },
            "63": {
                "code": "unlock_voice_remote",
                "type": "Integer",
                "values": {
                    "min": 0,
                    "max": 999,
                    "scale": 0,
                    "step": 1
                }
            },
            "64": {
                "code": "password_offline_time",
                "type": "String",
                "values": "{}"
            },
            "65": {
                "code": "unlock_offline_clear_single",
                "type": "Raw",
                "values": {}
            },
            "66": {
                "code": "unlock_offline_clear",
                "type": "Raw",
                "values": {}
            },
            "67": {
                "code": "unlock_offline_pd",
                "type": "Raw",
                "values": {}
            },
            "68": {
                "code": "special_function",
                "type": "Enum",
                "values": {
                    "range": [
                        "function1",
                        "function2"
                    ]
                }
            }
        }
    }

Would it be that the rpi4 built in Bluetooth isn’t strong enough to reach the lock even though they are about 3 meters apart at the moment? or is this device not supported.

Here is one of the many Amazon links for the lock https://www.amazon.ca/Smart-Lock-Fingerprint-Mechanical-Electronic/dp/B0C9M7N3D5/ref=sr_1_6?keywords=smart+lock+card+wifi&sr=8-6

If there is any other information I can provide to help get this to be supported please let me know

Same problem, in my tuya app the devices have Mac addresses and tuya ble in home assistant find other Mac addresses referred to same devices.
Any solution?

Works well. Thanks for the link and thanks to the dev

Hi Alex,
I´ve just opened a new issue on GitHub for Tesla Smart Feeder Spin Tuya Bluetooth integration.

Can you please be so kind and take a look if this will be possible?

Thanks a lot for your work!