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
Build Your Own TTN Gateway with Resin.io and RA...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Tim Perry
October 04, 2018
Technology
0
26k
Build Your Own TTN Gateway with Resin.io and RAK Wireless
Tim Perry
October 04, 2018
Tweet
Share
More Decks by Tim Perry
See All by Tim Perry
IoT Hackathon
pimterry
0
360
The Cambrian Explosion of IoT
pimterry
0
25k
Modern Easy IoT with Docker & Resin.io
pimterry
1
400
Provision, Manage & Monitor Gateways in Production with Resin.io
pimterry
0
24k
Optimizing Docker for IoT with Multi-Stage Builds
pimterry
0
30k
Hardware Hacking for JS Developers
pimterry
1
26k
HTTPS is Not Enough
pimterry
0
27k
Promises Are So Passé
pimterry
0
27k
Opening Open Source With DevOps
pimterry
0
29k
Other Decks in Technology
See All in Technology
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
160
Embeddings : Symfony AI en pratique
lyrixx
0
200
20年以上続く PHP 大規模プロダクトを Kubernetes へ ── クラウド基盤刷新プロジェクトの4年間
oogfranz
PRO
0
170
FastMCP OAuth Proxy with Cognito
hironobuiga
3
190
スピンアウト講座03_CLAUDE-MDとSKILL-MD
overflowinc
0
1.2k
スピンアウト講座01_GitHub管理
overflowinc
0
1.3k
Phase09_自動化_仕組み化
overflowinc
0
1.6k
DMBOKを使ってレバレジーズのデータマネジメントを評価した
leveragestech
0
240
スピンアウト講座05_実践活用事例
overflowinc
0
1.1k
A4)シラバスを超えて語る、テストマネジメント
moritamasami
0
120
Bref でサービスを運用している話
sgash708
0
190
20260320_JaSST26_Tokyo_登壇資料.pdf
mura_shin
0
120
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
The Spectacular Lies of Maps
axbom
PRO
1
640
From π to Pie charts
rasagy
0
160
The Cult of Friendly URLs
andyhume
79
6.8k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Become a Pro
speakerdeck
PRO
31
5.9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
120
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
360
Navigating Team Friction
lara
192
16k
Writing Fast Ruby
sferik
630
63k
Transcript
@pimterry Build your own gateway with resin.io and RAK wireless
@pimterry
@pimterry
@pimterry
Register a TTN Gateway Create an Resin.io account & application
Provision your device Deploy the packet forwarder Configure your device @pimterry Build your own gateway
Follow the slides yourself at: bit.ly/resin-ttn-workshop @pimterry
Sign up at console.thethingsnetwork.org Register a new gateway: ◦ Any
name ◦ Non-legacy packet forwarder ◦ EU frequency @pimterry Register a TTN Gateway
Sign up at Resin.io Enter your details Add an SSH
key (optional) Create an application: ▪ Starter app type ▪ Raspberry Pi 3 @pimterry Create a Resin.io account & application
Click ‘Add Device’ Enter the network details Follow the guide
to flash your SD card Make sure the antenna is attached Insert the SD card & power ...and continue, whilst it boots Provision your device @pimterry
Deploy the packet forwarder @pimterry git clone https://github.com/resin-io-playground/ttn-resin-gateway-rpi Add your
app as a git remote (see the top right of the app page) git push resin master (No SSH key? Use resin push with the Resin CLI)
Deploy the packet forwarder (resin push) @pimterry git clone https://github.com/resin-io-playground/ttn-resin-gateway-rp
i Install the CLI: docs.resin.io/reference/cli/ (‘Standalone install’) In the ttn-resin-gateway-rpi folder: > resin login > resin push <your app name>
Configure your device @pimterry Open ‘Device Variables’ in the Resin
device dashboard Set GW_ID to the id of your gateway Set GW_KEY to the key of your gateway Set GW_RESET_PIN to 11
Bonus: NTP Fix @pimterry If your device can’t authenticate to
TTN on the IZUM conference network, its clock may be failing to sync. You can fix this by SSHing into the host and running: date -s "$(curl --silent --head resin.io | grep Date: | sed 's/Date: //')"
You’re done! @pimterry Monitor status via the device logs in
the Resin dashboard Monitors packets sent & received in the TTN console
@pimterry Have questions? forums.resin.io
@pimterry Build your own gateway with resin.io and RAK wireless