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
格安でスマートロックを作ってみた
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
KMiura
June 15, 2021
Technology
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
格安でスマートロックを作ってみた
2021/06/15 IoT縛りの勉強会! IoTLT vol.76 @Youtube
https://iotlt.connpass.com/event/213454/
KMiura
June 15, 2021
Transcript
16 slides
格安でスマートロックを作ってみた KMiura(@k_miura_io)
自己紹介 • 三浦 耕生(こうき) • 名古屋のゲーム会社 のサーバーエンジニア @k_miura_io koki.miura05
スマートロック • 手軽に取り付けられるようになった • 家の鍵のサイズに合わなかった時のリスクが大きい • 自分で作ってしまおう
作ってみた
用意するもの(ハード) • Obniz • 綿棒ケース • つまみ回す器具(3Dプリンターで自作)
用意するもの(ハード) • Obniz → もらいものなのでタダ • 綿棒ケース → 捨てようとしてたものを使ったのでタダ •
つまみ回す器具(3Dプリンターで自作) → 値段覚えてないので実質タダ
用意するもの(ソフト) • Node-RED(IBM Cloud使用) • Obnizノード 材料費、運用費ともにタダ!
配線 • わざわざ書くほどでもないくらいシン プル • obnizのfritzing用パーツはobniz公 式のGithubレポジトリで公開中(最 近リンク修正のPR出した)
設置 • ガムテープ固定という非常にダサい見た目w • 綿棒ケースはカットして高さ調節する必要なかっ た • 途中で外れそう
Node-RED • Node-REDのダッシュボードを使っ てサクッとUI作成 • あとはObnizノードにちょろっとコー ド書くだけ
DEMO https://youtu.be/PNcYkdgtKeA
まとめ • Obnizがあればソフトからハードを操作するシステムの作成が簡単 • Node-REDを活用するとアプリの作成がより簡単になる • ガムテープ固定だと次の日にはすぐ外れたので、追加購入で器具を買った(100均 で揃えたのでかなりお得に) • 間違いなく既製品だと合わなかったので作ってよかった
おまけ • Node-REDで使用しているCloudantが破損してい たせいでNode-REDが使えなくなった • タダで使っているからあんまり文句言えない • なんとかせねば…
Netlify+Vue • Vueを活用してダッシュボードより多少イケてる UIに変更 • Netlify上でビルド&環境変数対応しているので 検証用と本番用で使い分けれる • よりわかりやすくなった(はず)
ソースコード&ブログ https://github.com/Miura55/smartlock https://bit.ly/3q2e1ij
END
More Decks by KMiura
See All by KMiura
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
1.2k
Amazon Rekognitionを使ったインターホンハック
miura55
0
140
Pythonでルンバをハックしてみた
miura55
0
280
あなたの知らないクラフトビールの世界
miura55
0
500
Storage Browser for Amazon S3を触ってみた + α
miura55
0
380
Cloudflare R2をトリガーにCloudflare Workersを動かしてみた
miura55
0
370
あのボタンでつながるSORACOM
miura55
0
210
Postman Flowsで作るAPI連携LINE Bot
miura55
0
470
Lambdaと共に歩んだAWS
miura55
3
1.1k
Other Decks in Technology
See All in Technology
PHPで家庭用ゲーム機の専用コントローラーをMIDIデバイスとして扱ってみる
wind111
0
200
Amazon EFS のマルウェアスキャンをClamAV で自前実装したら苦労した話
mtmtfactory01
0
110
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
610
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
130
人の努力に頼らないセキュリティをエンジニアリングする在り方 / An approach to engineering security that does not rely on human effort
carta_engineering
0
240
NutanixへのSSHアクセスの今後について
shadowhat
0
170
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
3
270
コーディングできない僕にBobが舞い降りた
shumpei3
0
200
お風呂場をサーバルームにしよう
yusuke427
0
400
ノードが消える前提で設計する!Karpenterで金融システムを止めないためのノウハウ大全
daitak
1
250
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
490
Is the Website Dying?
miriamschwab
0
170
Featured
See All Featured
Bash Introduction
62gerente
615
220k
HDC tutorial
michielstock
2
1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Google's AI Overviews - The New Search
badams
0
1.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Building AI with AI
inesmontani
PRO
1
1.4k
Fireside Chat
paigeccino
43
4.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
Visualization
eitanlees
153
17k
30 Presentation Tips
portentint
PRO
1
480
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k