homebridge-eufy-security / plugin

Homebridge plugin to control certain Eufy Security devices
Apache License 2.0
176 stars 23 forks source link

[Bug]: Changing HomeBase 2 security mode crashes homebridge #160

Open aor980 opened 2 years ago

aor980 commented 2 years ago

What happened?

Changing HomeBase 2 security mode in the newest release crashes homebridge. Previous version does not.

Device Type

Station (Supported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

v1.4.x (Supported)

NodeJS Version

v16 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

N/a

config

N/a
github-actions[bot] commented 2 years ago

Did you check this Common Issues pages ?

thieren commented 2 years ago

Hi @aor980

you're right. This is a bug in the eufy-security-client library (see this and this issue).

There are three possible workarounds:

  1. revert back to 2.0.1 for the time being.
  2. Install the latest beta, since this uses the latest RC of this library where the bug is already fixed.
  3. Set the "Arm Delay" and "Leave Delay" on the guard modes in the eufy app once. After that you're free to reset these settings and the error should not occur anymore.

Setting the options: