stfnhmplr / homebridge-synology

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

Temperature always 0° #36

Closed sadden3194 closed 2 years ago

sadden3194 commented 6 years ago

Hello :)

power on / off function works. But the temperature shows always 0°.

I use the SSL

Logfile: Jul 25 23:10:33 pi homebridge[2449]: [2018-7-25 23:10:33] [DiskStation] An error occured while getting SystemTemp: Can't login to Diskstation. Error: ESOCKETTIMEDOUT

Config:

{
            "accessory": "Synology",
            "name": "Diskstation",
            "ip": "MyIPAddress",
            "mac": "MyMacAddress",
            "port": "5108",
            "secure": true,
            "account": "MyAdminAccount",
            "password": "MyAdminAccountPassword",
            "version": 6,
            "timeout": 5000,
            "disabled": [],
            "doPolling": true,
            "pollingInterval": 60
        },

and I can't see the CPU load

stfnhmplr commented 5 years ago

There is a timeout error. Please try to increase the timeout in you config. Maybe to 10,000 ms or more.

jakesza commented 5 years ago

same issue, tried longer timeout. still doesn't work

ryanoshea commented 4 years ago

I have the same issue. Config is below. I see two accessories: Power (which works) and Temperature, which sticks at 0°C/32°F.

{
  "accessory": "Synology",
  "name": "Diskstation",
  "ip": "192.168.1.XXX",
  "mac": "XX:XX:XX:XX:XX:XX",
  "port": "XXXX",
  "secure": true,
  "account": "XXXXXX",
  "password": "XXXXXX",
  "timeout": 5000
}
a447682903 commented 4 years ago

My problem is the same. It always shows 0. I hope the teacher can solve the problem. My config.json is as follows: "accessories": [ { "accessory": "Synology", "name": "DS218", "ip": "192.168.2.108", "mac": "00:11:32:b5:4d:c3", "port": "5000", "secure": false, "account": "liyuzhi", "password": "Lyz+491085", "version": 6, "timeout":15000

    }]