2024年11月24日星期日 上午6:29:54

将HomeAssistant配置到HomeBridge中

10 个月 前
#25159 引用
将HomeAssistant配置到HomeBridge中

https://blog.csdn.net/hilaryfrank/article/details/108477301


在群辉上安装HomeBridge有两种方式:
一种是自己基于Docker手动安装HomeBridge
一种是借助已有的群辉插件(组件)安装
0
10 个月 前
#25160 引用
需要安装两个插件
HomeBridge HomeAssistant
0
10 个月 前
#25161 引用
需要在HomeBridge配置界面配置。
其中host填写HomeAssistant的IP地址,端口默认都是8213。密码为我们之前在安装HomeAssistant的时候配置设置的api_password



{
    "bridge": {
        ....
    },
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "platform": "HomeAssistant",
            "name": "HomeAssistant",
            "host": "http://127.0.0.1:8123",
            "password": "123456",
            "support_types": [
                "automation",
                "binary_sensor",
                "climate",
                "cover",
                "device_tracker",
                "fan",
                "group",
                "input_boolean",
                "light",
                "lock",
                "media_player",
                "remote",
                "scene",
                "script",
                "sensor",
                "switch",
                "vacuum"
            ],
            "default_visibility": "visible",
            "verify_ssl": false,
            "logging": true
        }
    ]
}

0
10 个月 前
#25233 引用




{
    "bridge": {
        "name": "Homebridge A3D9",
        "username": "0E:",
        "port": 51992,
        "pin": "729-",
        "advertiser": "avahi"
    },
    "accessories": [
        {
            "accessory": "homebridge-mi-philips-light",
            "name": "Bed Room Air Purifier",
            "ip": "192.168.2.111",
            "token": "f5f1d4cdbe93268d6fc5ff1199"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "Yeelighter",
            "timeout": 5000,
            "interval": 60000,
            "ctforcolor": true,
            "blocking": false,
            "split": false,
            "manual": [
                {
                    "ignorePower": false
                }
            ],
            "platform": "Yeelighter"
        },
        {
            "devices": [
                {
                    "name": "cuco.plug.cp2",
                    "ip": "192.168.2.113",
                    "token": "3394d89869a8a483651095",
                    "pollingInterval": 10,
                    "deepDebugLog": false,
                    "buzzerControl": true,
                    "ledControl": true,
                    "childLockControl": true,
                    "modeControl": true
                }
            ],
            "platform": "miot"
        }
    ]
}

0