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

2023/07/13 NOT A HOTEL Talk #08 Smarthome

2023/07/13 NOT A HOTEL Talk #08 Smarthome

《エンジニア向け》新時代のホテル運営システム(PMS)・スマートホームのゼロイチ開発舞台裏|NOT A HOTEL TALK#08
Event URL: https://notahoteltalk8.peatix.com/

▽NOT A HOTEL のスマートホームをつくってみた話
https://note.com/wakinchan/n/n3af6dc2088f2

新時代のホーム体験:スマートホーム、PMS、メインアプリの協働:黒岩 裕輔(Software Engineer)

Yusuke Kuroiwa

July 13, 2023
Tweet

More Decks by Yusuke Kuroiwa

Other Decks in Technology

Transcript

  1. - @wa_kinchan - 2020/12 ೖࣾ - ࠷ۙ͸ओʹ SmartHome - Backend,

    Infra, Network, iOS - KNX Partner 2 Yusuke KUROIWA ME
  2. 11

  3. HomeController iPad / Web Smarthome ͷγεςϜߏ੒ Logic Machine On Premise

    NOT A HOTEL Smarthome Cloud service MainApp / PMS iOS / Web 13
  4. Ϋϥ΢υͱΦϯϓϨͷͦΕͧΕ໾ׂ 14 Logic Machine On Premise NOT A HOTEL Smarthome

    Cloud service HomeController iPad / Web Φʔτϝʔγϣϯ ෳ਺ίϚϯυͷϋϯυϦϯά MainApp / PMS iOS / Web ܯใɾҟৗͷ؂ࢹɾϋϯυϦϯά VPN ϩάͷऔಘͱอଘ ίϚϯυͷड৴ ઀ଓػثͷ੍ޚ ϑΟʔυόοΫͷૹ৴ ػثঢ়ଶͷऔಘ ϑΟʔυόοΫͷૹ৴
  5. UniFi Dream Machine Pro Router smarthome-app-api Cloud Run VPN Cloud

    VPN smarthome-reciver-apigw Cloud Run main-app-api Cloud Run Smarthome ͷγεςϜߏ੒ 15 IPSec VPN Devices On Premise KNX/EIB Database Cloud Spanner Feedback Google Cloud Platform HomeController
 iPad / Web gRPC REST MainApp iOS / Web Dnsmasq DNS DHCP server Logic Macghine KNX server PMS
 Web smarthome-internal-api Cloud Run gRPC REST operation-app-api Cloud Run REST Firebase Auth Authentication Others: BigQuery / Tasks / Scheduler / Run Jobs / Logging / Error reporting Command
  6. 17 - PO / Design 1໊ CXO - PdM 1໊

    - iOS 2໊ - Backend / Web / ઃඋ 1໊ - Backend / Infra 1໊ - Backend / ઃඋ / ԿͰ΋܎ 1໊ ࢲ ։ൃϝϯόʔ 7໊ εϚʔτϗʔϜͷ։ൃମ੍ εϚʔτϗʔϜνʔϜΈΜͳͰ KNXύʔτφʔࢿ֨Λऔಘ͓ͨ͠ॕ͍ͷֆ
  7. 18 - ݈߁తʹຖே9࣌νʔϜͰேձ - εϓϦϯτ͸2ि - ຖिՐ༵೔ʹάϧʔϛϯά - ZenHub ͰΧϯόϯ؅ཧ

    - iOS ϦϦʔε͸ݪଇ2िʹҰճ - API / Infra ϦϦʔε͸దٓ ि2ճఔ౓ εΫϥϜΆ͍։ൃ εϚʔτϗʔϜͷ։ൃମ੍
  8. 19 - εϚʔτϗʔϜγεςϜ࣮૷ - αʔϏεؒ࿈ܞ։ൃ - Lifecycle ؍఺ͷઃඋෆྑʹର͢ΔରԠ - ͓٬༷ɾӡӦ͔Βͷ্͕Δ

    FB վળ - ݐஙͷجຊઃܭ͔࣌Βઃඋͷཁ݅ௐ੔ - KNX ͷ࢓༷ઃܭɾ࣮૷ - ཁ࣮݅ݱͷͨΊͷػثબఆؚΉௐࠪ - ωοτϫʔΫ࿦ཧઃܭɾઃஔ ϦΞϧͱີ઀ͨ͠ۀ຿ εϚʔτϗʔϜͷ೔ৗۀ຿
  9. 20 - εϚʔτϗʔϜγεςϜ࣮૷ - αʔϏεؒ࿈ܞ։ൃ - Lifecycle ؍఺ͷઃඋෆྑʹର͢ΔରԠ - ͓٬༷ɾӡӦ͔Βͷ্͕Δ

    FB վળ - ݐஙͷجຊઃܭ͔࣌Βઃඋͷཁ݅ௐ੔ - KNX ͷ࢓༷ઃܭɾ࣮૷ - ཁ࣮݅ݱͷͨΊͷػثબఆؚΉௐࠪ - ωοτϫʔΫ࿦ཧઃܭɾઃஔ ϦΞϧͱີ઀ͨ͠ۀ຿ εϚʔτϗʔϜͷ೔ৗۀ຿
  10. - ݖݶ͕͋ΔϢʔβʔͷΈɺ
 ϋ΢εͷղৣ͕Ͱ͖Δ - ਗ਼૟ɾΠϯεϖΫγϣϯ࣌ͷղৣ - ͓٬༷ͷϋ΢εҊ಺࣌ͷղৣ - ఺ݕɾ޻ࣄ౳ʹΑΔղৣ -

    ղৣϩά͸ Slack ௨஌ - Operation API 㲗 Smarthome API Ͱ࣮ݱ - ࠓޙ͸ϚϯγϣϯܕͷҊ݅͸ɺΤϨϕʔ λʔͳͲ΋ૢ࡞ՄೳʹͳΔ༧ఆ 22 ӡӦελοϑ޲͚ʹղৣػೳΛఏڙ PMS ͱεϚʔτϗʔϜ
  11. UniFi Dream Machine Pro Router smarthome-app-api Cloud Run VPN Cloud

    VPN smarthome-reciver-apigw Cloud Run main-app-api Cloud Run Operation API 㲗 Smarthome API Ͱ࣮ݱ 23 IPSec VPN Devices On Premise KNX/EIB Database Cloud Spanner Feedback Google Cloud Platform HomeController
 iPad / Web gRPC REST MainApp iOS / Web Dnsmasq DNS DHCP server Logic Macghine KNX server PMS
 Web smarthome-internal-api Cloud Run gRPC REST operation-app-api Cloud Run REST Firebase Auth Authentication Others: BigQuery / Tasks / Scheduler / Run Jobs / Logging / Error reporting Command
  12. UniFi Dream Machine Pro Router smarthome-app-api Cloud Run VPN Cloud

    VPN smarthome-reciver-apigw Cloud Run main-app-api Cloud Run Main API 㲗 Smarthome API Ͱ࣮ݱ 25 IPSec VPN Devices On Premise KNX/EIB Database Cloud Spanner Feedback Google Cloud Platform HomeController
 iPad / Web gRPC REST MainApp iOS / Web Dnsmasq DNS DHCP server Logic Macghine KNX server PMS
 Web smarthome-internal-api Cloud Run gRPC REST operation-app-api Cloud Run REST Firebase Auth Authentication Others: BigQuery / Tasks / Scheduler / Run Jobs / Logging / Error reporting Command
  13. ݱࡏ։ൃத - MainApp ͔ΒϗʔϜίϯτϩʔϧͱςεϥͷ ༧໿ͱૢ࡞ ίϯτϩʔϧ෦͸ Web Ͱ։ൃ - Android

    ΞϓϦΛ0͔Β։ൃதͷͨΊ - Smarthomeͷࡉ͔͍ཁ݅ΛϓϥοτϑΥʔϜ ͕૿͑Δͱ؅ཧ޻਺ͱ͕૿Ճ͢ΔͨΊ 27 ͓٬༷ͷεϚϗͰ͢΂ͯΛίϯτϩʔϧ MainApp ͱεϚʔτϗʔϜ
  14. ͢΂ͯͷػثϩάΛ֬ೝͰ͖Δ - ૢ࡞ϩά (COMMAND) - ϑΟʔυόοΫϩά (FEEDBACK) ֬ೝ - ਖ਼͘͠ػث͕ಈ࡞͍ͯ͠Δ͔֬ೝ

    - Lifecycle Management Ͱػثͷϩάௐࠪ - ఀిࢼݧ౳Ͱར༻ 31 ػثͷϩά σʔλ׆༻