homebridge-synology icon indicating copy to clipboard operation
homebridge-synology copied to clipboard

Plugin appears to come up and connect but temperature sensors read 0

Open tmwong2003 opened this issue 2 years ago • 3 comments

Describe The Bug:

I am trying to setup the homebridge-synology plugin to connect to a Synology DS420j running DSM 7.1-42661 Update 3. The plugin comes up, but the accessories appear with the Synology powered off and zero-value temperatures. I know the Synology is up, because my homebridge is running on the Synology itself.

To Reproduce:

  1. Create a dedicated administrative account on the Synology.
  2. Disable auto-block (#59).
  3. Configure homebridge-synology as shown in the config below.

Expected behavior:

  • Diskstation plugin power button is on
  • Temperature gauges read above 0º C.

Logs:

Using egrep "ynology|isk" homebridge.log:

[8/21/2022, 5:29:31 PM] Loaded plugin: [email protected]
[8/21/2022, 5:29:31 PM] Registering accessory 'homebridge-synology.synology'
[8/21/2022, 5:29:31 PM] [DiskStation] Initializing synology accessory...
[8/21/2022, 5:29:31 PM] [DiskStation] Synology DiskStation finished initializing!
2022-08-22T00:29:34.538Z HAP-NodeJS:Accessory [Homebridge FD4A CAD2] Got Characteristic "Manufacturer" value: "Synology"
2022-08-22T00:29:34.538Z HAP-NodeJS:Accessory [Homebridge FD4A CAD2] Got Characteristic "Model" value: "Diskstation"
2022-08-22T00:30:01.977Z HAP-NodeJS:Accessory [DiskStation] Muting event notification for Status Active as ids aren't yet assigned!
2022-08-22T00:30:01.979Z HAP-NodeJS:Accessory [DiskStation] Muting event notification for Status Active as ids aren't yet assigned!
2022-08-22T00:30:05.243Z HAP-NodeJS:Accessory [Homebridge FD4A CAD2] Got Characteristic "Manufacturer" value: "Synology"
2022-08-22T00:30:05.244Z HAP-NodeJS:Accessory [Homebridge FD4A CAD2] Got Characteristic "Model" value: "Diskstation"

Plugin Config:

    {
            "name": "DiskStation",
            "host": "127.0.0.1",
            "mac": "90-09-D0-09-EA-6F",
            "port": 5001,
            "username": "[REDACTED]",
            "password": "[REDACTED]",
            "protocol": "https",
            "version": "6.2.2",
            "startupTime": 60,
            "shutdownTime": 60,
            "accessory": "synology"
     }

Screenshots: Screen Shot 2022-08-21 at 5 50 50 PM

Environment:

  • Plugin Version: homebridge-synology v0.5.0
  • Homebridge Version: 1.5.0
  • Node.js Version: v16.16.0
  • NPM Version: 8.11.0
  • Operating System: Synology DSM 7.1-42661 Update 3

tmwong2003 avatar Aug 22 '22 00:08 tmwong2003

I confirm to have the same issue (as reported by many others in the Issues section). Hope there will be a comment / solution soon available.

ocager avatar Aug 23 '22 15:08 ocager

I confirm to have the same issue (as reported by many others in the Issues section). Hope there will be a comment / solution soon available.

Same problem here. Do you have it on https and local network? I think it may be not working because of self-signed certificate not being allowed.

romanr avatar Sep 18 '22 07:09 romanr

Switched the plugin config such that "protocol": "http" and "port": 5000, but now I see a different error in the log:

[9/29/2022, 11:36:18 AM] [DiskStation] Device is not online; Polling temperature disabled.
[9/29/2022, 11:36:18 AM] [DiskStation] Device is not online; Polling disk temperature disabled.

The Synology is online since it is hosting the HomeBridge. If this was an authentication issue between the plugin and the Synology would I see a different error?

I tried setting "host" to either "127.0.0.1" (i.e., localhost) or the actual IP address of the Synology, but still see the "Device is not online" error.

tmwong2003 avatar Sep 29 '22 18:09 tmwong2003