いまふたたびのHomeKit

 いまふたたびのHomeKit

iOS10で追加されたIP Cameraやhomebridgeのプラグイン作成について

Db5cf21a75ebe2484b95ea9dec5f573b?s=128

Shingo Tamaki

October 22, 2016
Tweet

Transcript

  1. ͍·;ͨͨͼͷ HomeKit!

  2. ࣗݾ঺հ ۄ৓ ৴ޛ iOS ΤϯδχΞ Like: iOS / Wio Node

    / Node-RED ిࢠ޻࡞ษڧձ΍ͬͯ·͢ http://elec4ios.connpass.com/event/ 43077/ ͓͏ͪϋοΫ#5 ෦԰ΛφΠτγϑτ͢ Δ https://speakerdeck.com/tamaki/bu- wu-wonaitosihutosuru-in-outihatuku
  3. 2016೥9݄ iOS10ϦϦʔε

  4. What's New in HomeKit • HomeΞϓϦ͕ඪ४ΞϓϦͱͯ͠iOSʹ౥ࡌ͞Ε·ͨ͠ • AppleTVͱiPad͕ήʔτ΢ΣΠʹͳΓɺϦϞʔτΞΫηεͱ Φʔτϝʔγϣϯ͕ՄೳʹͳΓ·ͨ͠ •

    tvOSͰ΋HomeKit Framework͕࢖༻ՄೳʹͳΓ·ͨ͠ • ରԠΞΫηαϦ͕௥Ճ͞Ε·ͨ͠ɻ
  5. ৽نΞΫηαϦ • Air Treatment • Cameras • Doorbells

  6. ͦΜͳHomeKitɺ ͓͏ͪϋοΫͰ࢖͏ํ๏ ͱ͍͑͹...?

  7. homebridge

  8. homebridge is Կ • HomeKitରԠϒϦοδΤϛϡϨʔλ • HomeKitରԠͰͳ͍σόΠε͕ѻ͑ΔΑ͏ʹͳΔ! • HAP-NodeJS͕ίΞͱͳ͍ͬͯΔ •

    HomeKit Accessory Simulator͔ΒϦόʔεΤϯδχΞϦ ϯάͯ͠ΔͬΆ͍
  9. What's New in Homebridge(&HAP-NodeJS) • IP Camera • Doorbell •

    Microphone • Speaker ※Ұ෦ൈਮ
  10. HomebridgeରԠΞΫηαϦ Accessory Information,Air Quality Sensor,Battery Service, Bridge Configuration,Bridging State,Camera Control,

    Camera RTP Stream Management,Carbon Dioxide Sensor, Carbon Monoxide Sensor,Contact Sensor,Door,Doorbell, Fan,Garage Door Opener,Humidity Sensor,Leak Sensor,Light Sensor, Lightbulb,Lock Management,Lock Mechanism,Microphone,Motion Sensor, Occupancy Sensor,Outlet,Pairing,Protocol Information,Relay, Security System,Smoke Sensor,Speaker,Stateful Programmable Switch, Stateless Programmable Switch,Switch,Temperature Sensor,Thermostat, Time Information,Tunneled BTLE Accessory Service,Window,Window Covering
  11. homebridgeͰIP Camera!Λࢼ͢ • homebridge-isight • homebridge-camera-ffmpeg • homebridge-motion Macͷਓ͸homebrige-isightͰ؆୯ʹ͓ࢼ͠Ͱ͖·͢!

  12. ͪͳΈʹͪΌΜͱ֎෦͔Βήʔτ΢ΣΠ(AppleTV)ӽ͠ʹΧϝϥ ө૾ݟΕ·ͨ͠ɻ

  13. homebridgeϓϥάΠϯ ʹ͍ͭͯ

  14. Α͘࢖ΘΕ͍ͯΔhomebridgeϓϥά Πϯ homebridge-cmd !ΞΫηαϦͱͯ͠͸εΠον !ON/OFF࣌ʹಛఆίϚϯυͷ࣮ߦ͕Մೳ "γϯϓϧͰඇৗʹ࢖͍΍͍͢ #HomeΞϓϦͰݟΔͱ΍͸ΓΞΠίϯ͸εΠον

  15. ! ଞͷΞΫηαϦ΋DIY ͍ͨ͠

  16. ͜ΜͳΞΫηαϦͷϓϥάΠϯࢼ࡞͠ ͯΈ·ͨ͠ • Fan (ϑΝϯɺઔ෩ػ΍γʔϦϯάϑΝϯ) • Temperature Sensor (Թ౓ܭ) •

    Humidity Sensor (࣪౓ܭ) • Lock Mechanism (αʔϘϞʔλͰ࠶ݱ)
  17. ࢖༻ͨ͠ϋʔυ΢ΣΞ • Wio Node • Groveηϯα֤छ

  18. ߏ੒

  19. Demo

  20. ΄΅ిࢠ޻࡞ແ͠

  21. ࠓޙ΍Γ͍ͨࣄ • ϓϥάΠϯͷެ։ͱ൚༻ੑ֦ு • HomeKit FrameworkΛ࢖ͬͨtvOSΞϓϦ! • DoorbellϓϥάΠϯ(ࠓճࢼ࡞Ͱ͏·͍͖͘·ͤΜͰͨ͠ɻ) • ͦͷଞΞΫηαϦͷରԠ

    • IP CameraͷετϦʔϛϯάΛψϧψϧಈ͔͍ͨ͠
  22. Ҏ্ʂ