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
モンスターマシンを起こすBotを作った話 / wake up bot
Search
Nishimura Yuki
June 25, 2021
Technology
42
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
モンスターマシンを起こすBotを作った話 / wake up bot
家にあるデスクトップパソコンを遠隔操作で起動するBotを作った話です
Nishimura Yuki
June 25, 2021
More Decks by Nishimura Yuki
See All by Nishimura Yuki
特に作りたいものがない人のためのプログラミング入門
ni5h1
0
120
カリー化入門 / currying
ni5h1
0
66
Other Decks in Technology
See All in Technology
ScotSecure West 2026 - Glasgow
raybugg
0
150
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2.3k
aws-iot-platform-architecture-use-cases.pdf
ma2shita
0
510
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
240
The Knowledge Spine: A Machine-Executable Ontology for Governed Marketing Activation
vananth22
0
120
30座EKS, 180次升級淬煉的EKS Upgrade Skill 的歷程
eric8230
0
210
事業課題から技術的負債に向き合う
sansantech
PRO
2
2.2k
AIによるクリエイティブ生成を行う上での試行錯誤
plaidtech
PRO
0
170
AIエージェントの自己改善をどう設計するか / How to Design Self-Improvement for AI Agents
22mi
25
17k
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
4
700
Oracle Cloud Network Path Analyzerを試してみた/I Tried Out Oracle Cloud Network Path Analyzer
masakiokuda
1
110
AIエージェントの一手は 誰も見ていない - Falco拡張OSS「Prempti」とeBPFで サーバーレス実行基盤を二層防御する
keitah
0
470
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
820
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Skip the Path - Find Your Career Trail
mkilby
1
240
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
YesSQL, Process and Tooling at Scale
rocio
174
15k
Optimizing for Happiness
mojombo
378
71k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
440
Ruling the World: When Life Gets Gamed
codingconduct
0
340
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Transcript
モンスターマシンを起こすBot を作った話 家で寝てる
ゲーミングPC買いました
ゲーミングPC買いました とにかく動作が早い! 仮想マシンもサクサク! ストレージがでかいので仮想マシンをたくさん保存できる!
ゲーミングPC最高!!!
家の外でも使いたい
Chrome Remote Desktop インターネット越しでも使える NATの内側のパソコンでも操作可能 しかも直接通信している…… ただし、操作対象PCが起動していないとダメ スリープになっただけでもアウト
遠隔起動Bot作りました
遠隔起動Botの仕組み NAT 遠隔起動 DiscordBot 起きろ! WebSocket WoL Discord Raspberry Pi
遠隔起動Bot詳細 https://github.com/nishi-yuki/RaspizDBot1 DiscordBotはNATの内側でも動くので採用 Goで書きたかったのでライブラリはDiscordGoを使用 {bot名}wake を送信するとWoWLan スリープ or 休止状態(ハイバネーション)から復帰できる 現状シャットダウンしてしまうと詰む
現代のWoLはカオスでややこしい。 参考文献 :https://www.atmarkit.co.jp/ait/articles/2004/20/news021.html
デモ
おまけ 他に試したこと • ラズパイzeroでキー入力してスリープ解除 • 単にキーを入力するだけでは復帰しなかった (仕様らしい) • scapyでLayer2でWoL 今後時間があれば試したいこと
• 電源スイッチ直接制御 • ハードウェアの用意が面倒くさいだけで 難しくはないはず……