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
23
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
890
技術島の指定ツール「LaTeX」で同人誌を作ろう
arkw
2
310
ポスト・パソコン時代のジャンク遊び スマートデバイス編
arkw
0
170
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
1
180
arkw vs. サーバ移転 -2024年1月版-
arkw
0
320
なれる! 村上さん Misskeyサーバ構築入門
arkw
0
620
Cloudflare Tunnelで自宅サーバを公開してみた
arkw
0
1.7k
Other Decks in Programming
See All in Programming
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
160
gunshi
kazupon
1
110
Deno Tunnel を使ってみた話
kamekyame
0
220
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
340
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
160
tparseでgo testの出力を見やすくする
utgwkk
2
270
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
250
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
460
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
390
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
120
実はマルチモーダルだった。ブラウザの組み込みAI🧠でWebの未来を感じてみよう #jsfes #gemini
n0bisuke2
3
1.3k
Microservices rules: What good looks like
cer
PRO
0
1.6k
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
510
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Utilizing Notion as your number one productivity tool
mfonobong
2
190
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Designing for Timeless Needs
cassininazir
0
91
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
850
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
170
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Speed Design
sergeychernyshev
33
1.4k
AI: The stuff that nobody shows you
jnunemaker
PRO
1
8
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