HomeKitとNode.jsを使ってSiriでコントロールするなにか
-
Upload
kamiyam- -
Category
Devices & Hardware
-
view
171 -
download
6
Transcript of HomeKitとNode.jsを使ってSiriでコントロールするなにか
Ref. http://www.apple.com/jp/shop/accessories/all-accessories/homekit
HomebridgeHomebridge is a lightweight NodeJS server you can run on your home network that emulates the iOS HomeKit API. It supports Plugins, which are community-contributed modules that provide a basic bridge from HomeKit to various 3rd-party APIs provided by manufacturers of "smart home" devices.
Ref. https://github.com/nfarina/homebridge
# npm install -g homebridge# homebridge
# npm install -g homebridge-dummy
Ref. https://github.com/nfarina/homebridge-dummy
# #editor ~/.homebridge/config.json{
"bridge": {
"name": " ",
"username": "CC:22:3D:E3:CE:AA",
"port": 51825,
"pin": "031-45-154"
},
"description": “dummy switch",
"accessories": [
{
"accessory": "DummySwitch",
"name": " "
}
]
}
Ref. http://senyoltw.hatenablog.jp/entry/2016/02/22/080000
Homebridge plugin
• homebridge-irkithttps://github.com/senyoltw/homebridge-irkit
• homebridge-chamberlainhttps://github.com/caseywebdev/homebridge-chamberlain
• Slackhttps://homebridgeteam.slack.com/messages/random