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
家の明るさ制御 / Brightness Control in My House
Search
1024jp
May 21, 2022
Technology
0
690
家の明るさ制御 / Brightness Control in My House
おうちHack勉強会 (
https://ouchi-hack.github.io
) #01 登壇資料
1024jp
May 21, 2022
Tweet
Share
More Decks by 1024jp
See All by 1024jp
Outline View in SwiftUI
1024jp
1
330
OSSのアプリケーションを開発「し続ける」ための哲学 / Philosophy to continue developing OSS application
1024jp
7
2.5k
TextKitでのシンタックスハイライト高速化 / Optimize Syntax Highlight with TextKit
1024jp
7
2.6k
Big Surからの四角いアイコン / Rounded Rectangle Icons since Big Sur
1024jp
5
1.7k
NSTextView とは何なのか / What is NSTextView
1024jp
6
2.8k
GNUstepとCocotron / GNUstep and Cocotron
1024jp
2
1.7k
Native macOS application, or the world of AppKit
1024jp
5
8.7k
環境設定の作法 / Manners of Preferences Window on macOS
1024jp
3
1.9k
ツールバーアイコンとその実装 / Toolbar Icons on macOS
1024jp
7
1.9k
Other Decks in Technology
See All in Technology
Why does continuous profiling matter to developers? #appdevelopercon
salaboy
0
180
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
300
強いチームと開発生産性
onk
PRO
34
11k
初心者向けAWS Securityの勉強会mini Security-JAWSを9ヶ月ぐらい実施してきての近況
cmusudakeisuke
0
120
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
100
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
180
CysharpのOSS群から見るModern C#の現在地
neuecc
2
3.2k
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.1k
いざ、BSC討伐の旅
nikinusu
2
780
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
65
11k
The Language of Interfaces
destraynor
154
24k
Embracing the Ebb and Flow
colly
84
4.5k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Into the Great Unknown - MozCon
thekraken
32
1.5k
Building Applications with DynamoDB
mza
90
6.1k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
Speed Design
sergeychernyshev
24
610
Transcript
題: 場所: 日付: Ոͷ໌Δ੍͞ޚ KQ ͓͏ͪ)BDLษڧձ ݄ 発表者:
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ࣗݾհ application work macOS hobby
macOS developer/designer @1024jp meet-up CotEditor Gapplin Qli plain-text editor SVG viewer movie player podcast
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ͓͏ͪ)BDLϞνϕʔγϣϯ ✔︎ ָ͍ͨ͠ – ૢ࡞෦·Ͱߦ͔ͳͯ͘ྑ͍
– ૢ࡞Λ͠ͳͯ͘ྑ͍ ✔︎ ΕͣʹΓ͍ͨ – ࣗಈ੍ޚʹͯ͠ඞͣΔ – ԕִʢ֎ग़ઌʣ͔ΒͰૢ࡞Ͱ͖Δ ✔︎ ऩ·ΓΛྑ͍ͨ͘͠ – ԕִͰ੍ޚͰ͖Εૢ࡞෦ɾઢΛӅṭͰ͖Δ ✔︎ ͨͷ͍͠ Ϟνϕʔγϣϯ ಋೖࡁΈ – র໌ – Χʔςϯ։ด – আػ (Roomba) – ચ୕ػ – ΤΞίϯ (SwitchBot) – HomePod
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ࠓͷٞ – 1024jp͕͓͏ͪͷ໌Δ੍͞ޚͰ͍ͬͯΔ͜ͱ – Ոͷ໌Δ͞Λ੍ޚ͢Δ͜ͱͷମܥతͳߟ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ͓͏ͪͷ໌Δ੍͞ޚ ࣗવޫ ΧʔςϯɾϒϥΠϯυͷ։ด ݐ۩ʢӍށɾোࢠʣͷ։ด র໌
ΈࠐΈর໌ʢεΠονʣ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ໌Δ੍͞ޚ৭ʑ 1024jpఛʢ֓೦ʣ *P5Χʔςϯ खಈΧʔςϯ ਓײর໌
*P5র໌ εΠονࣜর໌ ຌྫ )PNF1PE
©2022 1024jp Ոͷ໌Δ੍͞ޚ ͓͏ͪ)BDL ษڧձ ௐޫσόΠε
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ௐޫσόΠεɿ*P5ిٿ Philips Hue (white gradation
lamp) 色の変更のを活用してる人は 見たことがない – E26/E17ͳͲҰൠతͳޱ͔ۚ͠ ରԠ͍ͯ͠ͳ͍ – ͨ͘͞Μἧ͑Δͱߴ͍ ډࣨ ಛʹͳ͠ ͍ͯΔɿ ͍ͯͳ͍ɿ – HomeKitʹͭͳ͕Δ – ௐޫͰ͖Δ – ௐޫࣗͷϞʔυΛΓସ͑ΔεΠονʹͳΔ – ৭ͷมߋͷΛ׆༻ͯ͠Δਓݟͨ͜ͱ͕ͳ͍ お風呂も良さそう Philips Hue (bridge) – ओࣨʢҰ෦আ͘ʣ – ৸ࣨ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ௐޫσόΠεɿਓײηϯαʔిٿ – ࢭ·ͬͯΔͱΕΔ – ௐޫͰ͖ͳ͍
– ࿈ಈ͠ͳ͍ʢηϯαಠཱλΠϓͳΒՄೳʣ ݰؔɾ࿓Լ ډࣨɾτΠϨɾ͓෩࿊ ͍ͯΔɿ ͍ͯͳ͍ɿ 脱衣所も向いてる 気がしてる Panasonic (Ұൠిٿ ͻͱηϯαλΠϓ) – ૢ࡞͠ͳͯ͘ྑ͍ – ωοτϫʔΫʹܨ͛Δඞཁ͕ͳ͍ – Ұ࣌తʹͷΈ͏ͱ͜Ζʹ࠷ద – ੩ࢭ͢Δॴ͔ͳ͍ʢτΠϨ᠘ – དྷ٬ऀʹઆ໌͕ΊΜͲ͏ – ݰؔɾ࿓Լ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ௐޫσόΠεɿΧʔςϯ։ด SwitchBot (Χʔςϯ IܕϨʔϧ) –
։ด͔ͳΓ͏Δ͍͞ – ్த·Ͱ։͚Δͷ͕ۤख – HomeKitʹܨ͛Δͷ͕͔ͳΓΊΜͲ͏ – ։ดΛεέδϡʔϦϯάͰ͖Δ – ֮Ίͷิॿʹ͍ͨ͘ͳΔ͕։ด͕͏Δ͍͞ͷͰ ৸ࣨʹ͔ͳ͍ – Homekitͱ࿈ಈ͚ͨ͠ΕHomebridgeඞਢ ओࣨ ৸ࣨ ͍ͯΔɿ ͍ͯͳ͍ɿ SwitchBot (bridge) – ओࣨ
©2022 1024jp Ոͷ໌Δ੍͞ޚ ͓͏ͪ)BDL ษڧձ ੍ޚσόΠε
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ੍ޚσόΠεɿ*P5εΠον Philips Hue (dimmer switch
v1) – ௐޫσόΠεଆ͕IoTͰͳ͍ͱ͑ͳ͍ – ઃஔॴ͕ඞཁ – ͡Θ͡Θಋೖඅ͕͔͔Δ ډࣨɾ͓෩࿊ ࿓ԼɾτΠϨɾೲށ ͍ͯΔɿ ͍ͯͳ͍ɿ – HomeKitσόΠε·Ͱߦ͔ͳͯ͘ྑ͍ – ௐޫͳͲߴͳมߋ͕ཧͰͰ͖Δ – ͚ͬͺͳ͠ʹ͠ͳ͍ډࣨʢ৸ࣨɾॻࡈͳͲʣʹ ͋Δͱศར – ৸ࣨ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ੍ޚσόΠεɿ*P5εΠον Philips Hue (dimmer switch
v1) – ௐޫσόΠεଆ͕IoTͰͳ͍ͱ͑ͳ͍ – ઃஔॴ͕ඞཁ – ͡Θ͡Θಋೖඅ͕͔͔Δ ډࣨɾ͓෩࿊ ࿓ԼɾτΠϨɾೲށ ͍ͯΔɿ ͍ͯͳ͍ɿ – HomeKitσόΠε·Ͱߦ͔ͳͯ͘ྑ͍ – ௐޫͳͲߴͳมߋ͕ཧͰͰ͖Δ – ͚ͬͺͳ͠ʹ͠ͳ͍ډࣨʢ৸ࣨɾॻࡈͳͲʣʹ ͋Δͱศར – ৸ࣨ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ੍ޚσόΠεɿैདྷεΠον – ݁ہซઃ͞Ε͍ͯΔؾεΠονΛԡ͢ͷͰ র໌͚ͩࣗಈԽͯ͠ϝϦοτ͕ͳ͍ –
ۭؒΛ͏ͷ͕ظͰ͔͠نଇੑʹ͚ܽΔ ਆอిث (J•WIDE εΫΤΞ) – εΠον·Ͱߦ͔ͳ͍ͱԡͤͳ͍ – ঢ়ଶ͕࿈ಈ͠ͳ͍ – ՈʹແྉͰ͍ͯ͘Δ – ΈΜͳ͕͍ํΛ͍ͬͯΔ τΠϨɾ͓෩࿊ɾೲށ ډࣨ ͍ͯΔɿ ͍ͯͳ͍ɿ – ओࣨʢҰ෦ʣ – ϫʔΫεϖʔε – ͓෩࿊ɾҥॴ – τΠϨ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ੍ޚσόΠεɿ*P5εϐʔΧʔ HomePod – ઃஔՕॴͱ͕ݶΒΕΔ –
ཧղͯ͠Β͑ͳ͍ͱ৺͕ંΕΔ – Λ͔͚Δͷ͕ͪΐͬͱஏ͔͍ͣ͠ – ͳΜͯΛ͔͚Εཧղͯ͠Β͑Δͷ͔ ͍·͍ͪΑ͘Θ͔Βͳ͍ – σόΠε͕ͳͯ͘ૢ࡞Ͱ͖Δ – ΧʔςϯΛத్ʹ։͚Δ ډࣨ ډࣨҎ֎ ͍ͯΔɿ ͍ͯͳ͍ɿ – ͱʹ͔͘Λ͔͚Δ৺ཧোน͕ߴ͍ – ओࣨ – ϫʔΫεϖʔε
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ੍ޚσόΠεɿ)PNFBQQ iPhone – खಈ੍ޚ͔ͳΓΊΜͲ͍͘͞ –
HomeKitʹରԠͯ͠ͳ͍Ϡπͱͷ࿈ܞ – ߴͳࣗಈԽ͕Ͱ͖Δ – Ͳ͜Ͱ͑Δ – ඞਢʢ͜Ε͕͍͍͔ͨΒͦۤ͜࿑Λͯ͠Δʣ – ࣗಈԽ͍͍Μ͚ͩͲૢ࡞ΊΜͲ͍͘͞ ډࣨ τΠϨɾ͓෩࿊ɾೲށͳͲ ͍ͯΔɿ ͍ͯͳ͍ɿ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ੍ޚσόΠεɿ)PNFCSJEHF Raspberry Pi (Zero W)
– HomeKitඇରԠσόΠεΛHomeKitରԠʹ – ຊମӅṭ͍͢͠ – ଞͷσόΠεͱ࿈ಈ͚ͨ͠ΕHomebridge΄΅ඞਢ – σόΠεଆ͕ݩʑHomeKitରԠͳΒ͍Βͳ͍ͷʹͳ… – ಋೖ͕໘͚ͩͲຊମӅṭͰ͖Δ͔Β ҰೖΕͯ͠·͑ͦ͜·Ͱअຐ͡Όͳ͍ – ಋೖ͕ΊΜͲ͏ – Έ͕͘͜͠ͳΔ – ϫʔΫεϖʔε
©2022 1024jp Ոͷ໌Δ੍͞ޚ ͓͏ͪ)BDL ษڧձ ੍ޚ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ͳ੍ͥޚ͢Δͷ͔ ిؾΛʮফ͍ͨ͠ʯ Ϟνϕʔγϣϯ ✔︎
ᚶ͍͠ɾোΓ ✔︎ ϓϥΠόγʔ ✔︎ লΤω ✔︎ མͪண͔ͳ͍ そもそも ిؾΛʮ͚͍ͨʯ Ϟνϕʔγϣϯ ✔︎ ࢹքͷ֬อ ʮϋοΫ͍ͨ͠ʯ Ϟνϕʔγϣϯ ✔︎ ָ͍ͨ͠ ✔︎ ΕͣʹΓ͍ͨ ✔︎ ऩ·ΓΛྑ͍ͨ͘͠ ✔︎ ͨͷ͍͠ ʮϋοΫ͠ͳ͍ʯ Ϟνϕʔγϣϯ ✔︎ ΊΜͲ͍͘͞ ✔︎ ٕज़ݶք ✔︎ ۚમతίετ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp χʔζͷҧ͍ – ৭ʑ੍ޚ͍ͨ͠
– ͍ͳ͍ͱ͖ফ͑ͯ΄͍͠ – Ұ෦র໌͕ݻఆ – ֮Ί͍ͨ – ੩͔Ͱ͋ͬͯ΄͍͠ – ͓ஂ͔ΒΓ͍ͨ – ؾͱ࿈ಈ͍ͨ͠ – ͬͯΔ ≠ ಈ͍ͯΔ – ͍͍ͪͪૢ࡞ͨ͘͠ͳ͍ – ͬͯΔʹಈ͍ͯΔ – ར༻͚͚͍࣌ͩͨ – ݱঢ়ిٿ͚ͩೖΕସ͑Ͱ͖ͳ͍ ৸ࣨ ϫʔΫεϖʔε ओࣨ ݰؔɾ࿓Լ τΠϨ – ؾͱ࿈ಈ͍ͨ͠ – ͬͯΔ ≠ ಈ͍ͯΔ ͓෩࿊ – ͬͯΔʹಈ͍ͯΔ ҥॴ ར༻࿈ಈ ར༻࿈ಈ ར༻࿈ಈ ར༻࿈ಈ ར༻࿈ಈ ঢ়ଶ࿈ಈ ঢ়ଶɾར༻࿈ಈ
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ग़ ɹؼ
GPS GPS Off On (100%) Off – Off – ࣗಈԽ ىচ ब৸ τϦΨʔ ֮·͠࿈ಈ 17 : 30 21 : 00 ֮·͠࿈ಈ or 1 : 00 ओࣨ র໌ On (100%) Dimm (50%) Off Χʔςϯ Open (80%) Close ৸ࣨ র໌ On (100%) Off ࿓Լ র໌ ΄͔ র໌ Sleep Cycle – ศར – ࠓͱͳͬͯiOSඪ४ͷ֮·͠Ͱ ͍͍ؾ͕͢Δ͕Α͘Θ͔Βͳ͍ ਓײ खಈ खಈͰ͚ͨΓফͨ͠Γ home app
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ࠓޙͷల *P5Χʔςϯ खಈΧʔςϯ ࢦϘοτ੍ޚর໌ ਓײর໌
εΠονࣜর໌ ຌྫ )PNF1PE *P5র໌
͓͏ͪ)BDL ษڧձ Ոͷ໌Δ੍͞ޚ ©2022 1024jp ·ͱΊ – ۭؒͷ༻్ͱ੍ʹΑͬͯ࠷దͳ໌Δ੍͞ޚ͕ҧ͏ɹ→ ٕज़બఆ͕ඞཁ –
OnͱOffͰࣗಈԽ͍ͨ͠Ϟνϕʔγϣϯ͕ҟͳΔ – ҰൠతͳॅIoTϨσΟ͡Όͳ͍ – ಋೖʹίετ͕͔͔Δ͔Β໎͏ – IoT੍ޚσόΠεΛૢ࡞͢ΔͷͦΕͦΕͰΊΜͲ͏ – Siriʹ൱ఆ͞ΕΔͱ৺͕ંΕΔ – ຊʹΓ͍ͨͷɺ ଟ͘ͷ߹ʮ͜ͷ෦ʹਓ͕͍ͨΒʯ݅ذͳؾ͕͢Δ
©2022 1024jp Ոͷ໌Δ੍͞ޚ ͓͏ͪ)BDL ษڧձ ͓ΘΓ