Connecting Loko to ChirpStack
Run your own LoRaWAN network server? Here's how to get your Loko Air trackers joined, decoded and charted on a self-hosted ChirpStack instance — in six short steps.
Loko Air trackers speak plain LoRaWAN, so they work with any network server — not just The Things Network. If you'd rather keep your data on your own infrastructure, ChirpStack is a free, open-source LoRaWAN network server you can host yourself.
Everything below happens inside the Tenant section of the ChirpStack web console. The sidebar has two navigation groups: Network Server holds global, server-wide settings for all tenants, while Tenant holds everything for your own organisation — that's where all the work happens.
What you'll need
- ▸A running ChirpStack instanceOne you can log in to (this guide uses the
adminaccount). - ▸A LoRaWAN gatewayThat can reach your ChirpStack server — plus its Gateway ID.
- ▸Your Loko Air device credentialsThe DevEUI, JoinEUI (AppEUI) and Application Key programmed on the device.
Make sure a gateway is online
Open Tenant → Gateways. You need at least one gateway showing a green Online status before any device can join. If the list is empty, click Add gateway and register yours.
782184ffff9f3249.
Find it on the gateway's display, on a label, or in its admin page / manual. Also
pick the matching Region (e.g. EU868).Create a device profile
A device profile describes how a class of devices behaves — region, LoRaWAN version, join method and payload codec. Open Tenant → Device Profiles and click Add device profile.
On the General tab, fill in the essentials — a name, your region and the LoRaWAN MAC version your Loko Air uses.
EU868 and LoRaWAN 1.0.3).
Leave Regional parameters revision and ADR algorithm at their
defaults.Switch to the Join (OTAA / ABP) tab and turn on Device supports OTAA — Loko Air trackers join over the air.
Finally, open the Payload codec tab and select Cayenne LPP, then click Submit.
Create an application
Open Tenant → Applications and click Add application.
Give it a name (e.g. Loko) and save. An application is just the
container that groups your devices together.
Add your devices
Click the application you just created to open it. It lands on the Devices tab, where an Add device button appears. Once devices exist, their DevEUI and Device profile show as clickable links.
Click Add device and fill in the details from your Loko Air, then Submit:
- Name — a friendly name, e.g.
Loko1. - Device EUI (EUI64) — the DevEUI from your Loko Air device.
- Join EUI (EUI64) — the JoinEUI / AppEUI from your device.
- Device profile — select the profile from Step 2 (
Generic-OTAA-EU868).
Confirm the join & watch the frames
Back in the application's device list, click a device's DevEUI to open it, then explore the tabs — OTAA keys, Activation, Events and LoRaWAN frames. The frames view shows the raw radio traffic in real time.
Visualise measurements as gauges
Once decoded data is flowing (thanks to the Cayenne LPP codec),
open Tenant → Device Profiles → your profile → Measurements. With
Automatically detect measurement keys on, ChirpStack lists the keys it has
seen — such as Battery_Voltage, gpsLocation_1_latitude and
gpsLocation_1_longitude — so set the ones you care about to Gauge.
Quick checklist
- ☐Gateway added and showing green / Online
- ☐Device profile created — region, MAC version, OTAA on, Cayenne LPP codec
- ☐Application created
- ☐Device added with matching DevEUI + JoinEUI
- ☐Application Key entered on the OTAA keys tab
- ☐JoinRequest / JoinAccept and data frames visible under LoRaWAN frames
- ☐Measurements set to Gauge to visualise the data
🎉 You're up and running!
Your gateway is online, your Loko Air device has joined, and its decoded measurements are visualised as gauges. From here you can add more devices, wire up Integrations to push data onward, or build dashboards on top of the ChirpStack API.