plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Bug]: Error [ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY]

Open jvckson3 opened this issue 2 years ago • 1 comments

What happened?

On smart lock T8520, when using the lock/unlock feature in Apple Home, it sends error: [EufySecurity] ERROR Garage Door Lock target state ("number" / 0) could not be set: Error [ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY]: Public key is not valid for specified curve

Device Type

Station (Supported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

v1.6.x (Supported)

NodeJS Version

v18 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

[11/11/2023, 18:09:03]  [EufySecurity]  INFO    Registering new accessory: Garage Door
[11/11/2023, 18:09:05] [homebridge-eufy-security] This plugin generated a warning from the characteristic 'Administrator Only Access': characteristic value expected boolean and received function. See https://homebridge.io/w/JtMGR for more info.
[11/11/2023, 18:09:39]  [EufySecurity]  INFO    Looking for old cached accessories that seem to be outdated...
[11/11/2023, 18:09:39]  [EufySecurity]  INFO    No outdated cached accessories found.
[11/11/2023, 18:10:45]  [EufySecurity]  ERROR   Garage Door Lock target state
      ("number" / 0) 
      could not be set: Error [ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY]: Public key is not valid for specified curve
[11/11/2023, 18:10:52]  [EufySecurity]  ERROR   Garage Door Lock target state
      ("number" / 1) 
      could not be set: Error [ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY]: Public key is not valid for specified curve

config

{
            "username": "username",
            "password": "password",
            "country": "US",
            "deviceName": "",
            "platform": "EufySecurity",
            "ignoreStations": [],
            "ignoreDevices": [],
            "cleanCache": true,
            "stations": [
                {
                    "hkHome": 1,
                    "hkAway": 0,
                    "serialNumber": "serialNumber",
                    "hkNight": 3,
                    "hkOff": 63
                }
            ]
        }

jvckson3 avatar Nov 12 '23 02:11 jvckson3

Did you check this Common Issues pages ?

github-actions[bot] avatar Nov 12 '23 02:11 github-actions[bot]