Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: A crash happened when I attempted to change station guard mode #449

Open
Hagalurt opened this issue Oct 8, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Hagalurt
Copy link

Hagalurt commented Oct 8, 2023

What happened?

A crash happened when I attempted to change the station guard mode (like changing "At home" to "Night")

Device Type

Station (Supported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

v1.6.x (Supported)

NodeJS Version

v18 (Supported)

Operating System

Docker (UnSupported)

Relevant log output

[10/08/2023, 16:29:04]  [EufySecurity]  INFO    Eufy Homebase Request to change station guard mode to: DISARM(3)
InvalidPropertyValueError: Invalid value for this property according to metadata
    at validValue (/homebridge/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/utils.ts:137:19)
    at Station.setGuardMode (/homebridge/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/http/station.ts:692:19)
    at StationAccessory.handleSecuritySystemTargetStateSet (/homebridge/node_modules/homebridge-eufy-security/src/plugin/accessories/StationAccessory.ts:350:19)
    at setValue (/homebridge/node_modules/homebridge-eufy-security/src/plugin/accessories/StationAccessory.ts:99:33)
    at SecuritySystemTargetState.setHandler (/homebridge/node_modules/homebridge-eufy-security/src/plugin/accessories/BaseAccessory.ts:161:25)
    at SecuritySystemTargetState.<anonymous> (/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2547:42)
    at step (/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:195:27)
    at Object.next (/homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:176:57)
    at /homebridge/node_modules/homebridge/node_modules/tslib/tslib.js:169:75
    at new Promise (<anonymous>)

config

{
    "username": "[email protected]",
    "password": "xxxxxxxx",
    "country": "FR",
    "deviceName": "",
    "platform": "EufySecurity",
    "ignoreStations": [],
    "ignoreDevices": [],
    "cleanCache": true,
    "_bridge": {
        "username": "xxxxx:91:9A:E1:2C",
        "port": 45571
    }
}
@Hagalurt Hagalurt added the bug Something isn't working label Oct 8, 2023
@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Did you check this Common Issues pages ?

@Hagalurt Hagalurt changed the title [Bug]: [Bug]: A crash happened when I attempted to change station guard mode Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant