stfnhmplr / homebridge-synology

Control your Synology Diskstation with Homekit
MIT License
161 stars 15 forks source link

Switching On works, but switching off doesn't #64

Closed Jens2022 closed 2 years ago

Jens2022 commented 2 years ago

Describe Your Problem: I installed the plugin to my Hoobs (4.1.20). Adjusted config.json. Restarted Homebridge. Integrated in Home Kit. Starting via HomeKit works perfectly fine but switching off doesn't. Also the temperature is not shown. I read the other thread regarding the temperature. I checked the port and the protocoll, I verifed the user (who has admin rights on the NAS) but I'm still not able to switch the NAS off. I would be thankful for a hint.

Best regards,

Jens

Logs:

23.12.2021, 10:30:01SynologyFile ServerSynology File Server finished initializing!
23.12.2021, 10:30:06SynologyFile Serverstate changed to Online; updated characteristic
23.12.2021, 10:30:35SynologyFile ServerWARNUNGCan't get temperature, Error: No such account or incorrect password
23.12.2021, 10:30:35SynologyFile ServerWARNUNGCan't get average disk temperature, Error: No such account or incorrect password
23.12.2021, 10:31:01SynologyFile ServerWARNUNGCan't get temperature, Error: No such account or incorrect password
23.12.2021, 10:31:05SynologyFile ServerWARNUNGCan't get average disk temperature, Error: No such account or incorrect password
23.12.2021, 10:31:31SynologyFile ServerWARNUNGCan't get temperature, Error: No such account or incorrect password
23.12.2021, 10:31:35SynologyFile ServerWARNUNGCan't get average disk temperature, Error: No such account or incorrect password
23.12.2021, 10:32:01SynologyFile ServerWARNUNGCan't get temperature, Error: No such account or incorrect password
23.12.2021, 10:32:05SynologyFile ServerWARNUNGCan't get average disk temperature, Error: No such account or incorrect password
23.12.2021, 10:32:31SynologyFile ServerWARNUNGCan't get temperature, Error: No such account or incorrect password
23.12.2021, 10:32:35SynologyFile ServerWARNUNGCan't get average disk temperature, Error: No such account or incorrect password
23.12.2021, 10:33:01SynologyFile ServerWARNUNGCan't get temperature, Error: No such account or incorrect password
23.12.2021, 10:33:05SynologyFile ServerWARNUNGCan't get average disk temperature, Error: No such account or incorrect password
23.12.2021, 10:33:31SynologyFile ServerWARNUNGCan't get temperature, Error: No such account or incorrect password
23.12.2021, 10:33:35SynologyFile ServerWARNUNGCan't get average disk temperature, Error: No such account or incorrect password
23.12.2021, 10:34:01SynologyFile ServerWARNUNGCan't get temperature, Error: No such account or incorrect password
23.12.2021, 10:34:05SynologyFile ServerWARNUNGCan't get average disk temperature, Error: No such account or incorrect password
23.12.2021, 10:34:31SynologyFile ServerWARNUNGCan't get temperature, Error: No such account or incorrect password
23.12.2021, 10:34:35SynologyFile ServerWARNUNGCan't get average disk temperature, Error: No such account or incorrect password
23.12.2021, 10:34:53SynologyFile ServerShutting down File Server
23.12.2021, 10:34:53SynologyFile ServerFEHLERCan't shutdown File Server: Error: No such account or incorrect password

Plugin Config:


{
    "accessories": [
        {
            "name": "File Server",
            "host": "YYY.YYY.YYY.YYY",
            "mac": "YY:YY:YY:YY:YY:YY",
            "port": 5000,
            "username": "XXX",
            "password": "XXX",
            "protocol": "http",
            "version": "6.2.2",
            "startupTime": 60,
            "shutdownTime": 60,
            "accessory": "synology"
        }
    ],
    "platforms": []
}

Screenshots:

Environment:

stfnhmplr commented 2 years ago

It seems to be related to #59. Can you please check if the IP address of the Homebridge host is blocked or auto-block is enabled?

Instructions: https://kb.synology.com/en-global/SRM/help/SRM/NetworkCenter/security_autoblock?version=

Jens2022 commented 2 years ago

Hi stfnhmplr,

Thanks a lot. Solved the problem. I can see both temperatures and can also switch of the NAS.

Thank you. Great plug-in, I really appreciate you support.

Best Regards

jens