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
170
Enhancing Applications with Accessibility API
kishikawakatsumi
3
3.4k
Mastering SwiftSyntax
kishikawakatsumi
4
5.5k
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
730
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
1.1k
GitHub Actionsでテストの結果をわかりやすく表示する
kishikawakatsumi
1
1.9k
Other Decks in How-to & DIY
See All in How-to & DIY
Terra Charge|EVコンセントご利用ガイドブック / Terra Charge EV Charger Guidebook
contents
0
1.1k
APCのAWS認定マスターたちに聞いてみた
masuchoku
0
110
中指立てたか判定IoT #iotlt #p5js
n0bisuke2
0
240
ファシリテーターの美意識_株式会社コミュカル Mitz
comucal
PRO
0
260
「RubyでLチカ」に挑戦してみた
isaka1022
0
130
Terra Charge|普通充電器ご利用ガイドブック / Terra Charge Ordinary Charger Guidebook
contents
1
130
IoTと田中の距離 #iotlt #田中 #openai
n0bisuke2
1
310
未来大生の胃を支える函館グルメ
deflis
0
380
M5Stickと超小型エッジAIカメラ「AITRIOS」
hoshinoresearch
0
330
ServiceNow Knowledgeの歩き方
manarobot
0
310
AWSと学生支援 - Education-JAWS #0
awsjcpm
1
100
銀座線・半蔵門線から、ふりかえりカンファレンス2024現地会場への行き方
pokotyamu
0
240
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Making the Leap to Tech Lead
cromwellryan
133
9k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.3k
BBQ
matthewcrist
85
9.4k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Building Your Own Lightsaber
phodgson
103
6.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
170
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
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