Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Python(+α)でスマートプラグを制御してみた
Search
Sora Arakawa
March 01, 2022
Programming
1.8k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Python(+α)でスマートプラグを制御してみた
サポーターズ学生ライトニングトーク ~2022春の始まり編~
Sora Arakawa
March 01, 2022
More Decks by Sora Arakawa
See All by Sora Arakawa
OSもどきOS
arkw
0
790
オープンソース電車運転ゲーム「もっと! 地下鉄 大名古屋」の紹介
arkw
0
62
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
610
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
780
お前も同人作家にならないか? 技術系同人誌制作入門
arkw
3
160
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
1.6k
技術島の指定ツール「LaTeX」で同人誌を作ろう
arkw
2
500
ポスト・パソコン時代のジャンク遊び スマートデバイス編
arkw
0
260
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
2
260
Other Decks in Programming
See All in Programming
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
220
GraphQL の onError と Nullability のこれから
quramy
0
190
JIS keyboard support in Omarchy
lef237
0
160
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1.5k
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
200
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.2k
気持ちぃ〜角丸 Squircle
ryu1013
0
360
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
120
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
200
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
160
phperだってパンチカードでコーディングしたい
o0h
PRO
0
480
Railsバージョンを4倍にした話
optim
0
800
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
Practical Orchestrator
shlominoach
192
12k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Designing for Timeless Needs
cassininazir
1
530
How to Think Like a Performance Engineer
csswizardry
28
2.9k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Abbi's Birthday
coloredviolet
4
10k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
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