This document describes how to integrate the YOBIIQ SD-1001 into ThingsBoard.
Introduction
Yobiiq SD-1001 Smoke Detector
The YOBIIQ iQ Smart Wireless Smoke Detector, designed for LoRaWAN® remote monitoring systems, provides optimal protection through advanced IoT fire alarm technology.
The SD-1001 is a 230V mains powered smoke detector, with backup battery.
This IoT smoke detector offers smart smoke detector capabilities, ensuring reliable fire safety solutions for both residential and commercial use. With wireless smoke alarm functionality, annual inspections are conducted remotely via LoRaWAN®, eliminating the need for on-site appointments, thus streamlining the process and improving efficiency.
SD-1001 Dashboard Overview
This document is based on the assumption that you use the ThingsBoard Professional Edition.
Prerequisites
To succesfully complete the integration of the SD-1001 into ThingsBoard Professional Edition you will need the following;
We have no specific hardware requirements for a LoRaWAN® Gateway, it should however have it's packet forwarder setup to Chirpstack or Things Network to be covered within this Integration Guide.
Other Network Servers are not covered in this Integration Guide.
Connecting a Device
The YOBIIQ SD-1001 LoRaWAN® Smoke Detector can only be operated using a LoRaWAN® gateway, so the first order of business is to connect it to a Network Server which has an integration with ThingsBoard.
After connecting it to the network server we can provision the device to ThingsBoard.
To succesfully connect a device to a Network Server you will need a few device parameters.
These parameters can be located on the YOBIIQ SD-1001 LoRaWAN® Smoke Detector.
SD-1001 : Required Parameters Location
Chirpstack
If you are using the ThingsBoard Integration library (recommended) you can skip pasting the codec into Chirpstack.
Create an Application, Go to the Applications page and click on the Add applicationbutton.
Fill in the form fields and click the Submit button.
Click on the Application you have created in the previous step, and click on the Add device button.
Fill in the form fields, in the first screen you will be required to enter your Device EUI (DevEUI), after you click the submit button you will be required to enter the Application key.
Step 1 - Login to Chirpstack
Step 2 - Go to Device Profiles
Step 3 - Submit the Device Profile
Step 4 - Add Codec
Step 5 - Go to Applications
Step 6 - Add Application
Step 7 - Go the the created Application
Step 8 - Add the Device
Step 9 - Add the Application Key.
API Key
Now that we have added the device to Chirpstack we also need to create an API key within Chirpstack.
This API key is used to make a secure login connection between Chirpstack and your ThingsBoard instance.
Chirpstack - Go to API Keys
Chirpstack - Name your API Key
Chirpstack - API Key Created
Things Network
If you are using the ThingsBoard Integration library (recommended) you can skip pasting the Payload formatter into Things Network.
Add an application, Go to the Applications and click on the Add application button.
Fill in the form fields for the Application and click the Create application button.
Register the End device, Go to the End devices and click on the Add device button.
Fill in the form fields, in the first screen you will be required to enter your Join EUI, after you click the submit button you will be required to enter the other related parameters.
Now that we have added the device to Things Industries we also need to create an API key within Things Industries.
This API key is used to make a secure login connection between Things Industries and your ThingsBoard instance.
Copy and save the username and password of the MQTT Integration
Device Integration
Creating a Device Profile
If you want to utilize the full potential of the Smoke Detectors we advice you to use the Smoke Detectors in combination with our Smoke Detection Monitoring Dashboard.
Device Profile
You can import a Device Profile or create one yourself.
The Device Profile is also available on our Github.
Go to the Device Profiles
Import a Device Profile
After you have successfully imported the Device Profile, you are returned to the Device Profile Overview.
Creating the Device Integration
The device integration can be imported from the ThingsBoard Device Repository.
Go to the Integrations
Fill in the Add Integration form and select the Integration Type.
After you have entered the information above and click next you will be able to make a choice for the Uplink data converter, if you choose "Library" in this section you are able to pre-load the Uplink and Downlink data converter from the ThingsBoard Library.
Select Library and click on Yobiiq
Select the SD1001 template and click next.
ChirpStack
If you have selected the ChirpStack integration type you will now be asked the application server URL and the API key.
If you have followed this Integration Guide you have saved the API key somewhere, in this step you will need to paste that API key.
Enter the Application server URL and API Token.
Things Industries
If you have selected the Things Industries integration type you will now be asked the application server URL and the API key.
If you have followed this Integration Guide you have saved the MQTT authentication information somewhere, in this step you will need to paste that information.
Enter the region of your Things Stack environment and MQTT credentials.
Uplink Data Converter
The uplink data converter is loaded automatically when you use ThingsBoard Integration Library.
The Uplink Data Converter is available from within the ThingsBoard Device Integration.
If your version of ThingsBoard does not support the Device Integration yet, you can use the following Uplink Data Converter.
Downlink Data Converter
The Downlink Data Converter is available from within the ThingsBoard Device Integration.
If your version of ThingsBoard does not support the Device Integration yet, you can use the following Downlink Data Converter.
Verify receipt of data
At this point we have added the device integrations to ThingsBoard and the Network Server of your choosing.
If the device has sent any data, it should now appear under the Devices.
To check the receipt of data you should open the Devices which is available under your Entities. The device should be present in the devices list shown there.
You can check the latest telemetry / attributes by clicking on the Device, you can open the tab Attributes or Latest telemetry.
Verifiy your telemetry.
Dashboard
If you want a more user-friendly way of displaying the data from your YOBIIQ SD-1001 LoRaWAN® Smoke Detector you can use a ready-made dashboard from YOBIIQ.
The dashboard is a complete solution to monitor all your Smoke Detectors, view the alarms and execute a remote test on the Smoke Detector.
The Dashboard is available for customers that purchased the Smoke Detector by requesting it from our Support Department.
Conclusion
With everything you have learned throughout this Integration Guide you should now be able to easily connect your YOBIIQ Smoke Detector to Thingsboard.