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. 安裝之後,並無想象中的有意思,畢竟小米網關的功能有限