Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Homebridgeのススメ

 Homebridgeのススメ

Homebridgeはいいぞぉ〜
(自作の学習リモコンもいいぞぉ〜)

0b308f709fcaedd420f4db52fadfcaea?s=128

wancom

June 19, 2021
Tweet

Transcript

  1. Homebridgeͷεεϝ ʢ͋ͱArduinoΛ࢖ֶͬͨशϦϞίϯ΋ʣ wancom

  2. ಥવͰ͕͢… Homebridge͍͍ͧ͒ʙ (ͨͩ͠AppleϢʔβʹݶΔ)

  3. Homebridgeͱ͸ʁ HomekitରԠΞΫηαϦΛγϛϡϨʔγϣϯ͢Δαʔό

  4. ͜ΕΛ࢖͏ͱ… • HomeΞϓϦ͔ΒՈిΛૢ࡞Ͱ͖Δ • SiriΛ࢖ͬͯίϯτϩʔϧͰ͖Δ • ֎͔ΒͰ΋ૢ࡞Ͱ͖Δ 
 ʢiPad͔AppleTV͔HomePod͕Ոʹ͋Δ৔߹ʣ •

    Φʔτϝʔγϣϯ͕Ͱ͖Δ 
 ʢ৸Δ࣌ʹిؾΛফ͢ɺՈʹؼ͖ͬͯͨΒΤΞίϯΛ͚ͭΔͳͲ… 
 ɹ͜Ε΋iPad͔AppleTV͔HomePod͕ඞཁ͔΋ʁʣ
  5. DEMO

  6. None
  7. Ͳ͏΍Δͷʁ • RaspberryPi্ʹHomebridgeΛཱͯΔ 
 (ଞͷOS΍docker্΋͍͚ͦ͏) • Թࣨ౓ηϯαʔ΍ࣗ࡞ͷֶशϦϞίϯΛ઀ଓ͢Δ 
 (͓޷ΈͰ৭ʑͭͳ͛·͠ΐ͏) •

    ࣗ࡞ͷϓϥάΠϯΛొ࿥ͯ͠ઃఆ͢Δ 
 (ࣗ࡞Ҏ֎ʹ΋ଟ͘ͷศརͳϓϥάΠϯ͕ެ։͞Ε͍ͯ·͢) • ϓϥάΠϯΛ௥Ճ͢ΔͱGoogleHomeʹ΋ରԠ͢ΔΒ͍͠ 
 (homebridge-gsh)
  8. ͓·͚ ࣗ࡞ͷֶशϦϞίϯ͍͍ͧ͒ʙ (΋ͪΖΜࣗ࡞͠ͳͯ͘΋NatureRemo(IRKitͷޙܧ) ͱ͍͏ศརͳ΋ͷ΋͋Γ·͢)

  9. ֶशϦϞίϯ • ୯७ʹड৴ͨ͠৴߸ΛRaspberryPiʹอଘ͠ɺ • อଘͨ͠৴߸Λૹ৴͢Δ • ArduinoͷPWMΛ࢖༻ 
 ʢ40KHzͷΩϟϦΞ৴߸Λ 


    ɹ؆୯ʹੜ੒Ͱ͖ΔͨΊʣ • ͘͢͝؆୯ʂ 
 ʢArduinoɺडޫϞδϡʔϧɺIR LEDɺetc...ʣ