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
110
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
590
お前も同人作家にならないか? 技術系同人誌制作入門
arkw
3
62
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
1.1k
技術島の指定ツール「LaTeX」で同人誌を作ろう
arkw
2
380
ポスト・パソコン時代のジャンク遊び スマートデバイス編
arkw
0
190
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
2
200
arkw vs. サーバ移転 -2024年1月版-
arkw
0
350
なれる! 村上さん Misskeyサーバ構築入門
arkw
0
650
Other Decks in Programming
See All in Programming
Windows on Ryzen and I
seosoft
0
310
安いハードウェアでVulkan
fadis
0
270
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
15
8.9k
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
220
ロボットのための工場に灯りは要らない
watany
10
2.9k
Go Conference mini in Sendai 2026 : Goに新機能を提案し実装されるまでのフロー徹底解説
yamatoya
0
610
TipKitTips
ktcryomm
0
170
へんな働き方
yusukebe
1
1.2k
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
The free-lunch guide to idea circularity
hollycummins
0
270
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
1k
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
140
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
130
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
100
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.5k
New Earth Scene 8
popppiees
1
1.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
640
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
480
What does AI have to do with Human Rights?
axbom
PRO
1
2k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
78
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