Slide 1

Slide 1 text

kishikawa katsumi Ոͷ͍Ζ͍Ζͳ਺஋Λܭଌ͢Δ ͓͏ͪHackษڧձ

Slide 2

Slide 2 text

Ոͷ͍Ζ͍Ζͳ਺஋Λܭଌ͢Δ • Թ౓ɾ࣪౓ • ೋࢎԽ୸ૉೱ౓ • ిྗ • ωοτϫʔΫ଎౓ • Etc

Slide 3

Slide 3 text

ܭଌͱ͸ • ܭଌػثΛങ͖ͬͯͯோΊΔ

Slide 4

Slide 4 text

͓͏ͪHackΒ͍͠ܭଌͱ͸ • ܭଌػثΛങ͖ͬͯͯோΊΔ • ܭଌػث͔ΒσʔλΛʢܧଓతʹʣऔಘ͢Δ • ूܭͯ͠ϏδϡΞϥΠζͨ͠Γɺ͋Δᮢ஋ʹୡͨ͠Β௨஌͢ΔɺͳͲ

Slide 5

Slide 5 text

໨࣍ • ؅ཧର৅͝ͱͷܭଌػثͷ঺հ • ͦΕͧΕͷܭଌػث͔ΒσʔλΛऔΓग़͢ํ๏ʹ͍ͭͯ • σʔλΛϏδϡΞϥΠζɾ࿈ܞ͢Δํ๏ʹ͍ͭͯ

Slide 6

Slide 6 text

• Թ౓ܭɾ࣪౓ܭ • CO2ηϯαʔ • ిྗεϚʔτϝʔλʔ ܭଌػثͷྫ

Slide 7

Slide 7 text

Թ౓ܭɾ࣪౓ܭ

Slide 8

Slide 8 text

https://www.switchbot.jp/products/switchbot-meter

Slide 9

Slide 9 text

https://www.switchbot.jp/products/switchbot-meter

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

https://qiita.com/warpzone/items/11ec9bef21f5b965bce3

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

https://ja.mackerel.io/

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

ࢲͷ͓͏ͪHackͷํ๏·ͱΊ • ܭଌػث͔ΒBluetooth LEɺϩʔΧϧωοτϫʔΫɺΠϯλʔωοτɺγϦΞ ϧ઀ଓͳͲͷखஈʹΑΓσʔλΛऔಘͯ͠ɺ ʢSwitchBotԹ࣪౓ܭ͸BLE·ͨ͸SwitchBot Hubܦ༝ͰऔΕΔʣ • σʔλΛ஝ੵʢͳΜͰ΋Α͍͕࣌ܥྻDB͕ศརʣ͠ɺ • ՄࢹԽͨ͠ΓࣗಈԽͷτϦΨʔΛઃఆͨ͠Γ͢Δ

Slide 20

Slide 20 text

• Raspberry PiͰBLE·ͨ͸ϩʔΧϧωοτϫʔΫܦ༝ͰσʔλΛऔಘ͢Δॲཧ Λఆظతʹಈ͔͢ʢ̑ඵ͝ͱ͘Β͍ʣ • σʔλ͸Mackerelʹૹ৴ • MackerelͷAPIΛ࢖͏ΫϥΠΞϯτΛ࡞੒ͯ͠ՄࢹԽͨ͠ΓɺPush௨஌Λૹͬ ͨΓɺผͷॲཧΛىಈͨ͠Γ͢Δ ࢲͷ͓͏ͪHackͷํ๏·ͱΊ

Slide 21

Slide 21 text

ͦͷଞͷબ୒ࢶ • Grafana (https://grafana.com/) • In fl uxDB (https://www.in fl uxdata.com/)

Slide 22

Slide 22 text

https://twitter.com/koizuka/status/1364473534852988928

Slide 23

Slide 23 text

https://twitter.com/sumihiro/status/1374528756837085185

Slide 24

Slide 24 text

https://twitter.com/_yyu_/status/1260935186717437952

Slide 25

Slide 25 text

Raspberry Piͷೖखੑʹ͍ͭͯ • 2022೥5݄ݱࡏɺRaspberry Pi͸൒ಋମෆ଍ͳͲͷӨڹʹΑΓ؆୯ʹೖखͰ͖ͳ͘ͳͬ ͍ͯ·͢ɻʢ͓ۚΛੵΜͰ΋೉͍͠ʣ • ಉ༷ͷ͜ͱΛ͢Δ৔߹͸Raspberry Piޓ׵ػʢ͜Ε΋५୔ͱ͸ݴ͑ͳ͍͕ʣΛݕ౼͢Δ ͷ΋Α͍͔΋͠Εͳ͍ • https://ameblo.jp/electromagneticgadgetlab/entry-12634750472.html • ΋͘͠͸NASͰDockerͳͲΛಈ͔͢ͱ͍͏ख΋͋Γ·͢ɻʢ࠷ۙͷNAS͸ී௨ʹߴੑ ೳͳৗ࣌ىಈ͍ͯ͠Δίϯϐϡʔλͱͯ͠࢖͑Δʣ • SynologyɺQNAPͳͲ

Slide 26

Slide 26 text

CO2ηϯαʔʢೋࢎԽ୸ૉೱ౓ʣ

Slide 27

Slide 27 text

CO2ηϯαʔΛબͿࡍͷ஫ҙ • ݕ஌ݪཧ͕ޫֶࣜʢNDIRηϯαʔʣΛ༻͍ͨ΋ͷͰ͋Δ͜ͱ • NDIRηϯαʔ͸TVOCํࣜʹൺ΂ͯߴՁͳͷͰ҆Ձͳ੡඼ʢ2ʙ3,000ԁʁʣ ʹ͸࢖ΘΕͳ͍ɻ • ৽ܕίϩφ΢ΠϧεରࡦͰ҆ՁͰૈѱͳCO2ϝʔλʔ͕൙ཞ͍ͯ͠ΔͨΊɺ TVOCํࣜͰਖ਼͘͠࢖༻Ͱ͖Δ੡඼Λݟ͚ͭΔ͜ͱ͸ඇৗʹࠔ೉ɻ ʢࢀߟʣhttps://www.meti.go.jp/covid-19/guideline.pdf

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

https://www.kk-custom.co.jp/emp/CO2-mini.html

Slide 30

Slide 30 text

https://www.netatmo.com/en-gb/weather/weatherstation

Slide 31

Slide 31 text

https://www.getawair.com/

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

https://r-kurain.hatenablog.com/entry/2016/01/26/164648

Slide 34

Slide 34 text

https://r-kurain.hatenablog.com/entry/2016/01/26/164648

Slide 35

Slide 35 text

• ҆Ձ͗͢Δ΋ͷ͸ආ͚Δʢͦ΋ͦ΋ɺηϯαʔࣗମͷՁ͕֨ͦͦ͜͜͢ΔͷͰ7,000 ԁʙ͕·ͱ΋ͳ΋ͷͩͱࢥΘΕΔɻʣ • ޫֶࣜʢNDIRʣηϯαʔΛ࢖͏ɻʢબఆʹ͍ͭͯΑΓৄ͘͠͸ް࿑ল౳ͷ৘ใΛࢀ ߟʹʣ • ̍ສԁҎԼ͘Β͍ͷग़අͰࡁ·͢ʹ͸͚ͬ͜͏ࣗ෼Ͱ͍Ζ͍Ζ࡞Δඞཁ͕͋Δɻશ ෦ೖΓͷ੡඼ʢAwairͳͲʣΛങ͏ͷ͕؆୯͕ͩ̎ʙ̏ສ͘Β͍͔͔Δɻ • CO2͸ҙ֎ͱ্͙͕͢ΔͷͰɺHack͠ͳͯ͘΋ܭଌػثΛങͬͯݟ͑Δͱ͜Ζʹஔ ͍͓͚ͯͩ͘Ͱ΋໾ཱͭɻ CO2ηϯαʔʹ͍ͭͯ·ͱΊ

Slide 36

Slide 36 text

ిྗεϚʔτϝʔλʔ

Slide 37

Slide 37 text

https://www.tepco.co.jp/pg/consignment/liberalization/smartmeter-broute.html

Slide 38

Slide 38 text

https://www.tepco.co.jp/pg/consignment/liberalization/smartmeter-broute.html

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

https://www.tessera.co.jp/rl7023stick-d_ips.html https://www.chip1stop.com/view/dispDetail/DispDetail?partId=TSRA-0000042

Slide 41

Slide 41 text

https://qiita.com/puma_46/items/9dfc27323674641ed5b4

Slide 42

Slide 42 text

https://qiita.com/puma_46/items/9dfc27323674641ed5b4

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

Nature Remo E https://nature.global/nature-remo-e/

Slide 45

Slide 45 text

AiSEG2ʢHOME IoTʣ https://sumai.panasonic.jp/aiseg/hems/index.html

Slide 46

Slide 46 text

• ݱࡏɺిྗܭ͸εϚʔτϝʔλʔʹஔ͖׵Θ͍ͬͯͯॠ࣌ిྗͳͲͷ৘ใ͕औಘͰ͖Δɻ • εϚʔτϝʔλʔͷΞΫηεʹ͸ʮBϧʔτʯαʔϏεͷਃ͠ࠐΈ͕ඞཁɻ̎िؒ͘Β͍͔͔ΔͷͰ࢖ Θͳͯ͘΋ͱΓ͋͑ͣਃ͠ࠐΜͰ͓͜͏ɻ • ·ͩࣗ୐ͷిྗܭ͕εϚʔτϝʔλʔʹͳͬͯͳ͍৔߹΋BϧʔτΛਃ͠ࠐΊ͹εϚʔτϝʔλʔʹஔ ׵͞ΕΔɻ • εϚʔτϝʔλʔ΁ͷΞΫηε͸໘౗ͩ͠ϓϩτίϧʹৄ͘͠ͳΔར఺΋ͳ͍͠ɺࣗ෼Ͱ΍ͬͯ΋େ͠ ͯ҆͘ͳΒͳ͍ͷͰɺͨͿΜ੡඼Λങ͏ͷ͕Φεεϝɻ͔͠͠εϚʔτϝʔλʔΛಡΉ੡඼ͷબ୒ࢶ͸ ͦΜͳʹͳ͍ɻ • ిྗফඅͷ࠷దԽ͸શମͷ༰ྔͷଞʹճ࿏ͷ༰ྔ΋͋ͬͯશମΛܭଌͯ͠΋ճ࿏ਤ͕ͳ͚Ε͹ͦͦ͜͜ ໘౗ɻͦͷؾʹͳΕ͹໾ཱ͚ͭͲझຯͷྖҬͰ͋Δɻ ిྗεϚʔτϝʔλʔʹ͍ͭͯ·ͱΊ

Slide 47

Slide 47 text

• ܭଌ͸͓͏ͪHackͷجૅɻ͔ͦ͜ΒࣗಈԽͨ͠Γ͍Ζ͍Ζͳ࿈ܞʹͭͳ͕Δɻ • ܭଌػثͷબ୒͸؆୯Ͱ͸ͳ͍ɻࢲ͸কདྷʹΘͨͬͯσʔλΛࣗ෼ͰऔಘͰ͖Δ ͔Ͳ͏͔Λॏࢹ͍ͯ͠Δɻ • API͕༻ҙ͞Ε͍ͯΔ੡඼΋࠷ۙ͸ଟ͍ɻඅ༻͕ग़ͤΔͳΒΦεεϝɻ • ϑϩϯτͷUIʹظ଴͠ͳ͍ɻՈిϝʔΧʔʢ͋Δ͍͸SwitchBotͳͲͰ͋ͬͯ ΋ʣ͕࡞ΔUIͷ඼࣭͸ߴ͘ͳ͍ɻͦ΋ͦ΋ສਓʹదͨ͠UI͸ͳ͍ɻ • ϑϩϯτΛࣗ෼Ͱॻ͘ͱָ͍͠͠ศརͳ΋ͷ͕Ͱ͖Δɻ શମͷ·ͱΊ

Slide 48

Slide 48 text

• ܭଌ͸͓͏ͪHackͷجૅɻ͔ͦ͜ΒࣗಈԽͨ͠Γ͍Ζ͍Ζͳ࿈ܞʹͭͳ͕Δɻ • ܭଌػثͷબ୒͸؆୯Ͱ͸ͳ͍ɻࢲ͸কདྷʹΘͨͬͯσʔλΛࣗ෼ͰऔಘͰ͖Δ ͔Ͳ͏͔Λॏࢹ͍ͯ͠Δɻ • API͕༻ҙ͞Ε͍ͯΔ੡඼΋࠷ۙ͸ଟ͍ɻඅ༻͕ग़ͤΔͳΒΦεεϝɻ • ϑϩϯτͷUIʹظ଴͠ͳ͍ɻՈిϝʔΧʔʢ͋Δ͍͸SwitchBotͳͲͰ͋ͬͯ ΋ʣ͕࡞ΔUIͷ඼࣭͸ߴ͘ͳ͍ɻͦ΋ͦ΋ສਓʹదͨ͠UI͸ͳ͍ɻ • ϑϩϯτΛࣗ෼Ͱॻ͘ͱָ͍͠͠ศརͳ΋ͷ͕Ͱ͖Δɻ શମͷ·ͱΊ

Slide 49

Slide 49 text

https://twitter.com/omochimetaru/status/1452281836814569474

Slide 50

Slide 50 text

https://github.com/search?q=sharp+cocoro API͕͋Ε͹ͳΜͱ͔ͳΔ ϑϩϯτ͸ࣗ෼Ͱॻ͜͏

Slide 51

Slide 51 text

https://homebridge.io/ API͕͋Ε͹ͳΜͱ͔ͳΔ ϑϩϯτ͸ࣗ෼Ͱॻ͜͏

Slide 52

Slide 52 text

ࢀߟࢿྉ • SwitchBotԹ࣪౓ܭ • https://www.switchbot.jp/products/switchbot-meter • https://qiita.com/warpzone/items/11ec9bef21f5b965bce3 • CO2ηϯαʔ • https://www.kk-custom.co.jp/emp/CO2-mini.html • https://www.meti.go.jp/covid-19/guideline.pdf • https://r-kurain.hatenablog.com/entry/2016/01/26/164648 • https://www.netatmo.com/en-gb/weather/weatherstation • https://www.getawair.com/

Slide 53

Slide 53 text

ࢀߟࢿྉ • ిྗεϚʔτϝʔλʔ • https://www.tepco.co.jp/pg/consignment/liberalization/smartmeter-broute.html • https://www.tessera.co.jp/rl7023stick-d_ips.html • https://www.chip1stop.com/view/dispDetail/DispDetail?partId=TSRA-0000042 • https://qiita.com/puma_46/items/1d1589583a0c6bef796c • https://qiita.com/puma_46/items/9dfc27323674641ed5b4 • https://nature.global/nature-remo-e/ • https://sumai.panasonic.jp/aiseg/hems/index.html

Slide 54

Slide 54 text

ࢀߟࢿྉ • ࣌ܥྻDBɾϏδϡΞϥΠθʔγϣϯ • Mackerel (https://ja.mackerel.io/) • In fl uxDB (https://www.in fl uxdata.com/) • Grafana (https://grafana.com/) • Raspberry Piޓ׵ػ
 (https://ameblo.jp/electromagneticgadgetlab/entry-12634750472.html) • ༗ࢤͷํͷ࡞඼ • https://twitter.com/koizuka/status/1364473534852988928 • https://twitter.com/sumihiro/status/1374528756837085185 • https://twitter.com/_yyu_/status/1260935186717437952