IO.Box Integration Configuration for WisNode Bridge
Integration Configuration enables Bridge IO devices to seamlessly integrate with mainstream LoRaWAN Network Servers and efficiently manage Device Profiles. It provides a streamlined workflow to onboard devices, generate payload codecs automatically, and synchronize configurations across multiple devices, significantly reducing deployment and maintenance effort.
Figure 1: Integration Dashboard for IO BoxIntegration with LoRaWAN Servers
Integration with LoRaWAN Servers allows Bridge IO to connect devices to external LoRaWAN Network Servers (LNS). Through the IO.Box tool, you can effortlessly onboard devices to the server and automatically generate the necessary payload codec scripts to ensure proper parsing of uplink and downlink data.
Prerequisites
Ensure that the gateway is connected to the LNS and that both the gateway and the device use the same frequency band.
ChirpStack v4 Integration
Onboard to ChirpStack Server
This feature provides a one-click onboarding capability. It allows you to add an application to your The Things Stack server and automatically registers the current Bridge IO device under the selected application, populating essential device parameters such as DevEUI and AppKey.
Additionally, it automatically generates the required Encode/Decode Script, eliminating manual device creation and reducing configuration errors.
Creating Application
- Navigate to the ChirpStack v4 menu and click Onboard to ChirpStack Server to create a device profile. Click OK.
Figure 1: Create a device profile- Click Create New to create a ChirpStack Server and configure the following parameters.
If a ChirpStack server has already been created, select the server and then create an application under it.
Figure 1: Add a new ChirpStack server-
Name: The name of the ChirpStack server.
-
Server Address: The ChirpStack server address. The default port is
9480. -
Auth Method: Password or API Key. Here we use API key.
-
API Key: ChirpStack server API key. You can create one by following the steps below.
- To create a personal API key, go to Network Server > API keys in the left-hand sidebar and click Add API key.
- Enter a Name for your key and then press Submit.
- You will see the newly created API Key. Copy the key and save it in a safe place, press Back. You will not be able to see this key again in the future, and if you lose it, you can create a new one by following this same procedure.
Figure 1: Add API keys- Tenant: ChirpStack.
- Click Create to save the configuration.
Figure 1: Save the server configuration- Click the created server, then click Create New to create an application.
Figure 1: Create a new application to ChirpStack- The newly created application will appear at the top of the list based on the creation time.
Figure 1: Select a ChirpStack applicationAdding the device
- Click the newly created application. In the Register End Device to Chirpstack dialog, click Create to confirm the registered device information.
Figure 1: Register the device- After the device is created successfully, you can view the added device in the ChirpStack.
Figure 1: Added device in ChirpStackOnboard Details (Optional)
After onboarding to a ChirpStack server, you can use Onboard Details to review the server configuration applied during onboarding. It also allows you to register the device directly to an application on the selected server.
Copy Encode/Decode Script
This feature generates the JavaScript codec functions required by the ChirpStack server. This script defines how to decode the binary payload from the device into readable sensor values and encode downlink JSON commands back into a binary payload for the device.
If the device has been registered using the Onboard to ChirpStack Server feature and the required Encode/Decode Script has been automatically generated, this step can be skipped.
-
In the Integration module, navigate to the ChirpStack v4 menu and click Copy Encode/Decode Script.
-
Paste the copied script into ChirpStack:
-
Go to the target device's Device Profile.
-
Under the Codec tab, set Payload codec to JavaScript functions.
-
Paste the script into the Codec functions editor and click Submit.
-
The Things Stack (TTN v3) Integration
Onboard to The Things Stack Server
This feature provides a one-click onboarding capability. It allows you to add an application to your The Things Stack server and automatically registers the current Bridge IO device under the selected application, populating essential device parameters such as DevEUI and AppKey.
Additionally, it automatically generates the required Encode/Decode Script. This eliminates manual device creation and reduces configuration errors.
Creating Application
- Navigate to the The Things Stack menu and click Onboard to The Things Stack Server to create a device profile. Click OK.
Figure 1: Create a device profile- Click Create New to create The Things Stack Server and configure the following parameters.
If a TTN server has already been created, select the server and then create an application under it.
Figure 1: Add a new The Things Stack server-
Name: The name of the The Things Stack server.
-
Server Address: The Things Stack server address. In this case, it is
eu1.cloud.thethings.network. The default port is1884. -
User ID: Your User ID, which can be obtained from Profile settings > Edit profile.
-
API Key: Your personal API key. You can create one by following the steps below.
- To create a personal API key, go to Home >