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
Python(+α)でスマートプラグを制御してみた
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Sora Arakawa
March 01, 2022
Programming
0
1.7k
Python(+α)でスマートプラグを制御してみた
サポーターズ学生ライトニングトーク ~2022春の始まり編~
Sora Arakawa
March 01, 2022
Tweet
Share
More Decks by Sora Arakawa
See All by Sora Arakawa
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
560
お前も同人作家にならないか? 技術系同人誌制作入門
arkw
2
54
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
1k
技術島の指定ツール「LaTeX」で同人誌を作ろう
arkw
2
360
ポスト・パソコン時代のジャンク遊び スマートデバイス編
arkw
0
180
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
2
190
arkw vs. サーバ移転 -2024年1月版-
arkw
0
340
なれる! 村上さん Misskeyサーバ構築入門
arkw
0
650
Cloudflare Tunnelで自宅サーバを公開してみた
arkw
0
1.9k
Other Decks in Programming
See All in Programming
AIに仕事を丸投げしたら、本当に楽になれるのか
dip_tech
PRO
0
140
AIコーディングの理想と現実 2026 | AI Coding: Expectations vs. Reality 2026
tomohisa
0
230
atmaCup #23でAIコーディングを活用した話
ml_bear
3
580
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
1.7k
15年目のiOSアプリを1から作り直す技術
teakun
0
420
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
700
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
180
並行開発のためのコードレビュー
miyukiw
2
1.8k
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
190
Apache Iceberg V3 and migration to V3
tomtanaka
0
210
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
210
CSC307 Lecture 09
javiergs
PRO
1
850
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Typedesign – Prime Four
hannesfritz
42
3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
57
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
77
GitHub's CSS Performance
jonrohan
1032
470k
The Invisible Side of Design
smashingmag
302
51k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
460
Speed Design
sergeychernyshev
33
1.5k
Ruling the World: When Life Gets Gamed
codingconduct
0
150
Into the Great Unknown - MozCon
thekraken
40
2.3k
Transcript
Python +α Sora Arakawa (arkw) 2022/03/01 LT@ CAMP
Sora Arakawa arkw • B2 →B3 • etc… • →
• Android 940 • Alexa 915 • … • https://arkw.net/
• • Windows GitHub arkwnet/LTTimer
IoT
Internet of Things
IoT Internet of Things • https://aws.amazon.com/jp/iot/what-is-the-internet-of-things/
None
• TP-Link Tapo P105 1000 1500W 1
• TP-Link Tapo
• N W OK NG N W
!
• • 20% ON 80% OFF
• Tapo P100 PyP100 https://github.com/fishbigger/TapoP100
Python
Python
• Python • pip3 install PyP100
from PyP100 import PyP100 p105 = PyP100.P100("192.168.X.X", "
[email protected]
", "password") p105.handshake()
p105.login() p105.turnOn()
from PyP100 import PyP100 p105 = PyP100.P100("192.168.X.X", "
[email protected]
", "password") p105.handshake()
p105.login() p105.turnOn() # IP TP-Link ID
• → →IP
• IP
from PyP100 import PyP100 p105 = PyP100.P100("192.168.X.X", "
[email protected]
", "password") p105.handshake()
p105.login() p105.turnOff()
from PyP100 import PyP100 p105 = PyP100.P100("192.168.X.X", "
[email protected]
", "password") p105.handshake()
p105.login() setup_args = p105.getDeviceInfo() print(setup_args)
print(setup_args)
print(setup_args['result']['device_on'])
• 5 API •
GUI
Python
C#
(Python) GUI (C#)
None
None
(Linux+Python) Android (Java) 20% ON 80% OFF •
• IoT • • TP-Link Python • IP
• GitHub https://github.com/arkwnet/tapo-p105
None