Radio Bridge Wireless Air Temperature and Humidity Sensor
The air temperature and humidity sensor uses air flow to measure temperature and humidity levels. For an Armored Sensor™ IP67 weather-proof version, see the External Probe Air Temperature and Humidity Sensor.
Online resources
You can learn more about the Radio Bridge Wireless Air Temperature and Humidity Sensor product from the manufacturer’s product page here
Using with Atmosphere IoT
You can integrate and use your Radio Bridge Wireless Air Temperature and Humidity Sensor sensors directly in Atmosphere IoT by utilizing an API Project and an account with The Things Network.
By using the Atmosphere Studio project provided in this guide you’ll be able to get the data from your Radio Bridge Wireless Air Temperature and Humidity Sensor device through The Things Network and be able to create dashboards using it.
Setting up Atmosphere IoT
Prerequisite: You should already have an Atmosphere account.
Importing the Radio Bridge Wireless Air Temperature and Humidity Sensor Project into Studio
- Download the following Atmosphere Studio project file and save to your local file system here
- Navigate to the Studio using the right navigation bar in Atmosphere IoT
- Click on Import Project and select from the file browser the Atmosphere Studio project file you downloaded in step 1.
- Once the project is loaded click on the Info button at the top left and copy the UUID of the project for later
You now have the project available in your Atmosphere IoT account.
Setting up The Things Network
Prerequisite: You should already have a Things Network account.
Creating an application
When you add your TTN application to your TTN account it is best to name your TTN application the same as the project in Atmosphere IoT in case you need to reference back to the TTN console.
- Navigate to your Things Network console
- Navigate to the Applications section of the TTN console
- Click Add Application
- Set your application name and select a region
Configure Application EUIs
Radio Bridge devices use their own EUIs so the one generated by TTN will not work so we need to insert the correct Application EUI into the TTN settings.
- Click on manage euis
- Remove the pre-generate EUI by clicking the remove next to it’s entry
- Click add EUI
- Click on the pencil to then manually set the EUI to be
01 01 01 01 01 01 01 01
Setting up the integration to Atmosphere IoT
In this step we will be connecting the TTN application we created to our Atmosphere IoT account so that devices can be automatically registered for us on Atmosphere IoT as well as get our data.
- To generate an API token, open the account menu inside Atmosphere IoT from the navigation bar and click Security.
- In the Security section’s Authentication Tokens area, click the Generate Token button to make a new API token. This will be the token you use to provide The Things Network the ability to send data to your Atmosphere account.
- Select your application in the TTN console, and from its Overview page click on the Integrations tab. On the page, click Add Integration to add a new integration.
- From the Add Integration list select HTTP Integration. This is where we’ll enter the API token to connect The Things Network to Atmosphere.
- In the new integration, enter the following information:
- Process ID: The unique ID for the integration; effectively the integration’s name so choose an ID you like, such as
atmointegration
. - Access Key: Select
Default Key
from the list of available options. - URL: The URL the data is forwarded to. Enter the following URL:
https://platform.atmosphereiot.com/user/things/protocols/thethingsnetwork
.- If this project is being built on a platform variant that uses a different base URL (such as DK IoT Studio), replace the base URL with the variant URL.
- Method: The HTTP method to use. Enter
POST
in the field. - Authorization: The API token you generated from Atmosphere earlier in part 1 of step 3.
- Custom Header Name: Enable auto provisioning. Enter the following value
projectUUID
. - Custome Header Value: Select the project to use for auto provisioning. Enter the Project UUID that was copied from the previous step.
When finished click Add Integration to finish the integration.
- Process ID: The unique ID for the integration; effectively the integration’s name so choose an ID you like, such as
With the HTTP integration created, data sent to The Things Network from devices within the application will be sent to the integration end point (Atmosphere).
Registering devices
Now we are ready to register our devices to the TTN network. As devices report data through TTN the devices will automatically be registered for you.
- In the TTN console return to the Overview section and click register device
- Setting a unique id for the device. Enter a name to reference the device in TTN under the DeviceID field.
- Set the Device EUI exactly as it appears on the Radio Bridge device.
- Set the App Key exactly as it appears on the Radio Bridge device.
- The App EUI should already be set to the follow that was established in the previous step.
You can register new devices to your TTN application at any time and they'll automatically be added to your Atmosphere IoT account