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

「Hey Siri, おはよう」に憧れて / Longing for 'Hey Siri, g...

kiwi
September 19, 2021

「Hey Siri, おはよう」に憧れて / Longing for 'Hey Siri, good morning'

iOSDC Japan 2021
2021/09/18 (day1) LT

■Proposal
https://fortee.jp/iosdc-japan-2021/proposal/7fcc2a89-2ff0-4151-a9fb-395984db72c2

■Links
HomeKit Accessory Protocol Specification (Non-Commercial Version)

https://developer.apple.com/homekit/specification/

Homebridge
https://homebridge.io/
https://developers.homebridge.io/

SwitchBot API
https://github.com/OpenWonderLabs/SwitchBotAPI

Matter
https://buildwithmatter.com/

kiwi

September 19, 2021
Tweet

More Decks by kiwi

Other Decks in Technology

Transcript

  1. ʮݱࡏͷεςʔλεʯ͕औΕͳ͍ ͦ΋ͦ΋ϦϞίϯʹεςʔλεͱ͍͏֓೦͕ͳ͍ ରԠՈిͷ৔߹ εςʔλεΛ௚઀औಘՄೳ ΤΞίϯ͸0/ 0/Ͱ͢ ෦԰͸Կ౓ ˆͰ͢ εϚʔτϦϞίϯͷ৔߹ औಘͰ͖Δঢ়ଶʹ੍ݶ͕͋Δ

    ΤΞίϯ͸0/ ͖ͬ͞ΤΞίϯΛ͚ͭͨͷͰ  0/ͩͱࢥ͍·͢ ෦԰͸Կ౓ ΤΞίϯͷԹ౓ηϯαʔʹΞΫηεͰ͖ͳ͍  <ద౰ͳݻఆ஋>Ͱ͢ IPNFCSJEHFTXJUDICPUPQFOBQJϓϥάΠϯWͷ৔߹
  2. ʮݱࡏͷεςʔλεʯ͕औΕͳ͍ ࣮૷࣍ୈͰղܾՄೳͳ৔߹΋͋Δ ରԠՈిͷ৔߹ εςʔλεΛ௚઀औಘՄೳ ΤΞίϯ͸0/ 0/Ͱ͢ ෦԰͸Կ౓ ˆͰ͢ εϚʔτϦϞίϯͷ৔߹ औಘͰ͖Δঢ়ଶʹ੍ݶ͕͋Δ

    ΤΞίϯ͸0/ ͖ͬ͞ΤΞίϯΛ͚ͭͨͷͰ  0/ͩͱࢥ͍·͢ ෦԰͸Կ౓ <Թ࣪౓ܭ>IUUQTXXXTXJUDICPUKQQSPEVDUTTXJUDICPUNFUFS ˎϋϒࣗମʹηϯαʔ͕͋Γɺద੾ʹԹ౓Λฦ٫Ͱ͖ΔσόΠε΋͋Δ ˆͰ͢
  3. ϗʔϜΞϓϦಛ༗ͷߟ͑ํ΁ͷ׳Ε͕ඞཁ ࣗ෼Ͱ࣮૷Λमਖ਼͠Α͏ͱ͢Δͱͪΐͬͱେม )FBUFS$PPMFS $IBSBDUFSJTUJDT )PNF,JU͔Βཁٻ͞Εͨ࣌ͷԠ౴ "DUJWF (FUΤΞίϯ͕෇͍͍ͯΔ͔Ͳ͏͔ฦ٫ 4FUΤΞίϯΛ͚ͭΔফ͢ૢ࡞Λ࣮ߦ $VSSFOU5FNQFSBUVSF (FUݱࡏͷࣨԹΛฦ٫

    $VSSFOU)FBUFS $PPMFS4UBUF (FUݱࡏಈ࡞தͷΤΞίϯϞʔυʢྫྷ๪ஆ๪ʣΛฦ٫ 5BSHFU)FBUFS$PPMFS 4UBUF (FUΤΞίϯϞʔυʢྫྷ๪ஆ๪ࣗಈʣઃఆΛฦ٫ 4FUΤΞίϯϞʔυʢྫྷ๪ஆ๪ࣗಈʣઃఆΛ࣮ߦ $PPMJOH5ISFTIPME 5FNQFSBUVSF (FUྫྷ๪ͷઃఆԹ౓ʢࣨԹͷ্ݶʣΛฦ٫ 4FUྫྷ๪ͷઃఆԹ౓ʢࣨԹͷ্ݶʣઃఆΛ࣮ߦ )FBUJOH5ISFTIPME 5FNQFSBUVSF (FUஆ๪ͷઃఆԹ౓ʢࣨԹͷԼݶʣΛฦ٫ 4FUஆ๪ͷઃఆԹ౓ʢࣨԹͷԼݶʣઃఆΛ࣮ߦ ྫྷ๪ͱஆ๪ͰɺΤΞίϯͷઃఆԹ౓͕ผʑʹͳ͍ͬͯΔ ΞΫηαϦ͕࣮૷͢Δʮૢ࡞ʯ ʢҰ෦ൈਮʣ
  4. ϗʔϜΞϓϦಛ༗ͷߟ͑ํ΁ͷ׳Ε͕ඞཁ ΤΞίϯ͔Βεςʔλε͕औΕͳ͍ͱ࣮૷ແཧͰ͸ $IBSBDUFSJTUJDT )PNF,JU͔Βཁٻ͞Εͨ࣌ͷԠ౴ $VSSFOU5FNQFSBUVSF (FUݱࡏͷࣨԹΛฦ٫ $VSSFOU)FBUFS $PPMFS4UBUF (FUݱࡏಈ࡞தͷΤΞίϯϞʔυʢྫྷ๪ஆ๪ʣΛฦ٫ $PPMJOH5ISFTIPME

    5FNQFSBUVSF (FUྫྷ๪ͷઃఆԹ౓ʢࣨԹͷ্ݶʣΛฦ٫ 4FUྫྷ๪ͷઃఆԹ౓ʢࣨԹͷ্ݶʣઃఆΛ࣮ߦ )FBUJOH5ISFTIPME 5FNQFSBUVSF (FUஆ๪ͷઃఆԹ౓ʢࣨԹͷԼݶʣΛฦ٫ 4FUஆ๪ͷઃఆԹ౓ʢࣨԹͷԼݶʣઃఆΛ࣮ߦ ϗʔϜΞϓϦͷΤΞίϯʹ͓͚ΔʮࣗಈϞʔυʯ ˆ ˆ ˆ )FBUJOH5ISFTIPME $PPMJOH5ISFTIPME ࣨԹ͕͖͍͠஋ΑΓ௿͘ͳͬͨΒ ஆ๪Λىಈ͢Δ ࣨԹ͕͖͍͠஋ΑΓߴ͘ͳͬͨΒ ྫྷ๪Λىಈ͢Δ
  5. ϗʔϜΞϓϦಛ༗ͷߟ͑ํ΁ͷ׳Ε͕ඞཁ ΤΞίϯ͔Βεςʔλε͕औΕͳ͍ͱ࣮૷ແཧͰ͸ $IBSBDUFSJTUJDT )PNF,JU͔Βཁٻ͞Εͨ࣌ͷԠ౴ $VSSFOU5FNQFSBUVSF (FUݱࡏͷࣨԹΛฦ٫ $VSSFOU)FBUFS $PPMFS4UBUF (FUݱࡏಈ࡞தͷΤΞίϯϞʔυʢྫྷ๪ஆ๪ʣΛฦ٫ $PPMJOH5ISFTIPME

    5FNQFSBUVSF (FUྫྷ๪ͷઃఆԹ౓ʢࣨԹͷ্ݶʣΛฦ٫ 4FUྫྷ๪ͷઃఆԹ౓ʢࣨԹͷ্ݶʣઃఆΛ࣮ߦ )FBUJOH5ISFTIPME 5FNQFSBUVSF (FUஆ๪ͷઃఆԹ౓ʢࣨԹͷԼݶʣΛฦ٫ 4FUஆ๪ͷઃఆԹ౓ʢࣨԹͷԼݶʣઃఆΛ࣮ߦ ϗʔϜΞϓϦͷΤΞίϯʹ͓͚ΔʮࣗಈϞʔυʯ ˆ ˆ ˆ )FBUJOH5ISFTIPME $PPMJOH5ISFTIPME ࣨԹ͕͖͍͠஋ΑΓ௿͘ͳͬͨΒ ஆ๪Λىಈ͢Δ ࣨԹ͕͖͍͠஋ΑΓߴ͘ͳͬͨΒ ྫྷ๪Λىಈ͢Δ ΤΞίϯͷʮࣗಈϞʔυʯͷಈ࡞͸֤ػछʹΑͬͯҟͳΔ 
 ࣨԹͱ֎ͷؾԹʢนԹ౓ʣʹΑͬͯϞʔυʢྫྷ๪ஆ๪ʣ͕੾ΓସΘΔͳͲ ԿϞʔυͰಈ͍͍ͯΔ͔͸ΤΞίϯࣗ਎͔͠Θ͔Βͳ͍
  6. ·ͱΊ ͱΓ͋͑ͣಈ͔ͤΔΑ͏ʹͳͬͨ΋ͷ w ݱࡏͷࣨԹͱ࣪౓ΛϗʔϜΞϓϦʹදࣔ͢Δ w ʮ)FZ4JSJ ΤΞίϯ͚ͭͯʯͰΤΞίϯ͕ͭ͘ w ʮྫྷ๪Λˆʹͯ͠ʯͰྫྷ๪͕ઃఆͰ͖Δ Α͏ʹमਖ਼

     w ʮԹ౓ΛԼ͛ͯʯͱ͍͏ͱࣗಈϞʔυ ಈ͔ͳ͍ ʹͳΔ w ʮ)FZ4JSJ ͓͸Α͏ʯͰর໌఺౮ɺʮ͓΍͢ΈʯͰফ౮ w Ͱ΋นͷর໌εΠονͰిؾΛফ͢ͱಈ͔ͳ͘ͳΔ w )PNF1PEͰJ1IPOFͷԻָ͕ௌ͚Δ
  7. ΋͏গ͠౿ΈࠐΜͰΈ͍ͨਓ΁ͷώϯτ ඇ঎༻൛ͷ࢓༷ॻʢ1%'ʣ͕ϕʔε w )PNF,JU"DDFTTPSZ1SPUPDPM4QFDJ fi DBUJPO /PO$PNNFSDJBM7FSTJPO 
 IUUQTEFWFMPQFSBQQMFDPNIPNFLJUTQFDJ fi

    DBUJPO w )PNFCSJEHF 
 IUUQTIPNFCSJEHFJP 
 IUUQTEFWFMPQFSTIPNFCSJEHFJP w 4XJUDI#PU"1* 
 IUUQTHJUIVCDPN0QFO8POEFS-BCT4XJUDI#PU"1* w .BUUFS J04ΑΓରԠ༧ఆ 
 IUUQTCVJMEXJUINBUUFSDPN
  8. ͓·͚ w ΤΞίϯͷ৔ॴͷؔ܎Ͱɺ੺֎ઢ͕୆ಉ࣌ʹ൓Ԡ͢Δ໰୊ w ػछʹΑΔ͕ʮϦϞίϯΛ߸ػ༻ʹ͢Δʯઃఆ͕Մೳͳ΋ͷ΋͋Δ w ͏ͪͷΤΞίϯͷ৔߹͸ਾ෇આ໌ॻʹॻ͍ͯ͋ͬͨ 
 ϦϞίϯͷి஑Λ֎͠ɺग़͖ͯͨδϟϯύʔઢΛχούʔͰ੾Δͱ͍͏௒Ξφϩάͳํ๏ w

    J04ͩͱϗʔϜΞϓϦͷγʔϯઃఆͰʮর໌Φϑʯ͕Ͱ͖ͳ͍ w J043$൛ͷϗʔϜΞϓϦͩͱઃఆͰ͖ͨɻͳͥʜʜ  w 5BSHFU)FBUFS$PPMFS4UBUFͱΑ͘ࣅͨ5BSHFU)FBUJOH$PPMJOH4UBUFͱ ͍͏$IBSBDUFSJTUJD͕ଘࡏ͢ΔʢαʔϞελοτ༻ʣͷͰ஫ҙ