Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
家のいろいろな数値を計測する
Search
Kishikawa Katsumi
May 21, 2022
How-to & DIY
4
2.2k
家のいろいろな数値を計測する
家のいろいろな数値を計測する
おうちHack勉強会
Kishikawa Katsumi
May 21, 2022
Tweet
Share
More Decks by Kishikawa Katsumi
See All by Kishikawa Katsumi
iOSDC 2024 SMBファイル共有をSwiftで実装する
kishikawakatsumi
1
160
Enhancing Applications with Accessibility API
kishikawakatsumi
3
3.2k
Mastering SwiftSyntax
kishikawakatsumi
4
5.3k
My SwiftData Review
kishikawakatsumi
7
1.4k
Swift Expression Macros: a practical introduction
kishikawakatsumi
3
1.8k
Xcode Cloudの評価
kishikawakatsumi
2
1.2k
Regular expressions basics/正規表現の基本
kishikawakatsumi
7
720
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
1k
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
1.9k
Other Decks in How-to & DIY
See All in How-to & DIY
【技術カンファレンス運営の裏側】Iwaken Lab 技術好き学生の近況報告 & ことみんさんに技術カンファレンス運営の裏側を聞いちゃう会
kotomin_m
4
220
Raspberry PiではじめるKiCad入門 / 20240226-rpi-jam
akkiesoft
1
3.3k
Career Opportunities In WordPress
wchk2023
0
220
#スタックチャン「魔改造の夜」に行く
syumme01
1
160
IoTカーテンオープナー
keicafeblack
0
290
JAWS-UGから学んだコミュニティの成功要因 (Success Factors)
awsjcpm
3
330
PlatformIO IDE用M5Stack定型コード環境の紹介
3110
1
330
リアル登壇だから気をつけたい「マイクの使い方」のコツ
shirayanagiryuji
0
180
元SREのCREが伝えたい、Mackerelをもっと活用するための実践Tips集 / Mackerel Drink Up #11 do-su-0805
dosu0805
0
230
スカウト返信率を倍にするためにやったこと / 2024-01-29
tamago3keran
2
950
ServiceNow Knowledgeの歩き方
manarobot
0
300
グローバルAWSユーザー コミュニティとJAWS-UG - JAWS FESTA 2024 in Hiroshima
awsjcpm
0
4k
Featured
See All Featured
The Invisible Side of Design
smashingmag
298
50k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Fireside Chat
paigeccino
34
3k
GitHub's CSS Performance
jonrohan
1030
460k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
Adopting Sorbet at Scale
ufuk
73
9.1k
Rails Girls Zürich Keynote
gr2m
94
13k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Transcript
kishikawa katsumi Ոͷ͍Ζ͍ΖͳΛܭଌ͢Δ ͓͏ͪHackษڧձ
Ոͷ͍Ζ͍ΖͳΛܭଌ͢Δ • Թɾ࣪ • ೋࢎԽૉೱ • ిྗ • ωοτϫʔΫ •
Etc
ܭଌͱ • ܭଌػثΛങ͖ͬͯͯோΊΔ
͓͏ͪHackΒ͍͠ܭଌͱ • ܭଌػثΛങ͖ͬͯͯோΊΔ • ܭଌػث͔ΒσʔλΛʢܧଓతʹʣऔಘ͢Δ • ूܭͯ͠ϏδϡΞϥΠζͨ͠Γɺ͋Δᮢʹୡͨ͠Β௨͢ΔɺͳͲ
࣍ • ཧର͝ͱͷܭଌػثͷհ • ͦΕͧΕͷܭଌػث͔ΒσʔλΛऔΓग़͢ํ๏ʹ͍ͭͯ • σʔλΛϏδϡΞϥΠζɾ࿈ܞ͢Δํ๏ʹ͍ͭͯ
• Թܭɾ࣪ܭ • CO2ηϯαʔ • ిྗεϚʔτϝʔλʔ ܭଌػثͷྫ
Թܭɾ࣪ܭ
https://www.switchbot.jp/products/switchbot-meter
https://www.switchbot.jp/products/switchbot-meter
None
https://qiita.com/warpzone/items/11ec9bef21f5b965bce3
None
https://ja.mackerel.io/
None
None
None
None
None
ࢲͷ͓͏ͪHackͷํ๏·ͱΊ • ܭଌػث͔ΒBluetooth LEɺϩʔΧϧωοτϫʔΫɺΠϯλʔωοτɺγϦΞ ϧଓͳͲͷखஈʹΑΓσʔλΛऔಘͯ͠ɺ ʢSwitchBotԹ࣪ܭBLE·ͨSwitchBot Hubܦ༝ͰऔΕΔʣ • σʔλΛੵʢͳΜͰΑ͍͕࣌ܥྻDB͕ศརʣ͠ɺ •
ՄࢹԽͨ͠ΓࣗಈԽͷτϦΨʔΛઃఆͨ͠Γ͢Δ
• Raspberry PiͰBLE·ͨϩʔΧϧωοτϫʔΫܦ༝ͰσʔλΛऔಘ͢Δॲཧ Λఆظతʹಈ͔͢ʢ̑ඵ͝ͱ͘Β͍ʣ • σʔλMackerelʹૹ৴ • MackerelͷAPIΛ͏ΫϥΠΞϯτΛ࡞ͯ͠ՄࢹԽͨ͠ΓɺPush௨Λૹͬ ͨΓɺผͷॲཧΛىಈͨ͠Γ͢Δ ࢲͷ͓͏ͪHackͷํ๏·ͱΊ
ͦͷଞͷબࢶ • Grafana (https://grafana.com/) • In fl uxDB (https://www.in fl
uxdata.com/)
https://twitter.com/koizuka/status/1364473534852988928
https://twitter.com/sumihiro/status/1374528756837085185
https://twitter.com/_yyu_/status/1260935186717437952
Raspberry Piͷೖखੑʹ͍ͭͯ • 20225݄ݱࡏɺRaspberry PiಋମෆͳͲͷӨڹʹΑΓ؆୯ʹೖखͰ͖ͳ͘ͳͬ ͍ͯ·͢ɻʢ͓ۚΛੵΜͰ͍͠ʣ • ಉ༷ͷ͜ͱΛ͢Δ߹Raspberry Piޓػʢ͜Ε५ͱݴ͑ͳ͍͕ʣΛݕ౼͢Δ ͷΑ͍͔͠Εͳ͍
• https://ameblo.jp/electromagneticgadgetlab/entry-12634750472.html • ͘͠NASͰDockerͳͲΛಈ͔͢ͱ͍͏ख͋Γ·͢ɻʢ࠷ۙͷNASී௨ʹߴੑ ೳͳৗ࣌ىಈ͍ͯ͠Δίϯϐϡʔλͱͯ͑͠Δʣ • SynologyɺQNAPͳͲ
CO2ηϯαʔʢೋࢎԽૉೱʣ
CO2ηϯαʔΛબͿࡍͷҙ • ݕݪཧ͕ޫֶࣜʢNDIRηϯαʔʣΛ༻͍ͨͷͰ͋Δ͜ͱ • NDIRηϯαʔTVOCํࣜʹൺͯߴՁͳͷͰ҆Ձͳʢ2ʙ3,000ԁʁʣ ʹΘΕͳ͍ɻ • ৽ܕίϩφΠϧεରࡦͰ҆ՁͰૈѱͳCO2ϝʔλʔ͕൙ཞ͍ͯ͠ΔͨΊɺ TVOCํࣜͰਖ਼͘͠༻Ͱ͖ΔΛݟ͚ͭΔ͜ͱඇৗʹࠔɻ ʢࢀߟʣhttps://www.meti.go.jp/covid-19/guideline.pdf
None
https://www.kk-custom.co.jp/emp/CO2-mini.html
https://www.netatmo.com/en-gb/weather/weatherstation
https://www.getawair.com/
None
https://r-kurain.hatenablog.com/entry/2016/01/26/164648
https://r-kurain.hatenablog.com/entry/2016/01/26/164648
• ҆Ձ͗͢Δͷආ͚ΔʢͦͦɺηϯαʔࣗମͷՁ͕֨ͦͦ͜͜͢ΔͷͰ7,000 ԁʙ͕·ͱͳͷͩͱࢥΘΕΔɻʣ • ޫֶࣜʢNDIRʣηϯαʔΛ͏ɻʢબఆʹ͍ͭͯΑΓৄ͘͠ް࿑লͷใΛࢀ ߟʹʣ • ̍ສԁҎԼ͘Β͍ͷग़අͰࡁ·͢ʹ͚ͬ͜͏ࣗͰ͍Ζ͍Ζ࡞Δඞཁ͕͋Δɻશ ෦ೖΓͷʢAwairͳͲʣΛങ͏ͷ͕؆୯͕ͩ̎ʙ̏ສ͘Β͍͔͔Δɻ •
CO2ҙ֎ͱ্͙͕͢ΔͷͰɺHack͠ͳͯ͘ܭଌػثΛങͬͯݟ͑Δͱ͜Ζʹஔ ͍͓͚ͯͩ͘Ͱཱͭɻ CO2ηϯαʔʹ͍ͭͯ·ͱΊ
ిྗεϚʔτϝʔλʔ
https://www.tepco.co.jp/pg/consignment/liberalization/smartmeter-broute.html
https://www.tepco.co.jp/pg/consignment/liberalization/smartmeter-broute.html
None
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/9dfc27323674641ed5b4
https://qiita.com/puma_46/items/9dfc27323674641ed5b4
None
Nature Remo E https://nature.global/nature-remo-e/
AiSEG2ʢHOME IoTʣ https://sumai.panasonic.jp/aiseg/hems/index.html
• ݱࡏɺిྗܭεϚʔτϝʔλʔʹஔ͖Θ͍ͬͯͯॠ࣌ిྗͳͲͷใ͕औಘͰ͖Δɻ • εϚʔτϝʔλʔͷΞΫηεʹʮBϧʔτʯαʔϏεͷਃ͠ࠐΈ͕ඞཁɻ̎िؒ͘Β͍͔͔ΔͷͰ Θͳͯ͘ͱΓ͋͑ͣਃ͠ࠐΜͰ͓͜͏ɻ • ·ͩࣗͷిྗܭ͕εϚʔτϝʔλʔʹͳͬͯͳ͍߹BϧʔτΛਃ͠ࠐΊεϚʔτϝʔλʔʹஔ ͞ΕΔɻ • εϚʔτϝʔλʔͷΞΫηε໘ͩ͠ϓϩτίϧʹৄ͘͠ͳΔརͳ͍͠ɺࣗͰͬͯେ͠
ͯ҆͘ͳΒͳ͍ͷͰɺͨͿΜΛങ͏ͷ͕Φεεϝɻ͔͠͠εϚʔτϝʔλʔΛಡΉͷબࢶ ͦΜͳʹͳ͍ɻ • ిྗফඅͷ࠷దԽશମͷ༰ྔͷଞʹճ࿏ͷ༰ྔ͋ͬͯશମΛܭଌͯ͠ճ࿏ਤ͕ͳ͚Εͦͦ͜͜ ໘ɻͦͷؾʹͳΕཱ͚ͭͲझຯͷྖҬͰ͋Δɻ ిྗεϚʔτϝʔλʔʹ͍ͭͯ·ͱΊ
• ܭଌ͓͏ͪHackͷجૅɻ͔ͦ͜ΒࣗಈԽͨ͠Γ͍Ζ͍Ζͳ࿈ܞʹͭͳ͕Δɻ • ܭଌػثͷબ؆୯Ͱͳ͍ɻࢲকདྷʹΘͨͬͯσʔλΛࣗͰऔಘͰ͖Δ ͔Ͳ͏͔Λॏࢹ͍ͯ͠Δɻ • API͕༻ҙ͞Ε͍ͯΔ࠷ۙଟ͍ɻඅ༻͕ग़ͤΔͳΒΦεεϝɻ • ϑϩϯτͷUIʹظ͠ͳ͍ɻՈిϝʔΧʔʢ͋Δ͍SwitchBotͳͲͰ͋ͬͯ ʣ͕࡞ΔUIͷ࣭ߴ͘ͳ͍ɻͦͦສਓʹదͨ͠UIͳ͍ɻ
• ϑϩϯτΛࣗͰॻ͘ͱָ͍͠͠ศརͳͷ͕Ͱ͖Δɻ શମͷ·ͱΊ
• ܭଌ͓͏ͪHackͷجૅɻ͔ͦ͜ΒࣗಈԽͨ͠Γ͍Ζ͍Ζͳ࿈ܞʹͭͳ͕Δɻ • ܭଌػثͷબ؆୯Ͱͳ͍ɻࢲকདྷʹΘͨͬͯσʔλΛࣗͰऔಘͰ͖Δ ͔Ͳ͏͔Λॏࢹ͍ͯ͠Δɻ • API͕༻ҙ͞Ε͍ͯΔ࠷ۙଟ͍ɻඅ༻͕ग़ͤΔͳΒΦεεϝɻ • ϑϩϯτͷUIʹظ͠ͳ͍ɻՈిϝʔΧʔʢ͋Δ͍SwitchBotͳͲͰ͋ͬͯ ʣ͕࡞ΔUIͷ࣭ߴ͘ͳ͍ɻͦͦສਓʹదͨ͠UIͳ͍ɻ
• ϑϩϯτΛࣗͰॻ͘ͱָ͍͠͠ศརͳͷ͕Ͱ͖Δɻ શମͷ·ͱΊ
https://twitter.com/omochimetaru/status/1452281836814569474
https://github.com/search?q=sharp+cocoro API͕͋ΕͳΜͱ͔ͳΔ ϑϩϯτࣗͰॻ͜͏
https://homebridge.io/ API͕͋ΕͳΜͱ͔ͳΔ ϑϩϯτࣗͰॻ͜͏
ࢀߟࢿྉ • 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/
ࢀߟࢿྉ • ిྗεϚʔτϝʔλʔ • 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
ࢀߟࢿྉ • ࣌ܥྻ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