plugin: [Bug]: Lock actions taking a long time

What happened?

Lock/Unlock actions are taking a long time for the last 1-2 weeks. I’ve had an automation setup that when I arrive home or leave, my door auto locks and unlocks. As of 1-2 weeks ago, it completely stopped working. I spent a few hours testing last night, and when I updated to the beta, suddenly my door started unlocking and actions started working, although very slow.

The odd thing is though that when I manually lock and unlock the door, I get the notification from HomeKit and Eufy almost immediately. When I try to control the lock from the Eufy app, it also works basically immediately. Through HomeKit, the actions take 30-45 seconds, maybe even longer.

Device Type

other (UnSupported)

Plugin Version

beta (Best Effort)

HomeBridge Version

v1.6.x (Supported)

NodeJS Version

v18 (Supported)

Operating System

Ubuntu 18.04+ (Supported)

Relevant log output

[8/25/2023, 1:43:40 PM] [EufySecurity-2.3.0] DEBUG: Front Door LockStatus true
[8/25/2023, 1:43:40 PM] [EufySecurity-2.3.0] DEBUG: Front Door Triggered GET LockTargetState 1
[8/25/2023, 1:43:40 PM] [EufySecurity-2.3.0] DEBUG: Front Door Triggered SET LockTargetState 0
[8/25/2023, 1:44:10 PM] [EufySecurity-2.3.0] DEBUG: Front Door Property Changes: locked false
[8/25/2023, 1:44:12 PM] [EufySecurity-2.3.0] DEBUG: Front Door Raw Property Changes: 6000 3
[8/25/2023, 1:44:12 PM] [EufySecurity-2.3.0] DEBUG: Front Door Property Changes: lockStatus 3
[8/25/2023, 1:44:12 PM] [EufySecurity-2.3.0] DEBUG: Front Door Handle Lock Status:  --  3
[8/25/2023, 1:44:12 PM] [EufySecurity-2.3.0] DEBUG: Front Door LockStatus 3

config

{
    "username": "",
    "password": "",
    "country": "US",
    "deviceName": "",
    "platform": "EufySecurity",
    "ignoreStations": [
        "T8030P1322330EFE"
    ],
    "ignoreDevices": [],
    "cleanCache": true,
    "_bridge": {
        "username": "0E:F8:65:27:D1:55",
        "port": 30172
    },
    "cameras": [
        {
            "serialNumber": "T8140P612108022C",
            "rtsp": false,
            "enableCamera": "true",
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "enableButton": false,
            "motionButton": false,
            "unbridge": true,
            "snapshotHandlingMethod": 2,
            "delayCameraSnapshot": true
        },
        {
            "serialNumber": "T8140P8122044CF7",
            "rtsp": false,
            "enableCamera": "true",
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "enableButton": false,
            "motionButton": false,
            "unbridge": true,
            "snapshotHandlingMethod": 2,
            "delayCameraSnapshot": true
        },
        {
            "serialNumber": "T8160P1122320669",
            "enableCamera": "true",
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "talkback": false,
            "enableButton": false,
            "motionButton": false,
            "unbridge": true,
            "snapshotHandlingMethod": 2
        },
        {
            "serialNumber": "T8160P11223215B7",
            "enableCamera": "true",
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "enableButton": false,
            "motionButton": false,
            "unbridge": true,
            "snapshotHandlingMethod": 2
        },
        {
            "serialNumber": "T8161P10224422E3",
            "enableCamera": "true",
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "enableButton": false,
            "motionButton": false,
            "unbridge": true,
            "snapshotHandlingMethod": 2
        },
        {
            "serialNumber": "T8131N6321352425",
            "rtsp": false,
            "enableCamera": "true",
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "enableButton": false,
            "motionButton": false,
            "unbridge": true,
            "snapshotHandlingMethod": 2
        },
        {
            "serialNumber": "T8422N10211207F8",
            "rtsp": false,
            "enableCamera": "true",
            "videoConfig": {
                "audio": false,
                "audioSampleRate": 0
            },
            "enableButton": false,
            "motionButton": false,
            "unbridge": true,
            "snapshotHandlingMethod": 2,
            "delayCameraSnapshot": true
        },
        {
            "serialNumber": "T8520Q25224506AF",
            "rtsp": false,
            "talkback": false
        },
        {
            "serialNumber": "T8210P3421221765",
            "rtsp": false,
            "enableCamera": true,
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "enableButton": false,
            "motionButton": false,
            "snapshotHandlingMethod": 2,
            "unbridge": true,
            "immediateRingNotificationWithoutSnapshot": true,
            "delayCameraSnapshot": true
        }
    ],
    "enableDetailedLogging": true,
    "preferLocalConnection": true
}

About this issue

  • Original URL
  • State: open
  • Created 10 months ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

I just downgraded to homebridge-eufy-security v2.1.0 and it seems much quicker.

2.1.4 also seems very quick. Less than 5 seconds.

2.2.2 is also very quick. Less than 5 seconds.

2.2.3 seems to be somewhat OK, however there was 1-2 times of testing where it got stuck locking/unlocking.

2.2.5 is VERY SLOW/does not even work.

Latest beta is decent, it’s about 10 seconds.

@lenoxys