Slide 1

Slide 1 text

@pimterry Build your own gateway with and RAK wireless

Slide 2

Slide 2 text


Slide 3

Slide 3 text


Slide 4

Slide 4 text


Slide 5

Slide 5 text

Register a TTN Gateway Create an account & application Provision your device Deploy the packet forwarder Configure your device @pimterry Build your own gateway

Slide 6

Slide 6 text

Follow the slides yourself at: @pimterry

Slide 7

Slide 7 text

Sign up at Register a new gateway: ○ Any name ○ Non-legacy packet forwarder ○ EU frequency @pimterry Register a TTN Gateway

Slide 8

Slide 8 text

Sign up at Enter your details Add an SSH key (optional) Create an application: ■ Starter app type ■ Raspberry Pi 3 @pimterry Create a account & application

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

Deploy the packet forwarder @pimterry git clone 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)

Slide 11

Slide 11 text

Deploy the packet forwarder (resin push) @pimterry git clone i Install the CLI: (‘Standalone install’) In the ttn-resin-gateway-rpi folder: > resin login > resin push

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

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 | grep Date: | sed 's/Date: //')"

Slide 14

Slide 14 text

You’re done! @pimterry Monitor status via the device logs in the Resin dashboard Monitors packets sent & received in the TTN console

Slide 15

Slide 15 text

@pimterry Have questions?

Slide 16

Slide 16 text

@pimterry Build your own gateway with and RAK wireless