stfnhmplr / homebridge-synology

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

Error Message "Device is not online" #66

Closed marcel293 closed 2 years ago

marcel293 commented 2 years ago

Hello,

thx for the plugin. Worked fine or the last months. I've changed to 2FA. Since that, I get the error message:

Device is not online; Polling disk temperature disabled. Device is not online; Polling temperature disabled.

        "name": "Diskstation",
        "host": "192.168.178.***",
        "mac": "00:00:00:00:00",
        "port": 5000,
        "username": "***",
        "password": "***",
        "protocol": "http",
        "version": "6.2.2",
        "startupTime": 60,
        "shutdownTime": 60,
        "otp": "16 character code",
        "accessory": "synology"

Does the plugin needs a special port or an extra release? I checked the firewall - 5000 is open.

stfnhmplr commented 2 years ago

Does the plugin needs a special port or an extra release?

No, it should work out of the box. Which version did you use before? The messages you mentioned only occur when your diskstation is offline or cannot be pinged. They are not related to the 2FA, since they are created before a login attempt if the diskstation is not reachable via ping. Can you manually check, if you can ping the diskstation from your Homebridge host? The entire log output would also be helpful.

marcel293 commented 2 years ago

ICMP wasn't released in the firewall. I had to create a custom a firewall rule for ICMP. After this I could ping the DS again and the plugin works! It was not necessary in the past.