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

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

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. LJXJ
    χϑςΟϥΠϑελΠϧגࣜձࣾ
    ʮ)FZ4JSJ ͓͸Α͏ʯʹಌΕͯ
    aࠓ೥΋εϙϯαʔͰ͢

    View full-size slide

  2. IUUQTXXXBQQMFDPNKQJPTIPNF
    ͔͍͍ͬ͜ͳ͊
    Ͱ΋Ձ͕֨ͪΐͬͱͳ͊

    View full-size slide

  3. IUUQTQSUJNFTKQNBJOIUNMSEQIUNM

    View full-size slide

  4. εϚʔτϦϞίϯͱͷग़ձ͍
    IUUQTXXXBNB[PODPKQHQQSPEVDU#55)5.8ˎՁ֨͸εϥΠυ࡞੒࣌఺

    View full-size slide

  5. <঎඼ը૾>IUUQTXXXTXJUDICPUKQQSPEVDUTTXJUDICPUIVCNJOJ
    <ՈిҰཡ>4XJUDICPUΞϓϦͷεΫϦʔϯγϣοτΑΓ
    4XJUDICPU)VCNJOJ
    εϚʔτϦϞίϯ

    ઐ༻ΞϓϦ
    ੺֎ઢͰ
    ରԠ͢Δૢ࡞Λ࣮ߦ
    ૢ࡞಺༰Λૹ৴
    4XJUDICPU"1*

    Ոి
    ac

    View full-size slide

  6. IUUQTXXXBNB[PODPKQHQQSPEVDU#55)5.8

    View full-size slide

  7. IUUQTXXXBNB[PODPKQHQQSPEVDU#55)5.8

    View full-size slide

  8. ઐ༻ΞϓϦͰొ࿥ͨ͠Ոిͷૢ࡞Λ
    ྫ͑͹ʮর໌ͷফ౮ϘλϯΛԡ͢ʯ
    γϣʔτΧοτΞϓϦ͔Βݺͼग़ͤΔ
    ͭ·Γ4JSJ͔Β΋ݺͼग़ͤΔ
    ˎ4XJUDICPUͷ৔߹
    👆

    View full-size slide

  9. IUUQTXXXBQQMFDPNKQJPTIPNF

    View full-size slide

  10. ʮ)FZ4JSJ ͓͸Α͏ʯʹಌΕͯ
    εϚʔτϦϞίϯͷ࢓૊Έͱʮ4JSJରԠʯ
    )PNF,JUඇରԠͷσόΠεΛ)PNF,JUͰૢ࡞͢Δ
    ʮ)PNF,JUରԠʯ͡Όͳ͍ͱͰ͖ͳ͍͜ͱ
    ΋͏গ͠౿ΈࠐΜͰΈ͍ͨਓ΁ͷώϯτ

    View full-size slide

  11. )PNFCSJEHF
    )PNF,JU"1*Λ࣮૷ͨ͠ϒϦοδ༻αʔόʔ
    εΫϦʔϯγϣοτ͸(6*ϓϥάΠϯIPNFCSJEHFDPO
    fi

    View full-size slide

  12. )PNFCSJEHF
    )PNF,JU"1*Λ࣮૷ͨ͠ϒϦοδ༻αʔόʔ
    <঎඼ը૾>IUUQTXXXTXJUDICPUKQQSPEVDUTTXJUDICPUIVCNJOJʗ<ՈిҰཡ>4XJUDICPUΞϓϦͷεΫϦʔϯγϣοτΑΓʗ<ϗʔϜΞϓϦ>IUUQTXXXBQQMFDPNKQJPTIPNF
    ੺֎ઢͰૢ࡞
    4XJUDICPU"1*Ͱ
    ૢ࡞಺༰Λૹ৴
    )PNF,JU"1*Ͱ
    ૢ࡞಺༰Λૹ৴
    ະ։෧ͷ··Ոʹ຾͍ͬͯͨ
    3BTQCFSSZ1J;FSP8ʹΠϯετʔϧ
    ϗʔϜϋϒͱͯ͠
    )PNF1PENJOJΛར༻ ߪೖ

    ϓϥάΠϯ

    View full-size slide

  13. ʮ)FZ4JSJ ͓͸Α͏ʯʹಌΕͯ
    εϚʔτϦϞίϯͷ࢓૊Έͱʮ4JSJରԠʯ
    )PNF,JUඇରԠͷσόΠεΛ)PNF,JUͰૢ࡞͢Δ
    ʮ)PNF,JUରԠʯ͡Όͳ͍ͱͰ͖ͳ͍͜ͱ
    ΋͏গ͠౿ΈࠐΜͰΈ͍ͨਓ΁ͷώϯτ

    View full-size slide

  14. ʮ)FZ4JSJ ͓͸Α͏ʯʹಌΕͯ
    εϚʔτϦϞίϯͷ࢓૊Έͱʮ4JSJରԠʯ
    )PNF,JUඇରԠͷσόΠεΛ)PNF,JUͰૢ࡞͢Δ
    ʮ)PNF,JUରԠʯ͡Όͳ͍ͱͰ͖ͳ͍͜ͱ
    ΋͏গ͠౿ΈࠐΜͰΈ͍ͨਓ΁ͷώϯτ

    View full-size slide

  15. ʮ)FZ4JSJ ͓͸Α͏ʯʹಌΕͯ
    εϚʔτϦϞίϯͷ࢓૊Έͱʮ4JSJରԠʯ
    )PNF,JUඇରԠͷσόΠεΛ)PNF,JUͰૢ࡞͢Δ
    )PNFCSJEHFܦ༝ͩͱͰ͖ͳ͍͜ͱ
    ΋͏গ͠౿ΈࠐΜͰΈ͍ͨਓ΁ͷώϯτ

    View full-size slide

  16. )PNFCSJEHFܦ༝ͩͱͰ͖ͳ͍͜ͱ
    ʮ΋͸΍ઐ༻ΞϓϦͰྑ͍ͷͰ͸ʜʜʯͱͷઓ͍
    ʮݱࡏͷεςʔλεʯ͕औΕͳ͍
    ϗʔϜΞϓϦಛ༗ͷߟ͑ํ΁ͷ׳Ε͕ඞཁ
    ࣗ෼Ͱ࣮૷Λमਖ਼͠Α͏ͱؤுΔ৔߹

    View full-size slide

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

    0/ͩͱࢥ͍·͢
    ෦԰͸Կ౓
    ΤΞίϯͷԹ౓ηϯαʔʹΞΫηεͰ͖ͳ͍

    <ద౰ͳݻఆ஋>Ͱ͢
    IPNFCSJEHFTXJUDICPUPQFOBQJϓϥάΠϯWͷ৔߹

    View full-size slide

  18. ʮݱࡏͷεςʔλεʯ͕औΕͳ͍
    ࣮૷࣍ୈͰղܾՄೳͳ৔߹΋͋Δ
    ରԠՈిͷ৔߹
    εςʔλεΛ௚઀औಘՄೳ
    ΤΞίϯ͸0/
    0/Ͱ͢
    ෦԰͸Կ౓
    ˆͰ͢
    εϚʔτϦϞίϯͷ৔߹
    औಘͰ͖Δঢ়ଶʹ੍ݶ͕͋Δ
    ΤΞίϯ͸0/
    ͖ͬ͞ΤΞίϯΛ͚ͭͨͷͰ

    0/ͩͱࢥ͍·͢
    ෦԰͸Կ౓
    <Թ࣪౓ܭ>IUUQTXXXTXJUDICPUKQQSPEVDUTTXJUDICPUNFUFS
    ˎϋϒࣗମʹηϯαʔ͕͋Γɺద੾ʹԹ౓Λฦ٫Ͱ͖ΔσόΠε΋͋Δ
    ˆͰ͢

    View full-size slide

  19. <঎඼ը૾>IUUQTXXXTXJUDICPUKQQSPEVDUTTXJUDICPUIVCNJOJ
    ࣦഊ
    ૢ࡞಺༰ͷૹ৴Ͱ
    Τϥʔ͕ൃੜ
    ΤΞίϯΛˆͷ
    ྫྷ๪ʹઃఆ͍ͨ͠
    ϓϥάΠϯ
    ϗʔϜΞϓϦಛ༗ͷߟ͑ํ΁ͷ׳Ε͕ඞཁ
    ࣗ෼Ͱ࣮૷Λमਖ਼͠Α͏ͱ͢Δͱͪΐͬͱେม
    ϓϥάΠϯ΋044Ͱެ։͞Ε͍ͯΔ
    ˠ௚ͯ͠ΈΔ͔ʜʜ

    View full-size slide

  20. ϗʔϜΞϓϦಛ༗ͷߟ͑ํ΁ͷ׳Ε͕ඞཁ
    ࣗ෼Ͱ࣮૷Λमਖ਼͠Α͏ͱ͢Δͱͪΐͬͱେม
    )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ஆ๪ͷઃఆԹ౓ʢࣨԹͷԼݶʣઃఆΛ࣮ߦ
    ྫྷ๪ͱஆ๪ͰɺΤΞίϯͷઃఆԹ౓͕ผʑʹͳ͍ͬͯΔ
    ΞΫηαϦ͕࣮૷͢Δʮૢ࡞ʯ
    ʢҰ෦ൈਮʣ

    View full-size slide

  21. ࣗಈϞʔυ

    View full-size slide

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

    View full-size slide

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

    ࣨԹͱ֎ͷؾԹʢนԹ౓ʣʹΑͬͯϞʔυʢྫྷ๪ஆ๪ʣ͕੾ΓସΘΔͳͲ
    ԿϞʔυͰಈ͍͍ͯΔ͔͸ΤΞίϯࣗ਎͔͠Θ͔Βͳ͍

    View full-size slide

  24. ·ͱΊ
    ͱΓ͋͑ͣಈ͔ͤΔΑ͏ʹͳͬͨ΋ͷ
    w ݱࡏͷࣨԹͱ࣪౓ΛϗʔϜΞϓϦʹදࣔ͢Δ
    w ʮ)FZ4JSJ ΤΞίϯ͚ͭͯʯͰΤΞίϯ͕ͭ͘
    w ʮྫྷ๪Λˆʹͯ͠ʯͰྫྷ๪͕ઃఆͰ͖Δ Α͏ʹमਖ਼

    w ʮԹ౓ΛԼ͛ͯʯͱ͍͏ͱࣗಈϞʔυ ಈ͔ͳ͍
    ʹͳΔ
    w ʮ)FZ4JSJ ͓͸Α͏ʯͰর໌఺౮ɺʮ͓΍͢ΈʯͰফ౮
    w Ͱ΋นͷর໌εΠονͰిؾΛফ͢ͱಈ͔ͳ͘ͳΔ
    w )PNF1PEͰJ1IPOFͷԻָ͕ௌ͚Δ

    View full-size slide

  25. ΋͏গ͠౿ΈࠐΜͰΈ͍ͨਓ΁ͷώϯτ
    ඇ঎༻൛ͷ࢓༷ॻʢ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

    View full-size slide

  26. ͓·͚
    w ΤΞίϯͷ৔ॴͷؔ܎Ͱɺ੺֎ઢ͕୆ಉ࣌ʹ൓Ԡ͢Δ໰୊
    w ػछʹΑΔ͕ʮϦϞίϯΛ߸ػ༻ʹ͢Δʯઃఆ͕Մೳͳ΋ͷ΋͋Δ
    w ͏ͪͷΤΞίϯͷ৔߹͸ਾ෇આ໌ॻʹॻ͍ͯ͋ͬͨ

    ϦϞίϯͷి஑Λ֎͠ɺग़͖ͯͨδϟϯύʔઢΛχούʔͰ੾Δͱ͍͏௒Ξφϩάͳํ๏
    w J04ͩͱϗʔϜΞϓϦͷγʔϯઃఆͰʮর໌Φϑʯ͕Ͱ͖ͳ͍
    w J043$൛ͷϗʔϜΞϓϦͩͱઃఆͰ͖ͨɻͳͥʜʜ
    w 5BSHFU)FBUFS$PPMFS4UBUFͱΑ͘ࣅͨ5BSHFU)FBUJOH$PPMJOH4UBUFͱ
    ͍͏$IBSBDUFSJTUJD͕ଘࡏ͢ΔʢαʔϞελοτ༻ʣͷͰ஫ҙ

    View full-size slide