This article describes how to connect Atomsenses Indoor LoRaWAN Gateway to ThingsBoard.
Introduction
ThingsBoard is an IoT platform for data collection, processing, visualisation, and device management. The platform enables device connectivity via industry-standard IoT protocols or stream data from devices connected to existing IoT Platforms.
The Atomsenses indoor gateway, acting as a wireless communication base station, has the ability to simultaneously receive 8 LoRa wireless signals. It can forward wireless data to the core network through Ethernet or 4G.
Gateway Features:
- Supports standard LoRaWAN protocols V1.0.2, V1.0.3, V1.1 CLASS A/C
- Features 8-channel concurrency for uplink and 1-channel for downlink
- Built-in supercapacitor
- Multiple backhaul connectivity options
- Internal antenna design
- Embedded network server compatibility
- Adapts to global LoRaWAN® frequency plans (CN470-510/EU863-870/US902-928/AS923/AU915-928/KR920)
Gateway Configuration
Connecting via Mobile Phone
- Open WiFi settings and search for gateway's hotspot beginning with "WIFI-05" followed by 6 characters of gateway ID
- Initial password is "gateway2018better"
- Access "192.168.3.1" in browser
- Login with username "root" and password "WelcomeTo2018"
Connecting via Laptop
- Connect gateway's LAN port to laptop
- Set laptop to acquire IP automatically
- Access "192.168.3.1" in browser
- Login with password "WelcomeTo2018"
Network Server Address Setting
- Navigate to "Network" → "LoRa GW" → "Configuration"
- Select LoRa Network Server address
- Enter ChirpStack server IP: 47.106.157.173
Set Uplink and Downlink Ports
Configure UDP ports based on frequency plan:
- AS923: UDP 1701
- AS923_2: UDP 1702
- EU868: UDP 1700
- AU915: UDP 1705
ChirpStack Configuration
Adding Gateway
- Login to ChirpStack interface
- Select Gateways → Add gateway
- Copy gateway ID from gateway's web interface
- Enter gateway name and ID, select Submit
Configuring Application
- Go to "Applications" and click "Add application"
- Fill application name and Submit
- Go to "API keys" and click "Add API key"
- Create API key and save it for ThingsBoard integration
Integrating ChirpStack with ThingsBoard
Adding Integration in ThingsBoard
- Navigate to "Integration center" → "Integrations"
- Click "plus" button and select "ChirpStack" type
- Enter Application server URL and API Key from ChirpStack
- Copy the HTTP endpoint URL and Add
Configuring ChirpStack for Integration
- Open ChirpStack, go to Applications → Your application → Integrations
- Click on "HTTP" tile
- Enter HTTP URL endpoint into "Event Endpoint URL(s)" field
- Submit
After completing these steps, you'll have a successfully connected gateway on network server integrated with ThingsBoard. You can add devices, receive data, and create dashboards for data visualization.
