SD-1001 ThingsBoard Integration
This document describes how to integrate the YOBIIQ SD-1001 into ThingsBoard.
Last updated
This document describes how to integrate the YOBIIQ SD-1001 into ThingsBoard.
Last updated
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.
This document is based on the assumption that you use the ThingsBoard Professional Edition.
To succesfully complete the integration of the SD-1001 into ThingsBoard Professional Edition you will need the following;
LoRaWAN® Gateway
Network Server account
ThingsBoard Professional Edition account
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.
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.
If you are using the ThingsBoard Integration library (recommended) you can skip pasting the codec into Chirpstack.
If you are using Chirpstack as Network Server you can follow the next steps to add your YOBIIQ SD-1001 LoRaWAN® Smoke Detector.
Login to your Chirpstack environment.
Create a Device profile, Go to the Device Profiles and click on the Add device profile button.
Fill in the form fields for the Device Profile and click the Submit button.
Past the Codec for the device, you can find the latest version on our Github Repository (https://github.com/Yobiiq-BV/yobiiq-decoders/tree/main/IQ-SD1001)
Create an Application, Go to the Applications page and click on the Add application button.
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.
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.
If you are using the ThingsBoard Integration library (recommended) you can skip pasting the Payload formatter into Things Network.
If you are using The Things Industries as Network Server you can follow the next steps to add your YOBIIQ SD-1001 LoRaWAN® Smoke Detector.
Login to your Things Industries environment.
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.
Format the payloads by pasting the Uplink and Downlink codec, this can be found under Payload formatters. The latest version of the codec can be found on our Github Repository (https://github.com/Yobiiq-BV/yobiiq-decoders/tree/main/IQ-SD1001)
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.
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.
You can import a Device Profile or create one yourself. The Device Profile is also available on our Github.
After you have successfully imported the Device Profile, you are returned to the Device Profile Overview.
The device integration can be imported from the ThingsBoard Device Repository.
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.
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.
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.
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.
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.
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.
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.
With everything you have learned throughout this Integration Guide you should now be able to easily connect your YOBIIQ Smoke Detector to Thingsboard.