homebridge-eufy-security / plugin

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

[Bug]: HomeKit displays “triggered” even when Eufy security is set to Off/Disarmed #192

Open AKWillows opened 1 year ago

AKWillows commented 1 year ago

What happened?

Hi

Firstly, apologies if this is a HomeKit issue rather than to do with this plug in.

I am using this plug in solely so that I can change the arming status of the Eufy Homebase in the Home app and via automations. I don’t use it to display the cameras since these are natively supported by HomeKit.

Can I stop the Home app showing me that the alarm is “triggered” nearly all the time? In my Eufy configuration, my “home” setting allows recording but suppresses notifications. However, the Home app still shows the alarm as being triggered when motion is seen by one of the cameras.

To be clear, my cameras are in HomeKit by the standard Eufy process via the Eufy homebase and are suppressed in the config of this plugin.

is this something I have wrong in my plugin config or is it a “that’s the way HomeKit does it” issue?

Homebridge version is 1.5.0

Device Type

Station (Supported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

other (UnSupported)

NodeJS Version

v16 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

None

config

{
            "platform": "EufySecurity",
            "username": "xxxxxxxxxx",
            "password": "xxxxxxxxxx",
            "country": "GB",
            "ignoreStations": [
                "T8400xxxxxxxxxxx",
                "T8400xxxxxxxxxxx"
            ],
            "ignoreDevices": [
                "T8114xxxxxxxxxxx",
                "T8114xxxxxxxxxxx",
                "T8113xxxxxxxxxxx",
                "T8400xxxxxxxxxxx",
                "T8400xxxxxxxxxxx"
            ],
            "pollingIntervalMinutes": 30,
            "hkHome": 2,
            "hkAway": 0,
            "hkNight": 3,
            "hkOff": 63,
            "enableDetailedLogging": false,
            "CameraMaxLivestreamDuration": 30,
            "cleanCache": true
        }
    ]
}
github-actions[bot] commented 1 year ago

Did you check this Common Issues pages ?

schliemann commented 1 year ago

Seems to be a problem when using hkHome as a schedule. If I set hkHome to 2 mine also gets stuck on arming.

thieren commented 1 year ago

@schliemann I believe the issue was not about getting stuck on arming but about the alarm setting of, although the guard mode is set to off.

@AKWillows is that right? I am still not quite certain if I get your problem the right way. So you have set the eufy app to trigger the alarm when motion is detected, right? And even when you set the station to 'Off' HomeKit will trigger an alarm, but the Homebase itself will stay silent? Is that the problem?

AKWillows commented 1 year ago

None of my settings in Eufy trigger the Homebase alarm and it never sounds. Some modes are set to send a push notification, but none to sound alarm.

However, seemingly randomly, HomeKit will “alarm” sometimes in home mode, sometimes when disarmed

AKWillows commented 1 year ago

In addition, I’m currently seeing this warning quite regularly in the homebridge log. Not sure if it is related?

[1/18/2023, 8:38:09 AM] [EufySecurity-2.1.4] WARN: Push Closed! [1/18/2023, 10:28:05 AM] [EufySecurity-2.1.4] WARN: Push Closed! [1/18/2023, 6:04:02 PM] [homebridge-eufy-security] This plugin generated a warn ing from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 4 exceeded maximum of 3. See https://homebridge. io/w/JtMGR for more info. [1/18/2023, 6:04:03 PM] [homebridge-eufy-security] This plugin generated a warn ing from the characteristic Security System Target State': characteristic was supplied illegal value: number 4 exceeded maximum of 3. See https://homebridge. io/w/JtMGR for more info. [1/18/2023, 6:05:30 PM [homebridge-eufy-security] This plugin generated a warn ing from the characteristic 'Security System Target State': characteristic was supplied illegal value: number 4 exceeded maximum of 3. See https://homebridge. io/w/JtMGR for more info.

AKWillows commented 1 year ago

Hi @thieren @schliemann Just going back to your previous responses on the other related issue. Yes, I have Homekit Home mode mapped to Schedule in the settings for this plug in. Homekit does seem to get stuck on "Arming" as @schliemann said. Is this a known bug? I can't find anything about it in the common issues or in any closed issues here

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.