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
210
Enhancing Applications with Accessibility API
kishikawakatsumi
3
3.9k
Mastering SwiftSyntax
kishikawakatsumi
4
6k
My SwiftData Review
kishikawakatsumi
7
1.4k
Swift Expression Macros: a practical introduction
kishikawakatsumi
3
1.9k
Xcode Cloudの評価
kishikawakatsumi
2
1.3k
Regular expressions basics/正規表現の基本
kishikawakatsumi
7
760
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
1.1k
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
2.1k
Other Decks in How-to & DIY
See All in How-to & DIY
ラズパイカメラ向け ケーブル延長基板・ハウジングの開発
koheimasaki
PRO
1
230
GreenPAK 初心者向けハンズオン資料
aoisaya
2
340
EasyEDA機能紹介と今後の計画 (中国語) プロジェクトマネージャ罗德松
takasumasakazu
0
110
ServiceNow Knowledgeの歩き方
manarobot
0
380
Terra Charge|普通充電器ご利用ガイドブック / Terra Charge Ordinary Charger Guidebook
contents
1
230
アイデアをカタチにする、イマジニア
haruka_imgr
0
110
Xの"だるま"とコナミコマンド #iotlt #obniz
n0bisuke2
0
160
【1周年】Blueskyちゃん総集編を通じて青空を遊びつくそう
kawaiirailroads
0
330
雑にコミュニティを続けてもいいと思っている/Feel free to continue the community
camel_404
0
170
LT(Lightning Talk)のドキドキ感を共有する IoT ぼっとを作った話
scbc1167
1
190
テストも、国際化も! 小中高生クリエータ支援プログラム『未踏ジュニア』を支える技術
yasulab
PRO
1
130
#スタックチャン「魔改造の夜」に行く
syumme01
1
210
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
28
2k
Code Reviewing Like a Champion
maltzj
522
39k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.3k
Optimising Largest Contentful Paint
csswizardry
35
3.2k
RailsConf 2023
tenderlove
29
1k
Unsuck your backbone
ammeep
670
57k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
16
1.1k
How to Think Like a Performance Engineer
csswizardry
22
1.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
51
2.4k
Designing for humans not robots
tammielis
250
25k
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