homebridge-eufy-security / plugin

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

[Bug]: No devices shown in Homekit & arming/desarming not working #567

Closed Y8rz8 closed 1 month ago

Y8rz8 commented 1 month ago

What happened?

Hi there, The plugin worked without any issues since months (years) - I use it with Homebase 2 and a motion detector. Last week, Homebase was not able to change from Home mode to Away mode in HomeKit (always showing "arming"). I have decided to uninstall the plugin and delete devices from HomeKit.

I have installed the plugin again and configured it. Everything seems ok (meaning devices are shown in the setup screen). But no device in Accessories under Homebridge and no device in HomeKit. And no log at all.

Any idea ?

Thanks, Patrice.

Device Type

Station (Supported)

Plugin Version

v3.0.x (Best Effort)

HomeBridge Version

v1.7.x (Supported)

NodeJS Version

v20 (Supported)

Operating System

Raspbian 10+ (Supported)

Relevant log output

No log !

config

{
    "username": "xxxx",
    "password": "xxxx",
    "country": "FR",
    "deviceName": "",
    "platform": "EufySecurity",
    "stations": [
        {
            "hkHome": 1,
            "hkAway": 0,
            "serialNumber": "T8010P2321472414",
            "hkOff": 63,
            "manualTriggerModes": [
                0,
                1
            ]
        }
    ]
}
lenoxys commented 1 month ago

Hello you can do a full reset in global settings

Y8rz8 commented 1 month ago

Hello, Just done it but still the same issue.

Y8rz8 commented 1 month ago

Hi, finally found the solution : global config then node security bypass ON ( I'm using the last version of Node.JS).

Y8rz8 commented 1 month ago

Hi again, devices are now available in Homebridge and Homekit but arming/desarming still doesn't work. Is it due to node.js ?

lenoxys commented 1 month ago

CAN you enable debug mode and provide logs (see download button in plugin settings) while reproducing the error ?

Y8rz8 commented 1 month ago

I have enabled debug mode but the file downloaded (homebridge-eufy-security.log) is zero bytes... something I missed ?

lenoxys commented 1 month ago

Did you reboot ? And tried to reproduced the issue ?

Y8rz8 commented 1 month ago

Yes I reboot to try but still zero bytes

lenoxys commented 1 month ago

Use the one embedded in plugin settings when you see the device list the yellow button one on top. See the Wiki for How to.

Y8rz8 commented 1 month ago

Ok - I have those files, please tell me what file you need ? I quickly search in the files but did not find something with a timestamp corresponding to the arming/dearming action I've done juste before generating the log files

Screenshot 2024-05-08 at 20 25 05
Y8rz8 commented 1 month ago

Hi there, I have updated to the last node this morning (20.13.0) and everything is now working (I even get log files). I close this issue since it's seems related more to node than to the plugin. Thanks anyway for your support !