Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Python(+α)でスマートプラグを制御してみた
Search
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
440
お前も同人作家にならないか? 技術系同人誌制作入門
arkw
2
25
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
890
技術島の指定ツール「LaTeX」で同人誌を作ろう
arkw
2
320
ポスト・パソコン時代のジャンク遊び スマートデバイス編
arkw
0
170
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
1
180
arkw vs. サーバ移転 -2024年1月版-
arkw
0
330
なれる! 村上さん Misskeyサーバ構築入門
arkw
0
620
Cloudflare Tunnelで自宅サーバを公開してみた
arkw
0
1.7k
Other Decks in Programming
See All in Programming
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
280
Basic Architectures
denyspoltorak
0
110
Graviton と Nitro と私
maroon1st
0
130
Patterns of Patterns
denyspoltorak
0
310
AIコーディングエージェント(skywork)
kondai24
0
200
Implementation Patterns
denyspoltorak
0
110
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
120
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
400
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
150
C-Shared Buildで突破するAI Agent バックテストの壁
po3rin
0
410
tsgolintはいかにしてtypescript-goの非公開APIを呼び出しているのか
syumai
7
2.3k
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
110
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Believing is Seeing
oripsolob
0
15
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
45
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
Un-Boring Meetings
codingconduct
0
160
We Have a Design System, Now What?
morganepeng
54
7.9k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
200
GraphQLとの向き合い方2022年版
quramy
50
14k
Discover your Explorer Soul
emna__ayadi
2
1k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.4k
Building AI with AI
inesmontani
PRO
1
570
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