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
0
1.5k
Python(+α)でスマートプラグを制御してみた
サポーターズ学生ライトニングトーク ~2022春の始まり編~
Sora Arakawa
March 01, 2022
Tweet
Share
More Decks by Sora Arakawa
See All by Sora Arakawa
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
240
技術島の指定ツール「LaTeX」で同人誌を作ろう
arkw
2
170
ポスト・パソコン時代のジャンク遊び スマートデバイス編
arkw
0
130
ジャンカーよ、車も買え ~10分でわかる!? 中古車選び入門~
arkw
1
120
arkw vs. サーバ移転 -2024年1月版-
arkw
0
290
なれる! 村上さん Misskeyサーバ構築入門
arkw
0
540
Cloudflare Tunnelで自宅サーバを公開してみた
arkw
0
1.5k
5分でわかる!? 7セグメントLED制御
arkw
0
73
ヤフオクで原付買った話
arkw
0
230
Other Decks in Programming
See All in Programming
ペアプロ × 生成AI 現場での実践と課題について / generative-ai-in-pair-programming
codmoninc
1
18k
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
140
“いい感じ“な定量評価を求めて - Four Keysとアウトカムの間の探求 -
nealle
1
10k
PHP 8.4の新機能「プロパティフック」から学ぶオブジェクト指向設計とリスコフの置換原則
kentaroutakeda
2
900
Rubyでやりたい駆動開発 / Ruby driven development
chobishiba
1
730
Agentic Coding: The Future of Software Development with Agents
mitsuhiko
0
100
今ならAmazon ECSのサービス間通信をどう選ぶか / Selection of ECS Interservice Communication 2025
tkikuc
21
4k
Python型ヒント完全ガイド 初心者でも分かる、現代的で実践的な使い方
mickey_kubo
1
120
テストから始めるAgentic Coding 〜Claude Codeと共に行うTDD〜 / Agentic Coding starts with testing
rkaga
12
4.5k
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
220
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
130
20250628_非エンジニアがバイブコーディングしてみた
ponponmikankan
0
680
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
A Modern Web Designer's Workflow
chriscoyier
695
190k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
For a Future-Friendly Web
brad_frost
179
9.8k
The World Runs on Bad Software
bkeepers
PRO
69
11k
A better future with KSS
kneath
238
17k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
Agile that works and the tools we love
rasmusluckow
329
21k
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