This serves as a guide for connecting Veea ChirpStack to Datacake, IOThink and other applicable cloud-based IoT platforms.
Prerequisites
- Note Serial#: HnnCTWGC80E00000nnnn from ControlCenter > VeeaHubs tab
-
Get the URL, example Datacake URL being used
- https://api.datacake.co/integrations/lorawan/chirpstack/?workspaceId=nnn-nnn-nnn
- Add to Veea ChirpStack under Application/Integrations/HTTP.
- This is required to be performed for each application folder
-
URL for ChirpStack 4 REST integration:
- Gather your serial number from ControlCenter> Meshes> Mesh name.
- https://vh-chirpstack-core-HnnCTWGC80E00000nnnn.services.veea.io:19080 . Note port 19080
- Using your serial number, modify the URL above where highlighted above.
-
API Key from ChirpStack gets pasted into 3rd party device downlinks section.
- •API Key is found in FileBrowser, on the Services Link, or you may create a new one in ChirpStack.
ChirpStack-Side Configuration
- Configuring ChirpStack is required first in order to capture the API Key used in Datacake.
- The process below illustrates how to find ChirpStack in the Veea Platform using ControlCenter.
- First login to ControlCenter and select the group you are managing.
- https://controlcenter.veea.co
Set the ChirpStack API Proxy in ControlCenter
Select Meshes tab, Select LoRa mesh you are managing
Scroll down to the VeeaHubs on this Mesh to find the Services button and select LoRa-Manager.
Remote Access API
- Select Remote Access
- Make sure access is checked
- Copy the URL
Locating ChirpStack in Control Center
Select Meshes tab and then select the LoRa mesh you are managing.
Scroll down to the VeeaHubs on this Mesh to find the Services button and select ChirpStack+UI.
Configure ChirpStack API
- Here, we create an API key for 3rd party clouds.
- Copy this into a safe archive.
- Use that key to go back to Datacake, IoThink, or other resource and apply it for all sensors under the ChirpStack downlinks. This allows communication to the end devices.
Optionally, Use the Pre-configured API Key
- Access the Services Menu
- Launch File Browser
- The JWT token is available in a file named api_key.txt
ChirpStack Device Profiles
Device Profiles have been added including their codec decoder/encoders where available.
Application Integration
- Added Milesight Application.
- Click into its folder then the Integration tab.
- We add an HTTP integration with Datacake, URL found in device add in the Configuration tabs.
HTTP Integration URL
- First you need to create a sensor to find your uplink URL in Datacake
- Select Configuration tab.
- Find the ChirpStack configuration button.
General Flow for Adding Devices
- Enter name, DevEUI, and select a profile.
- Then, submit the appskey
You can watch for join process from Events or LoRaWAN tabs
Adding Device in Datacake
- Click through +Add device
- Select LoRaWAN device
- Use a new template or one existing if already have configured.
Add Device - Steps 3 & 4
- Enter the DevUI and name, any tags and location
Make Settings Change for Sending Uplinks to ChirpStack
- On configuration tab, select Product and Hardware
- Move down to the LoRaWAN section
- Find that “Downlinks not configured” is red, then click [Change] button
- Select ChirpStack if not already selected. Note: We need this URL for ChirpStack Applications.
- Select Version 4 (REST Proxy)
- API keys from ChirpStack and URL entered