homebridge-eufy-security / plugin

Homebridge plugin to control certain Eufy Security devices
Apache License 2.0
166 stars 24 forks source link

[EufySecurity] ERROR Bureau handleSecuritySystemTargetStateGet: Wrong return value #506

Closed fedelite closed 7 months ago

fedelite commented 7 months ago

What happened?

The security system is not switching correctly with the automation i have created when I am coming back home. I created 1 automation with a dummy switch to go OFF when the last person arrives, the a 2nd automation when switch OFF -> system switch to HOME. And vice versa, when leaving home, but that one works.

It is just when coming back home, I have basically to open the home app for the system to switch to HOME, otherwise it is loading forever upon arrival.

I hope it is clear. Thanks for your help

Device Type

Motion Detector (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

[24/01/2024 16:53:27] [Dummy] Setting switch to false
[01/24/2024, 16:53:27]  [EufySecurity]  INFO    Bureau  Request to change station guard mode to: STAY_ARM(0)
[01/24/2024, 16:53:27]  [EufySecurity]  INFO    Living Request to change station guard mode to: STAY_ARM(0)
[01/24/2024, 16:53:38]  [EufySecurity]  ERROR   Bureau  handleSecuritySystemTargetStateGet: Wrong return value
[01/24/2024, 16:53:38]  [EufySecurity]  ERROR   Bureau  handleSecuritySystemCurrentStateGets: Wrong return value
[01/24/2024, 16:53:38]  [EufySecurity]  ERROR   Living handleSecuritySystemTargetStateGet: Wrong return value
[01/24/2024, 16:53:38]  [EufySecurity]  ERROR   Living handleSecuritySystemCurrentStateGets: Wrong return value
[01/24/2024, 16:55:20]  [EufySecurity]  ERROR   Bureau  handleSecuritySystemTargetStateGet: Wrong return value
[01/24/2024, 16:55:20]  [EufySecurity]  ERROR   Bureau  handleSecuritySystemCurrentStateGets: Wrong return value
[01/24/2024, 16:55:20]  [EufySecurity]  ERROR   Living handleSecuritySystemTargetStateGet: Wrong return value
[01/24/2024, 16:55:20]  [EufySecurity]  ERROR   Living handleSecuritySystemCurrentStateGets: Wrong return value
[24/01/2024 16:55:52] [Dummy] Setting switch to true
[01/24/2024, 16:55:52]  [EufySecurity]  ERROR   Living handleSecuritySystemTargetStateGet: Wrong return value
[01/24/2024, 16:55:52]  [EufySecurity]  ERROR   Bureau  handleSecuritySystemTargetStateGet: Wrong return value
[01/24/2024, 16:55:52]  [EufySecurity]  INFO    Living Request to change station guard mode to: AWAY_ARM(1)
[01/24/2024, 16:55:52]  [EufySecurity]  INFO    Bureau  Request to change station guard mode to: AWAY_ARM(1)
[24/01/2024 16:57:31] [Dummy] Setting switch to false
[01/24/2024, 16:57:31]  [EufySecurity]  INFO    Bureau  Request to change station guard mode to: STAY_ARM(0)
[01/24/2024, 16:57:31]  [EufySecurity]  INFO    Living Request to change station guard mode to: STAY_ARM(0)
[01/24/2024, 17:01:03]  [EufySecurity]  ERROR   Bureau  handleSecuritySystemTargetStateGet: Wrong return value
[01/24/2024, 17:01:03]  [EufySecurity]  ERROR   Bureau  handleSecuritySystemCurrentStateGets: Wrong return value
[01/24/2024, 17:01:03]  [EufySecurity]  ERROR   Living handleSecuritySystemTargetStateGet: Wrong return value
[01/24/2024, 17:01:03]  [EufySecurity]  ERROR   Living handleSecuritySystemCurrentStateGets: Wrong return value

config

"platform": "EufySecurity",
    "hkHome": 2,
    "hkAway": 0,
    "hkNight": 3,
    "hkOff": 63,
    "ignoreStations": [],
    "ignoreDevices": [],
    "cleanCache": true,
    "stations": [
        {
            "hkHome": 2,
            "hkAway": 0,
            "serialNumber": "T8010N23204308C2",
            "manualTriggerModes": [
                0,
                1
            ]
        },
        {
            "hkHome": 2,
            "hkAway": 0,
            "serialNumber": "T8010T2522270797",
            "manualTriggerModes": [
                0,
                1
            ]
        }
    ],
    "cameras": [
        {
            "serialNumber": "T8113T93222115D2",
            "useCachedLocalLivestream": true,
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "talkback": true,
            "enableButton": false,
            "motionButton": false
        },
        {
            "serialNumber": "T8113N1320475C4F",
            "useCachedLocalLivestream": true,
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "talkback": true,
            "enableButton": false,
            "motionButton": false
        },
        {
            "serialNumber": "T8113N13204760B5",
            "useCachedLocalLivestream": true,
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "talkback": true,
            "enableButton": false,
            "motionButton": false
        },
        {
            "serialNumber": "T8113N1320475ABA",
            "useCachedLocalLivestream": true,
            "talkback": true,
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "enableButton": false,
            "motionButton": false
        },
        {
            "serialNumber": "T8113N53222422CA",
            "useCachedLocalLivestream": true,
            "videoConfig": {
                "audio": true,
                "audioSampleRate": 0
            },
            "talkback": true,
            "enableButton": false,
            "motionButton": false
        }
    ]
}
github-actions[bot] commented 7 months ago

Did you check this Common Issues pages ?