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

【Dive into mixi night】Roomba(ルンバ)とフロントエンドとIoT

umesan
July 06, 2018

【Dive into mixi night】Roomba(ルンバ)とフロントエンドとIoT

Dive into mixi nightI! #2 枠での資料です。

# 資料内参考リンク

## ファイトリーグ
https://fight-league.com/?sd

## 「ストライクショット!」と叫ぶとRoombaが走り出す最高のUX
https://youtu.be/DNpUF76Thww

## Roomba(ルンバ) とマイホームとIoT
https://qiita.com/umesan/items/ea9d1603d139387b6a97

## homebridge-roomba
https://www.npmjs.com/package/homebridge-roomba

umesan

July 06, 2018
Tweet

More Decks by umesan

Other Decks in Technology

Transcript

  1. 2 ࣗݾ঺հ കࢁ௚थʢ͏Ί΍·ͳ͓͖ʣ  גࣜձࣾϛΫγΟ 9'-"(ελδΦ  Ϟϯετࣄۀຊ෦ ϑϩϯτΤϯυσβΠϯνʔϜ 

    ϑΝΠτϦʔάࣄۀຊ෦ 6*σβΠϯάϧʔϓ ʮϞϯελʔετϥΠΫʯʮϑΝΠτϦʔάʯɺ εϚʔτϑΥϯήʔϜΞϓϦͷެࣜαΠτͷӡ༻୲౰
  2. 3 ˗ 7VFKT 7VFY 18" 4FSWJDF8PSLFS ".1 8FCQBDL (VMQ &4

    &4-JOU &TEPD )5.- 1VH 4BTT 1PTU$44 $PNQBTT  4UZMFMJOU #&. 4."$44 BJHJT (JU :BSO +FOLJOT (PPHMF"QQT4DSJQU /HJOY /PEFKT "84 )551 <13>ϑΝΠτϦʔά ެࣜαΠτͰɺήʔϜ͕΋ͬͱָ͘͠ͳΔίϯςϯπΛ഑৴தɻ
  3. 11 ඞཁͳ΋ͷ  3PPNCBʢ8J'JରԠϞσϧʣ  "QQMF8BUDI J1IPOF 4JSJରԠσόΠε  3BTQCFSSZ1J.BD

     &MHBUP &WF ʻ)PNF,JUɿ"QQMFͷఏڙ͢ΔՈి؅ཧͷ࢓૊ΈʼରԠΞϓϦ  /PEFKT  )PNFCSJEHF )PNFLJUΛΤϛϡϨʔτͨ͠/PEF+4αʔό  IPNFCSJEHFSPPNCB 3PPNCBΛಈ͔ͨ͢Ίʹࣗ࡞ͨ͠ϓϥάΠϯ ϋʔυ ιϑτ
  4. ϋʔυ :PV "QQMF8BUDI J1IPOF 3BTQCFSSZ1J 3PPNCB ιϑτ 4JSJ &MHBUP &WF

    /PEFKT )PNFCSJEHF IPNFCSJEHFSPPNCB ߏ੒ 12 શମߏ੒ ᶃ ᶄ ᶅ ᶆ ᶇ ᶈ ᶉ ᶊ
  5. ᶃ ʮετϥΠΫγϣοτʯͱڣͿ ᶄ "QQMF8BUDIͷ4JSJ͕Ի੠Λೝࣝ ᶅ 4JSJΛܦ༝ͯ͠ɺ J1IPOFʹΠϯετʔϧ͞Ε͍ͯΔ&MHBUP &WF͕ݺͼग़͞ΕΔɻ &MHBUP &WFʹࣄલొ࿥͞Ε͍ͯΔʮ

    ετϥΠΫγϣοτʯͱ͍͏ʮγʔϯʯ ͕࣮ߦ͞Εɺᶆͷ)PNFCSJEHFαʔόʹʮ 300.#"ͷిݯΛ0/ʯʹ͢Δͱ ͍͏ʮΞΫγϣϯʯΛϦΫΤετ ᶆ )PNFCSJEHFαʔό͕ʮΞΫγϣϯʯΛड͚औΓɺ IPNFCSJEHFSPPNCBΛ௨ͯ͠ɺ ᶇͷ3PPNCBʹNRUUͱ͍͏ϓϩτίϧͰɺ\`TUBUF``TUBSU`^Λ QVCMJTI ᶇ TUBSUϝοηʔδΛड৴ͨ͠3PPNCB͕૟আΛ։࢝ ᶈ ॲཧ׬ྃͷϨεϙϯεΛฦ٫ ᶉ ઃఆ׬ྃͷϝοηʔδΛ௨஌ ᶊ ઃఆ׬ྃͷϝοηʔδΛϨϯμϦϯά 13 ॲཧͷྲྀΕ
  6. ᶃ ʮετϥΠΫγϣοτʯͱڣͿ ᶄ "QQMF8BUDIͷ4JSJ͕Ի੠Λೝࣝ ᶅ 4JSJΛܦ༝ͯ͠ɺ J1IPOFʹΠϯετʔϧ͞Ε͍ͯΔ&MHBUP &WF͕ݺͼग़͞ΕΔɻ &MHBUP &WFʹࣄલొ࿥͞Ε͍ͯΔʮ

    ετϥΠΫγϣοτʯͱ͍͏ʮγʔϯʯ ͕࣮ߦ͞Εɺᶆͷ)PNFCSJEHFαʔόʹʮ 300.#"ͷిݯΛ0/ʯʹ͢Δͱ ͍͏ʮΞΫγϣϯʯΛϦΫΤετ ᶆ )PNFCSJEHFαʔό͕ʮΞΫγϣϯʯΛड͚औΓɺ IPNFCSJEHFSPPNCBΛ௨ͯ͠ɺ ᶇͷ3PPNCBʹNRUUͱ͍͏ϓϩτίϧͰɺ\`TUBUF``TUBSU`^Λ QVCMJTI ᶇ TUBSUϝοηʔδΛड৴ͨ͠3PPNCB͕૟আΛ։࢝ ᶈ ॲཧ׬ྃͷϨεϙϯεΛฦ٫ ᶉ ઃఆ׬ྃͷϝοηʔδΛ௨஌ ᶊ ઃఆ׬ྃͷϝοηʔδΛϨϯμϦϯά 14 ॲཧͷྲྀΕ
  7. ᶃ ʮετϥΠΫγϣοτʯͱڣͿ ᶄ "QQMF8BUDIͷ4JSJ͕Ի੠Λೝࣝ ᶅ 4JSJΛܦ༝ͯ͠ɺ J1IPOFʹΠϯετʔϧ͞Ε͍ͯΔ&MHBUP &WF͕ݺͼग़͞ΕΔɻ &MHBUP &WFʹࣄલొ࿥͞Ε͍ͯΔʮ

    ετϥΠΫγϣοτʯͱ͍͏ʮγʔϯʯ ͕࣮ߦ͞Εɺᶆͷ)PNFCSJEHFαʔόʹʮ 300.#"ͷిݯΛ0/ʯʹ͢Δͱ ͍͏ʮΞΫγϣϯʯΛϦΫΤετ ᶆ )PNFCSJEHFαʔό͕ʮΞΫγϣϯʯΛड͚औΓɺ IPNFCSJEHFSPPNCBΛ௨ͯ͠ɺ ᶇͷ3PPNCBʹNRUUͱ͍͏ϓϩτίϧͰɺ\`TUBUF``TUBSU`^Λ QVCMJTI ᶇ TUBSUϝοηʔδΛड৴ͨ͠3PPNCB͕૟আΛ։࢝ ᶈ ॲཧ׬ྃͷϨεϙϯεΛฦ٫ ᶉ ઃఆ׬ྃͷϝοηʔδΛ௨஌ ᶊ ઃఆ׬ྃͷϝοηʔδΛϨϯμϦϯά 15 ॲཧͷྲྀΕ
  8. ᶃ ʮετϥΠΫγϣοτʯͱڣͿ ᶄ "QQMF8BUDIͷ4JSJ͕Ի੠Λೝࣝ ᶅ 4JSJΛܦ༝ͯ͠ɺ J1IPOFʹΠϯετʔϧ͞Ε͍ͯΔ&MHBUP &WF͕ݺͼग़͞ΕΔɻ &MHBUP &WFʹࣄલొ࿥͞Ε͍ͯΔʮ

    ετϥΠΫγϣοτʯͱ͍͏ʮγʔϯʯ ͕࣮ߦ͞Εɺᶆͷ)PNFCSJEHFαʔόʹʮ 300.#"ͷిݯΛ0/ʯʹ͢Δͱ ͍͏ʮΞΫγϣϯʯΛϦΫΤετ ᶆ )PNFCSJEHFαʔό͕ʮΞΫγϣϯʯΛड͚औΓɺ IPNFCSJEHFSPPNCBΛ௨ͯ͠ɺ ᶇͷ3PPNCBʹNRUUͱ͍͏ϓϩτίϧͰɺ\`TUBUF``TUBSU`^Λ QVCMJTI ᶇ TUBSUϝοηʔδΛड৴ͨ͠3PPNCB͕૟আΛ։࢝ ᶈ ॲཧ׬ྃͷϨεϙϯεΛฦ٫ ᶉ ઃఆ׬ྃͷϝοηʔδΛ௨஌ ᶊ ઃఆ׬ྃͷϝοηʔδΛϨϯμϦϯά 16 ॲཧͷྲྀΕ
  9. ᶃ ʮετϥΠΫγϣοτʯͱڣͿ ᶄ "QQMF8BUDIͷ4JSJ͕Ի੠Λೝࣝ ᶅ 4JSJΛܦ༝ͯ͠ɺ J1IPOFʹΠϯετʔϧ͞Ε͍ͯΔ&MHBUP &WF͕ݺͼग़͞ΕΔɻ &MHBUP &WFʹࣄલొ࿥͞Ε͍ͯΔʮ

    ετϥΠΫγϣοτʯͱ͍͏ʮγʔϯʯ ͕࣮ߦ͞Εɺᶆͷ)PNFCSJEHFαʔόʹʮ 300.#"ͷిݯΛ0/ʯʹ͢Δͱ ͍͏ʮΞΫγϣϯʯΛϦΫΤετ ᶆ )PNFCSJEHFαʔό͕ʮΞΫγϣϯʯΛड͚औΓɺ IPNFCSJEHFSPPNCBΛ௨ͯ͠ɺ ᶇͷ3PPNCBʹNRUUͱ͍͏ϓϩτίϧͰɺ\`TUBUF``TUBSU`^Λ QVCMJTI ᶇ TUBSUϝοηʔδΛड৴ͨ͠3PPNCB͕૟আΛ։࢝ ᶈ ॲཧ׬ྃͷϨεϙϯεΛฦ٫ ᶉ ઃఆ׬ྃͷϝοηʔδΛ௨஌ ᶊ ઃఆ׬ྃͷϝοηʔδΛϨϯμϦϯά 17 ॲཧͷྲྀΕ
  10. ᶃ ʮετϥΠΫγϣοτʯͱڣͿ ᶄ "QQMF8BUDIͷ4JSJ͕Ի੠Λೝࣝ ᶅ 4JSJΛܦ༝ͯ͠ɺ J1IPOFʹΠϯετʔϧ͞Ε͍ͯΔ&MHBUP &WF͕ݺͼग़͞ΕΔɻ &MHBUP &WFʹࣄલొ࿥͞Ε͍ͯΔʮ

    ετϥΠΫγϣοτʯͱ͍͏ʮγʔϯʯ ͕࣮ߦ͞Εɺᶆͷ)PNFCSJEHFαʔόʹʮ 300.#"ͷిݯΛ0/ʯʹ͢Δͱ ͍͏ʮΞΫγϣϯʯΛϦΫΤετ ᶆ )PNFCSJEHFαʔό͕ʮΞΫγϣϯʯΛड͚औΓɺ IPNFCSJEHFSPPNCBΛ௨ͯ͠ɺ ᶇͷ3PPNCBʹNRUUͱ͍͏ϓϩτίϧͰɺ\`TUBUF``TUBSU`^Λ QVCMJTI ᶇ TUBSUϝοηʔδΛड৴ͨ͠3PPNCB͕૟আΛ։࢝ ᶈ ॲཧ׬ྃͷϨεϙϯεΛฦ٫ ᶉ ઃఆ׬ྃͷϝοηʔδΛ௨஌ ᶊ ઃఆ׬ྃͷϝοηʔδΛϨϯμϦϯά 18 ॲཧͷྲྀΕ
  11. 22 Ոఉ಺*P5ͷεεϝ IUNM 1VH FKT DTT TBTT QPTUDTT #&. 00$44

    4."$44  K2VFSZ 7VFKT 3FBDUKT .BSJPOFUUFKT 8FCQBDL (VMQ (SVOU "UPN 4VCMJNF5FYU Visual Studio Code, +FOLJOT 4MBDL +JSB $ISPNF 4BGBSJʜ /PEFKT $PGGFFTDSJQU &4 &TMJOU  )PNF,JU 3BTQCFSSZ1J 4JSJ 4MBDL"1* Incoming Webhooks, IVCPU /QN (JU)VC )FSPLV 7JN 4IFMM4DSJQU J5FSN 3PPNCB )VF .JDSPCPUQVTI *3,JUʜ ීஈͷۀ຿ྖҬ Ոఉ಺*P5ͷྖҬ