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

ついにiPaaSでobnizが動くかも?! #iotlt #pipedream #obniz

n0bisuke
August 22, 2023

ついにiPaaSでobnizが動くかも?! #iotlt #pipedream #obniz

IoTLT vol102での発表 https://iotlt.connpass.com/event/292204/

n0bisuke

August 22, 2023
Tweet

More Decks by n0bisuke

Other Decks in How-to & DIY

Transcript

  1. *P5-5
    ͍ͭʹJ1BB4ͰPCOJ[͕ಈ͔͘
    ੁݪͷͼ͚͢
    !OCJTVLF

    View full-size slide

  2. ੁݪͷͼ͚͢
    ɾϓϩτλΠϐϯάઐ໳εΫʔϧʮϓϩτΞ΢τελδΦʯ
    σδλϧϋϦ΢ουେֶେֶӃඇৗۈߨࢣϓϩμΫτϓϩτλΠϐϯά*
    ɾݸਓ׆ಈ
    *P5-5ʢࠃ಺࠷େͷ*P5ίϛϡχςΟʣ
    -*/&"1*&YQFSU.JDSPTPGU.71*#.$IBNQJPO
    ࡢ೥·ͰࣾձษڧͰډञ԰ཆ࿝೫୍ͰΞϧόΠτ
    OPCJTVLFTVHBXBSB

    View full-size slide

  3. ϋΠίϯςΫετͳωλΛ΍Δ͜ͱ͕ଟ͍
    .6TFS(SPVQγϟτϧϥϯͰരࢮͨ͠
    ڈ೥ͷ(8

    View full-size slide

  4. .4UBDLͷϢʔβʔձͰൃද͖ͯͨ͠ɻ
    ຊՈδϛʔࢯΛҙࣝͯ͠ӳޠ஫ऍ͍Εͯ
    .PTUGBNPVT"EWFSUJTJOH3PCPUJO+BQBOʜ

    View full-size slide

  5. ϋʔυ΋ιϑτ΋Ͳͬͪ΋୹ظؒͰ΍Γ͍ͨ
    ˣ
    +BWB4DSJQU /PEFKT
    Ͱ΍Ε͹͍͚Δʁ
    ˣ
    -*/&#PUͱPCOJ[Λ࢖ͬͯ*P5΍Δ
    ϓϩτΞ΢τελδΦͷΧϦΩϡϥϜʹͯ

    View full-size slide

  6. ϋʔυ΋ιϑτ΋Ͳͬͪ΋୹ظؒͰ΍Γ͍ͨ
    ˣ
    +BWB4DSJQU /PEFKT
    Ͱ΍Ε͹͍͚Δʁ
    ˣ
    -*/&#PUͱPCOJ[Λ࢖ͬͯ*P5΍Δ
    ϓϩτΞ΢τελδΦͷΧϦΩϡϥϜʹͯ
    ˞.4UBDLܥ΍"SEVJOPܥ͸1$ݻ༗ͷϋʔυ΢ΣΞτϥϒϧʢॻ͖ࠐ
    Έ΍ιϑτΠϯετʔϧͳͲʣ͕ଟͯ͘तۀͰ͸࠾༻ͯ͠ͳ͍Ͱ͢ɻ

    View full-size slide

  7. -*/&#PUͱPCOJ[
    -*/&#PU
    ݱঢ়/PEFKT
    J1BB4ͷ୆಄Ͱϊʔίʔυ࣮૷͕݁ߏ΍ΕΔΑ͏ʹͳ͖ͬͯͨ
    ͋ͱ("4Ͱ΋࡞ΕͨΓ͢Δ
    PCOJ[
    ݱঢ়/PEFKT
    8FC4PDLFU͕ඞཁʢѥྲྀͰ3&45࢖ͬͯ৘ใऔಘͬΆ͍ͷ͸͋ΔΆ͍͕ ʣ
    J1BB4΍("4͸8FC4PDLFU͕࢖͑ͳ͍

    View full-size slide

  8. ๻͸ͣͬͱࢥͬͯ·ͨ͠

    View full-size slide

  9. ๻͸ͣͬͱࢥͬͯ·ͨ͠
    J1BB4 ΍("4
    Ͱ-*/&#PUͱPCOJ[΍Εͳ͍͔ͳʔ
    ("4ʹؔͯ͠͸ݕূͨ͜͠ͱ͋Γ·͕͢ɺ8FC4PDLFU࢖͑ͣμϝͰͨ͠

    View full-size slide

  10. ๻͸ͣͬͱࢥͬͯ·ͨ͠
    ͦΖͦΖ/PEFKT͔Βղ์͞Ε͍ͨ
    ʢೖ໳ऀʹ͓͍ͯʣ

    View full-size slide

  11. 1JQFESFBN͕Ξπ͍
    J1BB4ͱ͍͏جຊϊʔίʔυͳ؀ڥ͚ͩͲ/PEFKTͳͲ͕࢖͑·͢

    View full-size slide

  12. 1JQFESFBNͷίʔυϒϩοΫ
    جຊ͸ϊʔίʔυͰίʔυ͕ॻ͚ΔϒϩοΫ΋͋Δ
    /PEFKTϒϩοΫ
    /PEF3&%ͷ'VODUJPOϊʔυJTI

    View full-size slide

  13. PCOJ[ΛQJQFESFBNͰ࢖͏࣮ݧ
    ͱ͍͏͜ͱͰ

    View full-size slide

  14. OQNϞδϡʔϧ΋࢖͑ͦ͏
    ϫʔΫϑϩʔ͕࣮ߦ͞ΕΔͱSVO
    ͷத͕ݺͼग़͞ΕΔ࢓૊ΈͬΆ͍

    View full-size slide

  15. SVO
    ͷதύλʔϯ
    ͍͚ͨײ͕͢͡Δ
    ݁ߏෆ҆ఆ͚ͩͲ

    View full-size slide

  16. %&.0͍͚ͨΒ͢Δ

    View full-size slide

  17. SVO
    ͷ֎ύλʔϯ
    ͍͚Δͱ͖ͱ͍͚ͳ͍ͱ͖͕͋ͬͯڍಈ͕Ṗɻ
    ࢼ͍ͯͯ͠ΫϨδοτ͕੾Εͨʜ

    View full-size slide

  18. -*/&#PUͷ࣮૷Λͯ͠Έͨ
    "ϦϓϥΠύλʔϯ
    #ϓογϡ௨஌ύλʔϯ
    ໰͍߹Θͤ
    ϦϓϥΠϝοηʔδ
    ϓογϡϝοηʔδ
    εϚϗ -*/&
    ͔Βͷݺͼग़͠ʹηϯαͷ஋Λऔಘ PCOJ[

    ݺͼग़͕͋ͬͨ͠ॠ͚ؒͩPCOJ[ʹΞΫηεͯ͠৘ใऔಘͰ͖ͨ
    ෆ҆ఆಈ͔ͳ͘΋ͳ͍
    1JQFESFBNͰ΋ಈ͘˚ɻ3VO
    ͷதʹॲཧΛॻ͘
    ηϯαͷ஋ʹԠͯ͡ PCOJ[
    ɺεϚϗʹ௨஌ -*/&

    ηϯαΛৗʹ؂ࢹ͢Δඞཁ͕͋ΓɺΫϨδοτ໰୊͋Δ͔΋
    ෆ҆ఆ
    1JQFESFBNͰ΋ಈ͘˚ɻ3VO
    ͷ֎ʹॲཧΛॻ͘ɻ
    ˚ ग़དྷΔ͚ͲΫϨδοτո͍͠

    ˚ ग़དྷΔ͚Ͳෆ҆ఆ

    View full-size slide

  19. 8FCIPPLड͚Δ
    ͜ͷҰॠ͚ͩPCOJ[ʹΞΫηε
    -*/&3FQMZ.FTTBHF
    "ϦϓϥΠύλʔϯͷॲཧΠϝʔδ

    View full-size slide

  20. ࢼͯ͠ͳ͍͚Ͳ͜͏͍͏ͷݫ͍͔͠΋
    "ϦϓϥΠύλʔϯ
    ໰͍߹Θͤ
    ϦϓϥΠϝοηʔδ
    ͋Δఔ౓ͷ௕͍ॲཧΛϦΫΤετ
    ͋Δఔ౓ͷ௕͍ॲཧͷ׬ྃΛ଴ͬͯ݁ՌΛฦ͢
    ྫ͑͹ਫ΍Γͯ͠ɺ׬ྃޙʹ࣪౓Λऔಘ
    "ͷύλʔϯͩͱແྉͰγϡοͱ΍Εͦ͏͚ͩͲɺ
    ͪ͜Βͩͱ௕࣌ؒͷॲཧ͕೉͍͔͠΋͠Εͳ͍ɻ
    ʢ݁Ռ͕Ͳ͏ͳͬͯ΋஌ΒΜͬͯײ͡ͳΒϦΫΤετͳ͛ͬͺͳ͠΋͍͚ͦ͏ʣ

    View full-size slide

  21. ͦͷଞɺࣃᙱ͍ͱ͜Ζ
    ṖΤϥʔ͕ͨ·ʹ͋Δ
    ͪΐͬͱΑ͘Θ͔ͬͯͳ͍
    PCOJ[POMPPQ
    ΍PCOJ[PODPOOFDU
    ͕SVO
    ͷ֎ͩͱո͍͔͠΋
    ผͷ΍Γํ·͍͚ͩΔ͔΋ʜ
    ىಈςετ݁Ռ͕෼͔Δ·Ͱ͕஗ͯ͘σόοά଎౓͕஗͍ʜ

    View full-size slide

  22. J1BB4ͰPCOJ[ ిࢠ޻࡞
    ͕࢖͑Δͱ͍ͬͨྲྀΕ͕Ͱ͖Δ͔΋ʁ
    ·ͱΊ
    ݶఆతͰ׬ᘳͰ͸ͳ͍͚Ͳɺ1JQFESFBNͰPCOJ[࢖͑zͦ͏z͔΋ʜ ո͍͠

    ΫϨδοτ%":ͷ੍ݶ͕ͲΜͳ΋Μͳͷ͔Λ·ͩࢼͤͯͳ͍ͷͰ
    ͪΌΜͱ࢖͑Δ ྫ͑͹ϲ݄͘Β͍ಈ͍ͯ͘ΕΔ͔ͳͲ
    ͔͸·ͩෆ໌
    44&ͳͲαʔόʔଆ͔Β1VTIͤ͞Δ࢓૊Έ͸ରԠͯͦ͠͏ͩͬͨΓɺ·ͩ
    ·ͩԞ͕ਂͦ͏ͳͷͰΈͳ͞Μ΋ͥͻ৮ͬͯ৘ใڞ༗͓ئ͍͠·͢

    ͏·͍͚͘͹

    View full-size slide