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.1k
家のいろいろな数値を計測する
家のいろいろな数値を計測する
おうちHack勉強会
Kishikawa Katsumi
May 21, 2022
Tweet
Share
More Decks by Kishikawa Katsumi
See All by Kishikawa Katsumi
iOSDC 2024 SMBファイル共有をSwiftで実装する
kishikawakatsumi
1
130
Enhancing Applications with Accessibility API
kishikawakatsumi
3
3k
Mastering SwiftSyntax
kishikawakatsumi
3
5.1k
My SwiftData Review
kishikawakatsumi
7
1.3k
Swift Expression Macros: a practical introduction
kishikawakatsumi
3
1.8k
Xcode Cloudの評価
kishikawakatsumi
2
1.2k
Regular expressions basics/正規表現の基本
kishikawakatsumi
7
700
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
950
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
1.8k
Other Decks in How-to & DIY
See All in How-to & DIY
100回分は振り返りできなかったけど振り返り #iotlt vol101
n0bisuke2
0
300
ITエンジニアにおすすめのゲームFactorio御紹介
zembutsu
PRO
1
970
未来大生の胃を支える函館グルメ
deflis
0
280
Career Opportunities In WordPress
wchk2023
0
190
それっぽいポッドキャストの作り方
khirata
2
230
BVEと連動する誤自宅運転台のススメ!
usashirou
0
510
在宅フルリモートワークを可能にするスキルと知識n連発! / how to more effective remoteworking
masaru_b_cl
1
730
教習資料PDF_4. 交差点編(優先・非優先)
sawagaku
0
24k
240420MapillaryMeetup2024Tokyo
tosseto
0
150
メイカーフェア東京、深セン、台北、サンフランシスコにみるFactory Automationみ/製造業み
takasumasakazu
0
970
【潔能講堂】 綠能科技動手做-磁生電燈 / 李薇平老師
learnenergy2
0
400
drumstick_jacket.pdf
lyh125
0
480
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
230
17k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
105
48k
4 Signs Your Business is Dying
shpigford
180
21k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
4
94
How GitHub (no longer) Works
holman
310
140k
Docker and Python
trallard
40
3k
Making Projects Easy
brettharned
114
5.8k
Designing for Performance
lara
604
68k
Building Your Own Lightsaber
phodgson
102
6k
Embracing the Ebb and Flow
colly
83
4.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.8k
Ruby is Unlike a Banana
tanoku
96
11k
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