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
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
160
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
620
お前も同人作家にならないか? 技術系同人誌制作入門
arkw
3
68
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
1.1k
技術島の指定ツール「LaTeX」で同人誌を作ろう
arkw
2
390
ポスト・パソコン時代のジャンク遊び スマートデバイス編
arkw
0
200
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
2
210
arkw vs. サーバ移転 -2024年1月版-
arkw
0
360
なれる! 村上さん Misskeyサーバ構築入門
arkw
0
660
Other Decks in Programming
See All in Programming
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
0
170
飯MCP
yusukebe
0
400
20260320登壇資料
pharct
0
130
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
310
Claude Codeログ基盤の構築
giginet
PRO
7
3.7k
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
370
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
690
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
270
CSC307 Lecture 15
javiergs
PRO
0
270
RailsのValidatesをSwift Macrosで再現してみた
hokuron
0
140
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
230
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
2.7k
Featured
See All Featured
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
240
The agentic SEO stack - context over prompts
schlessera
0
720
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
410
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
150
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
230
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Documentation Writing (for coders)
carmenintech
77
5.3k
From π to Pie charts
rasagy
0
160
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
We Have a Design System, Now What?
morganepeng
55
8k
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