marcoraddatz / homebridge-docker

Dockerized Homebridge. No plugins pre-defined, hassle-free setup. Read instructions!
Apache License 2.0
127 stars 47 forks source link

ios device No status #17

Closed pes2017 closed 7 years ago

pes2017 commented 7 years ago

hello, marcoraddatz

i got some trouble when i using homebridge-docker. here is error information. any help or tips will be appreciated. thanks.


ver

ios ver.10.3.2   
synology ver.6.1-15047 Update 2
marcoraddatz/homebridge-docker latest ver
Docker version 1.11.2 (docker --version)

error

2017-05-20 14:14:13 stdout  [37m[5/20/2017, 2:14:13 PM][39m [36m[Diskstation][39m An error occured while getting CpuLoad: null
2017-05-20 14:14:13 stdout  [37m[5/20/2017, 2:14:13 PM][39m [36m[Diskstation][39m An error occured while getting DiskUsage: null
2017-05-20 14:14:12 stdout  [37m[5/20/2017, 2:14:12 PM][39m [36m[Diskstation][39m An error occured while getting CpuLoad: null
2017-05-20 14:14:12 stdout  [37m[5/20/2017, 2:14:12 PM][39m [36m[Diskstation][39m An error occured while getting DiskUsage: null
2017-05-20 14:14:06 stdout  [37m[5/20/2017, 2:14:06 PM][39m Homebridge is running on port 51826.
2017-05-20 14:14:06 stdout  [30m[47m                       [49m[39m
2017-05-20 14:14:06 stdout  [30m[47m    └────────────┘     [49m[39m
2017-05-20 14:14:06 stdout  [30m[47m    │ 031-45-154 │     [49m[39m
2017-05-20 14:14:06 stdout  [30m[47m    ┌────────────┐     [49m[39m
2017-05-20 14:14:06 stdout  [30m[47m                       [49m[39m
2017-05-20 14:14:06 stdout  Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
2017-05-20 14:14:06 stdout  [37m[5/20/2017, 2:14:06 PM][39m [36m[Diskstation][39m Initializing Synology accessory...
2017-05-20 14:14:06 stdout  [37m[5/20/2017, 2:14:06 PM][39m Loading 1 accessories...
2017-05-20 14:14:06 stdout  [37m[5/20/2017, 2:14:06 PM][39m ---
2017-05-20 14:14:06 stdout  [37m[5/20/2017, 2:14:06 PM][39m Loaded config.json with 1 accessories and 0 platforms.
2017-05-20 14:14:06 stdout  [37m[5/20/2017, 2:14:06 PM][39m ---
2017-05-20 14:14:06 stdout  [37m[5/20/2017, 2:14:06 PM][39m Registering accessory 'homebridge-synology.Synology'
2017-05-20 14:14:06 stdout  [37m[5/20/2017, 2:14:06 PM][39m Loaded plugin: homebridge-synology
2017-05-20 14:14:05 stdout  npm info ok 
2017-05-20 14:14:05 stdout  npm info using node@v7.10.0
2017-05-20 14:14:05 stdout  npm info using npm@4.2.0
2017-05-20 14:14:05 stdout  npm info it worked if it ends with ok

install.sh

#!/bin/sh

npm install -g homebridge-synology

config.js

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:51",
        "port": 51826,
        "pin": "031-45-154"
    },
    "description": "This is an example configuration file for homebridge synology plugin",
    "hint": "Always paste into jsonlint.com validation page before starting your homebridge, saves a lot of frustration",
    "accessories": [
        {
            "accessory": "Synology",
            "name": "Diskstation",
            "ip": "192.168.1.21",
            "mac": "00:11:32:XX:XX:XX",
            "port": "5000",
            "secure": false,
            "account": "admin",
            "password": "password",
            "version": 5,
            "timeout": 5000,
            "disabled": ["switch", "temp"]
        }
    ]
}
pes2017 commented 7 years ago

it's worked perfectly when i fix version parameter.

"version": 5,  ==> "version": 6,

i feel really embarrassed. i wil close this issue. I am sorry to bother you.