在raspberry pi 上安装 homebridge

1. 参考 https://bbs.feng.com/read-htm-tid-11483485.htmlhtml

2. 参考 https://github.com/nfarina/homebridge/wiki/Running-HomeBridge-on-a-Raspberry-Pinode

3. 参考 https://sspai.com/post/36617?winzoom=1git

4. 参考 https://alanoy.com/post/connect-homekit-and-mijia-devices-with-homebridge/github

5. 参考 https://sspai.com/post/40075json

ps: 网上的基于raspberry pi 打造的homekit智能家居都大同小异,而且都很表面。特别是少数派的一些人,写的很华丽,但实际上不一样人写的文章都是相同的,明显是相互借鉴。post

 

注意事项:spa

1. 注意安装node.js 以及相应的库插件

2. 注意安装你手中设备的对应插件,好比以上教程中提到小米网关设备对应的插件是MiAqaraPlatform,实际上去老是报错code

我从新安装了插件 AqaraPlatform 后,便可正常运行orm

pi@raspberrypi:~ $ cat .homebridge/config.json 
{
    "bridge": {
        "name": "Homebridge",
        "username": "EE:33:11:EE:06:11",
        "port": 51826,
        "pin": "000-00-222"
    },
    "platforms": [
        {
            "platform": "AqaraPlatform",
            "sid": ["34ce0088e8d7"],
            "password": ["pjhe0btqwz6hb916"]
        }
    ]
}

3. 安装之后,并无想象中的有意思,毕竟小米网关的功能有限

相关文章
相关标签/搜索