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

BitBar で快適な生活

BitBar で快適な生活

森井ゴンザレス

February 11, 2017
Tweet

More Decks by 森井ゴンザレス

Other Decks in How-to & DIY

Transcript

  1. ࡞ͬͯΈ·ͨ͠ • ๭ϙʔλϧαΠτͷ࣌ࠁදΛεΫϨΠ ϐϯά • pup ͱ jq Λ࢖ͬͯσʔλΛ JSON

    Խ • Go Ͱ࡞ͬͨϓϩάϥϜͰඪ४ग़ྗʹ ৐Δ΂͖ిंΛॻ͖ग़͠ • BitBar Ͱදࣔ © morygonzalez
  2. ػೳ • ຖ෼࣮ߦ • λΠϚʔͳͷͰຖ෼ݺͼग़͞ͳ͍ͱҙຯ͕ͳ͍ • ໎࿭Λ͔͚ͳ͍Α͏ʹ࣌ࠁදΛΩϟογϡ • 14 ࣌Λڥʹߦ͖ͱؼΓͷ࣌ࠁදΛࣗಈ੾Γସ͑

    • ग़͙ࣾͯ͢͠ؼΓͨ͘ͳͬͯ΋࣌ࠁදΛௐ΂ΒΕͳ͍ • ༵೔൑ఆ • ฏ೔ʹٳ೔ͷ࣌ࠁΛදࣔ͠ͳ͍ © morygonzalez
  3. ศར IoT σόΠε • Netatmo Weather Station • ԰಺ɺ԰֎ͷԹ౓Λଌͬͯڭ͑ͯ͘Ε Δ

    • ؾԹ΍ೋࢎԽ୸ૉೱ౓͕ҰఆҎ্ɾҎ ԼʹͳͬͨΒܞଳʹ Push ௨஌ͯ͘͠ ΕͨΓ͢Δ • ͱʹ͔͘࠷ߴศར ! © morygonzalez
  4. ࡞ͬͯΈ·ͨ͠ • ࣗ࡞ͷ Ruby ੡ Netatmo API ΫϥΠΞ ϯτͰ Netatmo

    ͷ API Λୟ͘ • औಘͨ͠৘ใΛඪ४ग़ྗʹॻ͖ग़͠ • BitBar Ͱදࣔ © morygonzalez