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
KASHIKOIHAKO計画その3
Search
ufoo68
May 13, 2021
Technology
490
0
Share
KASHIKOIHAKO計画その3
ufoo68
May 13, 2021
More Decks by ufoo68
See All by ufoo68
BlenderをCodexで動かす
ufoo68
0
50
改めて考えるOSSのあり方について
ufoo68
0
42
文法で学ばないJavaScript
ufoo68
0
58
Cookieとは?
ufoo68
1
69
今更ながら、開発現場での生成AI活用について
ufoo68
0
75
28歳独身エンジニア 婚活してみた
ufoo68
0
30
OpenAIでクッキー型を作る
ufoo68
1
65
初めて開発リーダーをやってみた話
ufoo68
0
140
M5Stack用の指紋認証デバイスを試す
ufoo68
0
880
Other Decks in Technology
See All in Technology
Chasing Real-Time Observability for CRuby
whitegreen
0
200
Expiration of Secure Boot Certificates for vSphere Virtual Machines
mirie_sd
0
110
独断と偏見で試してみる、 シングル or マルチエージェント どっちがいいの?
shichijoyuhi
1
110
Shipping AI Agents — Lessons from Production
vvatanabe
0
280
国内外の生成AIセキュリティの最新動向 & AIガードレール製品「chakoshi」のご紹介 / Latest Trends in Generative AI Security (Domestic & International) & Introduction to AI Guardrail Product "chakoshi"
nttcom
4
1.4k
ネットワーク運用を楽にするAWS DevOps Agent活用法!! / 20260421 Masaki Okuda
shift_evolve
PRO
2
220
ハーネスエンジニアリングをやりすぎた話 ~そのハーネスは解体された~
gotalab555
5
1.8k
Good Enough Types: Heuristic Type Inference for Ruby
riseshia
1
290
AIはハッカーを減らすのか、増やすのか?──現役ホワイトハッカーから見るAI時代のリアル【MEGU-Meet】
cscengineer
PRO
0
190
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.4k
20260428_Product Management Summit_Loglass_JoeHirose
loglassjoe
2
3.6k
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
8
1.4k
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
740
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
480
Speed Design
sergeychernyshev
33
1.6k
エンジニアに許された特別な時間の終わり
watany
106
240k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
310
Practical Orchestrator
shlominoach
191
11k
Why Our Code Smells
bkeepers
PRO
340
58k
The Curse of the Amulet
leimatthew05
1
11k
Side Projects
sachag
455
43k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
320
Transcript
KASHIKOIHAKO計画 その3
自己紹介 • SNSでの名前 ◦ ufoo68(@ufoo_yuta) • 職業 ◦ 滋賀出身系エンジニア •
やってること ◦ スポーツIoTLT主催 • 最近の出来事 ◦ 簿記試験3級に落ちた
いままでのあらすじ1 スマートボックスをつくった 180度回転するサー ボアーム サーボアームが回転すると 箱がロックされる
いままでのあらすじ2 ユーザー認証と連携した 1. スマホアプリでログイン 2. 箱のロック解除 認証されたユーザー以外は箱を開くこ とができない
スマートボックスとは • 箱の開閉をスマートに制御できる ◦ PC・スマホのアプリを用いた開閉制御 ◦ 箱の開閉者の認証 • 箱の状態管理ができる ◦
GPSを使った位置情報のトラッキング ◦ 内包物の状態の確認 つまりは、KASHIKOIHAKOのことをいう
今回のテーマ 箱の開閉の状態管理について考えた
今までの課題 例えば箱の開閉を操作するとき、 目の前に箱があるときは 「開」「閉」の どちらを押せばいいのかがわかる
今までの課題 しかし、 箱が目の前にないときは 「開」「閉」の どちらを押せばいいのかがわからない
そして考えたこと 箱とアプリの間で箱の開閉状態を管理するものを立ててみる ?
今回やったこと AWS IoTのデバイスシャドウを使って、 箱の開閉状態を管理してみた
デバイスシャドウとは デバイスの状態を管理するための機能 { "desired": { "boxStatus": "open" }, "reported": {
"boxStatus": "open" } } desired: { “boxStatus”: “open” } reported: { “boxStatus”: “open” }
デモ うまくいかなかったときのための動画↓
ソースコード https://github.com/ufoo68/kashikoihako-ui https://github.com/ufoo68/kashikoihako-device デバイス側 アプリ側
まとめ • デバイスシャドウを使って箱の開閉状態を管理した • 状態管理についての発展課題 ◦ センサを使った開閉の管理 ◦ その他諸々の情報の登録(位置情報など) •
その他の手つかずの課題 ◦ 箱をもっといい感じにする ◦ アプリをPWAに対応する
というわけで より賢いスマートボックス、 KASHIKOIHAKOの製作を今年はやっていきたいと思っています