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
Sora Arakawa
March 01, 2022
Programming
1.7k
0
Share
Python(+α)でスマートプラグを制御してみた
サポーターズ学生ライトニングトーク ~2022春の始まり編~
Sora Arakawa
March 01, 2022
More Decks by Sora Arakawa
See All by Sora Arakawa
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
190
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
630
お前も同人作家にならないか? 技術系同人誌制作入門
arkw
3
71
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
1.1k
技術島の指定ツール「LaTeX」で同人誌を作ろう
arkw
2
400
ポスト・パソコン時代のジャンク遊び スマートデバイス編
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
forteeの改修から振り返るPHPerKaigi 2026
muno92
PRO
3
240
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
170
Geminiをパートナーに神社DXシステムを個人開発した話(いなめぐDX 開発振り返り)
fujiba
0
140
Vibe하게 만드는 Flutter GenUI App With ADK , 박제창, BWAI Incheon 2026
itsmedreamwalker
0
540
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
130
安いハードウェアでVulkan
fadis
1
920
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.1k
AI活用のコスパを最大化する方法
ochtum
0
370
CDK Deployのための ”反響定位”
watany
0
160
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.7k
まかせられるPM・まかせられないPM / DevTech GUILD Meetup
yusukemukoyama
0
110
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Why Our Code Smells
bkeepers
PRO
340
58k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
170
Mind Mapping
helmedeiros
PRO
1
150
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
160
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.7k
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