homebridge-eufy-security / plugin

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

[Bug]: No response when pressing Doorbell button #485

Open Daan1203 opened 7 months ago

Daan1203 commented 7 months ago

What happened?

Hello,

I am really happy with you plugin. But I have a problem with the Doorbell. Homekit is showing me de camera of the doorbell. But when someone pressing the doorbell button, I only get a notification in the eufy app and not in the Homekit app. Is there an setting to make this work? Or do I need an Homepod or Apple TV to get this working?

Thankyou!

Daan

Device Type

Doorbell (Supported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

v1.6.x (Supported)

NodeJS Version

v18 (Supported)

Operating System

Mac OS X 11+ (UnSupported)

Relevant log output

[12/11/2023, 12:29:40 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v2.2.21 child bridge successfully
[12/11/2023, 12:29:40 PM] Got SIGTERM, shutting down child bridge process...
[12/11/2023, 12:29:40 PM] Loaded 5 cached accessories from cachedAccessories.0E2522E8BDA5.
[12/11/2023, 12:29:40]  [EufySecurity]  WARN    warning: planned changes, see https://github.com/homebridge-eufy-security/plugin/issues/1
[12/11/2023, 12:29:40]  [EufySecurity]  INFO    Country set: NL
[12/11/2023, 12:29:40]  [EufySecurity]  INFO    Finished initializing!
[12/11/2023, 12:29:40 PM] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-eufy-security) is running on port 47409.
[12/11/2023, 12:29:40 PM] Registering platform 'homebridge-hue.Hue'
[12/11/2023, 12:29:52 PM] [homebridge-eufy-security] Launched child bridge with PID 23708
[12/11/2023, 12:29:52 PM] [homebridge-eufy-security] Loaded homebridge-eufy-security v2.2.21 child bridge successfully
[12/11/2023, 12:29:52 PM] Loaded 5 cached accessories from cachedAccessories.0E2522E8BDA5.
[12/11/2023, 12:29:52]  [EufySecurity]  WARN    warning: planned changes, see https://github.com/homebridge-eufy-security/plugin/issues/1
[12/11/2023, 12:29:52]  [EufySecurity]  INFO    Country set: NL
[12/11/2023, 12:29:52]  [EufySecurity]  INFO    Finished initializing!
[12/11/2023, 12:29:52 PM] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-eufy-security) is running on port 47409.
[12/11/2023, 12:29:52 PM] Registering platform 'homebridge-hue.Hue'

config

{
            "platform": "EufySecurity",
            "username": 
            "password": 
            "country": "NL",
            "deviceName": "Eufy",
            "ignoreStations": [
                "T8400P2020241E49",
                "T8400P2020242FC4",
                "T8410P202028301F"
            ],
            "cameras": [
                {
                    "serialNumber": "",
                    "rtsp": false,
                    "talkback": false
                },
                {
                    "serialNumber": "",
                    "rtsp": false,
                    "talkback": false
                },
                {
                    "serialNumber": "",
                    "rtsp": false,
                    "enableCamera": true,
                    "useCachedLocalLivestream": false,
                    "videoConfig": {
                        "audio": true
                    },
                    "talkback": true,
                    "enableButton": false,
                    "motionButton": false,
                    "indoorChimeButton": false,
                    "snapshotHandlingMethod": 2,
                    "refreshSnapshotIntervalMinutes": 0,
                    "immediateRingNotificationWithoutSnapshot": false
                }
            ],
            "ignoreDevices": [
                "",
                "",
                "",
                ""
            ],
            "cleanCache": true,
            "stations": [
                {
                    "hkHome": 1,
                    "hkAway": 0,
                    "serialNumber": "",
                    "hkNight": 2,
                    "hkOff": 63,
                    "manualTriggerModes": []
                }
            ],
            "_bridge": {
                "username": "",
                "port":
github-actions[bot] commented 7 months ago

Did you check this Common Issues pages ?

HiddevH commented 7 months ago

I seem to have the same issue since a few days/weeks(?), not exactly sure when it stopped working. The camera does work, just no notifications.

I tried re-installing plugin, the homebridge / accessory from homekit / removing the cache and adding back to homekit. The logs show streams starting/stopping but no Doorbell pressed or anything like that.

found likely related logs in debug mode:

3/2023 22:30:45]   [EufySecurity-2.2.21]   INFO    [SnapshotManager.ts:112]        Doorbell is set to balanced snapshot handling.
[12/13/2023 22:30:45]   [EufySecurity-2.2.21]   DEBUG   [streamingDelegate.ts:137]      Doorbell Audio sample rate set to 16 kHz.
[12/13/2023 22:30:45]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:92] Doorbell IndoorChime config: undefined
[12/13/2023 22:30:45]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:99] Doorbell Looks like not compatible with chimeIndoor or this has been disabled within configuration

Edit: When switching on the toggle "Display HomeKit button to turn indoor chime on/off" the logs change:

[12/17/2023 13:42:33]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:100]  Doorbell Property Changes: ringing true
[12/17/2023 13:42:33]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:406]        Doorbell DoorBell ringing
[12/17/2023 13:42:33]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:131]        Doorbell Snapshot handler detected ring event.
[12/17/2023 13:42:37]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:95]   Front Door Raw Property Changes: 1550 0
[12/17/2023 13:42:37]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:100]  Front Door Property Changes: sensorOpen false
[12/17/2023 13:42:37]   [EufySecurity-2.2.21]   INFO    [BaseAccessory.ts:169]  Front Door ON 'ContactSensor / ContactSensorState / open': false
[12/17/2023 13:42:37]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:100]  Doorbell Property Changes: picture [object Object]
[12/17/2023 13:42:37]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:298]        Doorbell Stored Image: /var/lib/homebridge/eufysecurity/T8210P64214437E0.jpg
[12/17/2023 13:42:38]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  Woonkamer Raam GET 'ContactSensor / ContactSensorState': false
[12/17/2023 13:42:38]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  Front Door GET 'ContactSensor / ContactSensorState': false
[12/17/2023 13:42:38]   [EufySecurity-2.2.21]   DEBUG   [StationAccessory.ts:323]       eufy HomeBase2-098A GET StationCurrentMode: 1
[12/17/2023 13:42:38]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:139]  eufy HomeBase2-098A GET 'SecuritySystem / SecuritySystemCurrentState': 0
[12/17/2023 13:42:43]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:100]  Doorbell Property Changes: ringing false
aklausing commented 7 months ago

I have the same issue. I just tried to re-add the door bell in HK ... after that it rings ONCE and after that only the homebase 3 rings but neither the homepods ring nor the apple tv shows the "ringing" push notfication.

Homebase 3 with Doorbell Dual (T8213) Node v18.18.2 | HB v1.7.0 Plugin Version 2.2.21

The working event looks like this:

[12/14/2023 16:10:04]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:100]  Doorbell Property Changes: ringing true
[12/14/2023 16:10:04]   [EufySecurity-2.2.21]   DEBUG   [CameraAccessory.ts:406]    Doorbell DoorBell ringing
[12/14/2023 16:10:04]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:131]    Doorbell Snapshot handler detected ring event.

After that the event is noticed but looks like this in the logs:
[12/14/2023 16:11:18]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:100]  Doorbell Property Changes: ringing true
[12/14/2023 16:11:18]   [EufySecurity-2.2.21]   DEBUG   [SnapshotManager.ts:131]    Doorbell Snapshot handler detected ring event.
[12/14/2023 16:11:28]   [EufySecurity-2.2.21]   DEBUG   [BaseAccessory.ts:100]  Doorbell Property Changes: ringing false

Seems like the cameraAccessory is missing the event (or something like that)

ddamico commented 7 months ago

This description is the behaviour I am currently experiencing as well.

Rubl80 commented 1 month ago

I can confirm to be having the same issue. No PIP camera shows up on AppleTV after doorbell ring. It worked before, but haven't done so, for some time. But camera on doorbell works fine, if started manually on the AppleTV.

Node.js Version | v20.11.0 Plugin Version 3.4.2 Homebase 2 with Doorbell (T8210)