『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 4357|回复: 1

[经验分享] 怎么在hassio里的homebridge部署群晖啊

[复制链接]

19

主题

341

帖子

1133

积分

金牌会员

Rank: 6Rank: 6

积分
1133
金钱
792
HASS币
0
发表于 2018-5-27 22:37:53 | 显示全部楼层 |阅读模式
我是在树莓派里装了docker、debian9和hassio,homebridge是在hassio里安装的。看到这个命令怎么在homebridge,怎么键入这个命令啊?
回复

使用道具 举报

19

主题

341

帖子

1133

积分

金牌会员

Rank: 6Rank: 6

积分
1133
金钱
792
HASS币
0
 楼主| 发表于 2018-5-27 22:42:30 | 显示全部楼层
这样命令在哪里键入啊?在树莓派里怎么安装homebridge-synology啊?sudo npm install -g homebridge-synology
Configuration

config.json

Example:

{
    "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", // the name is displayed in homekit
            "ip": "192.168.178.1", // ip of your diskstation
            "mac": "A1:B3:C34:E5:EX", // mac of your diskstation
            "port": "port number", // (optional) port number of the webinterface, default 5000 (or 5001 if you set secure=true)
            "secure": false, // set this to true if you use a secure connection (https)
            "account": "admin",
            "password": "supersecret",
            "version": 5, // (optional) DSM Version, default is 6
            "timeout": 5000, // (optional) in ms, increase this value for slow diskstations
            "disabled": ["temp"], // (optional) see "disable services"
            "doPolling": true, // (optional) default is false
            "pollingInterval": 60 // (optional) in s, default is 60
        }
    ]
}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-18 04:11 , Processed in 0.084600 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表