plugin
plugin copied to clipboard
[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
}
Did you check this Common Issues pages ?
Can you try with the latest beta? Thanks
Seems to be a bit quicker, but definitely much slower than it used to be. It used to be about 5 seconds at max.
[8/25/2023, 7:41:49 PM] [Door Switch] Setting switch to false [8/25/2023, 7:41:49 PM] [Door Switch] Setting switch to false [8/25/2023, 7:41:49 PM] [EufySecurity-2.3.0] DEBUG: Front Door LockStatus false [8/25/2023, 7:41:49 PM] [EufySecurity-2.3.0] DEBUG: Front Door Triggered GET LockTargetState 0 [8/25/2023, 7:41:49 PM] [EufySecurity-2.3.0] DEBUG: Front Door Triggered SET LockTargetState 1 [8/25/2023, 7:42:00 PM] [EufySecurity-2.3.0] DEBUG: Front Door Property Changes: locked true [8/25/2023, 7:42:03 PM] [EufySecurity-2.3.0] DEBUG: Front Door Raw Property Changes: 6000 4 [8/25/2023, 7:42:03 PM] [EufySecurity-2.3.0] DEBUG: Front Door Property Changes: lockStatus 4 [8/25/2023, 7:42:03 PM] [EufySecurity-2.3.0] DEBUG: Front Door Handle Lock Status: -- 4 [8/25/2023, 7:42:03 PM] [EufySecurity-2.3.0] DEBUG: Front Door LockStatus 4 [8/25/2023, 7:42:03 PM] [Door Switch] Setting switch to false
@lenoxys
Just tested an unlock after that lock. Looks like around 10 seconds.
[8/25/2023, 7:42:40 PM] [Door Switch] Setting switch to true [8/25/2023, 7:42:40 PM] [EufySecurity-2.3.0] DEBUG: Front Door LockStatus true [8/25/2023, 7:42:40 PM] [EufySecurity-2.3.0] DEBUG: Front Door Triggered GET LockTargetState 1 [8/25/2023, 7:42:40 PM] [EufySecurity-2.3.0] DEBUG: Front Door Triggered SET LockTargetState 0 [8/25/2023, 7:42:47 PM] [EufySecurity-2.3.0] DEBUG: Front Door Property Changes: locked false [8/25/2023, 7:42:49 PM] [EufySecurity-2.3.0] DEBUG: Front Door Raw Property Changes: 6000 3 [8/25/2023, 7:42:49 PM] [EufySecurity-2.3.0] DEBUG: Front Door Property Changes: lockStatus 3 [8/25/2023, 7:42:49 PM] [EufySecurity-2.3.0] DEBUG: Front Door Handle Lock Status: -- 3 [8/25/2023, 7:42:49 PM] [EufySecurity-2.3.0] DEBUG: Front Door LockStatus 3 [8/25/2023, 7:42:49 PM] [Door Switch] Setting switch to true
On which version it was better ?
Can you revert back to that one and test ? See here
https://github.com/homebridge-eufy-security/plugin/wiki/RC---Beta-Version#homebridge-cli
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
I can confirm that I have been dealing with the same issues for over a month now, and rolling back to 2.2.2 got everything working again. I had tried the newest versions and even beta versions and none of them worked. Followed the advice here and tried 2.2.2 and all is good now. Finally. Not sure what the issue is…
hello can you try with this version ? v2.2.7-test.0
hello can you try with this version ? v2.2.6-beta.0
Hi. I tried the beta yesterday morning but it did not work for me.
I means this specific version I've released for purpose : v2.2.7-test.0
can you try 2.2.6 ?
Sure, I’ll be home to try soon. No betas? Just 2.2.6?
Yeah
@nackerr try 2.2.14 I've fixed some issue on lock