stfnhmplr / homebridge-synology

Control your Synology Diskstation with Homekit
MIT License
159 stars 16 forks source link

If Switch is disabled it is no longer displayed in Homekit or Eve App #56

Closed JayJay-Master closed 2 years ago

JayJay-Master commented 2 years ago

I run homebridge in a docker container on a Synology NAS. Therfore it is essential, to disable the possibility switch off the Synology. If Switch is disabled it is no longer displayed in Homekit or Eve app, and therefore it is no longer possible to see cpu and disk usage in Eve app. In older version of the plugin Synology switch was visible, but it was not possible to switch off the nas.

Include "disabled": [ "switch" ], in configuration

Synology switch should be visible, but it should not be possible to switch off the nas.

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

        {
            "name": "DS416play",
            "host": "192.168.178.xy",
            "mac": "00:11:32:11:22:33",
            "port": 5001,
            "username": "_username_",
            "password": "_password_",
            "protocol": "https",
            "version": "6.2.2",
            "startupTime": 60,
            "shutdownTime": 60,
            "disabled": [
                "switch"
            ],
            "accessory": "synology"
        }

Screenshots:

Environment:

stfnhmplr commented 2 years ago

I just tried to recreate this. In both the Home app and the Eve app, the sensors are displayed even when the switch is deactivated. Since a switch without function is not necessarily a good solution, I actually do not want to use the old variant anymore.

IMG_3276