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]: missing state for "off" #538

Closed
gianlucad3 opened this issue Apr 7, 2024 · 7 comments · Fixed by #550
Closed

[Bug]: missing state for "off" #538

gianlucad3 opened this issue Apr 7, 2024 · 7 comments · Fixed by #550
Assignees
Labels
bug Something isn't working stale

Comments

@gianlucad3
Copy link

What happened?

I have the global mapping "homekit off" set to "eufy disarmed". When disarming the alarm with the keypad the button "off" sets the station in the "off" state though, not disarmed. Since the off state is not recognized by homekit, in HK the alarm remains in the previous (alarmed) state.

Device Type

Station (Supported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

v1.7.x (Supported)

NodeJS Version

v20 (Supported)

Operating System

Ubuntu 22.04+ (Supported)

Relevant log output

[04/07/2024, 11:51:44]  [EufySecurity]  ERROR   Eufy HomeBase handleSecuritySystemCurrentStateGets: Wrong return value
[04/07/2024, 11:51:44]  [EufySecurity]  ERROR   Eufy HomeBase handleSecuritySystemTargetStateGet: Wrong return value

config

{
            "enableDetailedLogging": false,
            "CameraMaxLivestreamDuration": 30,
            "pollingIntervalMinutes": 10,
            "hkHome": 1,
            "hkAway": 0,
            "hkNight": 3,
            "hkOff": 63,
            "ignoreStations": [],
            "ignoreDevices": [
                "T8010P1320454127",
                "T8140P6121050951",
                "T8140P61210521C4"
            ],
            "country": "US",
            "cameras": [
                {
                    "serialNumber": "T8960P1023531041",
                    "rtsp": false,
                    "talkback": false
                },
                {
                    "serialNumber": "T8140P6121050951",
                    "rtsp": false
                },
                {
                    "serialNumber": "T8140P61210521C4",
                    "rtsp": false
                }
            ],
            "cleanCache": true,
            "unbridge": true,
            "platform": "EufySecurity",
            "username": 
            "password": 
            "stations": [
                {
                    "serialNumber": "T8010P13234107E7",
                    "manualTriggerModes": [
                        1
                    ]
                },
                {
                    "serialNumber": "T8010P1320454127",
                    "manualTriggerModes": [
                        1
                    ]
                }
            ],
            "_bridge": {
                "username": "0E:84:C8:B7:41:B8",
                "port": 45469
            }
        },
@gianlucad3 gianlucad3 added the bug Something isn't working label Apr 7, 2024
Copy link

github-actions bot commented Apr 7, 2024

Did you check this Common Issues pages ?

@lenoxys
Copy link
Contributor

lenoxys commented Apr 16, 2024

hello did you tried on 3.0.0?

@lenoxys lenoxys added the stale label Apr 16, 2024
@gianlucad3
Copy link
Author

I didn't. is it the recommended version now? thank you!

@lenoxys
Copy link
Contributor

lenoxys commented Apr 17, 2024

if it's an issue for you yes.

@deus117
Copy link

deus117 commented Apr 19, 2024

Issue persists on 3.0.0 and 3.0.1, I upgraded from 2.2.20 where Eufy mode 'off' would show as disarmed in HomeKit (if that's any help..). I've reset the plugin and re-added accessories too.

@deus117
Copy link

deus117 commented Apr 19, 2024

The Off mode is created when you connect the keypad to the homebase but doesn't appear in the plugin under global settings > Change how each mode in the HomeKit security system is mapped to the modes in the Eufy App.

Home/Away keypad buttons to HK work fine. in V2.2.20 Off/Disarmed modes in Eufy both mapped to Off in HK.
Have just seen there is an open enhancement #478

@lenoxys
Copy link
Contributor

lenoxys commented Apr 19, 2024

Can you provide log with debug enable of the changing arming state so I can get the different IDs used?

@lenoxys lenoxys self-assigned this Apr 19, 2024
lenoxys added a commit that referenced this issue Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
3 participants