The Things Stack - Datastream Integration

The Things Stack - Datastream Integration

Zoho IoT is a low-code platform for building cloud based web applications tailored to IoT use cases. It lets you securely connect, monitor, and automate IoT enabled devices with ease.

Prerequisite

  1. A valid and active Zoho IoT platform account.
  2. Access to The Things Stack Console

Step 1: Setting up the Data Stream in Zoho IoT

A Zoho IoT Data Stream contains the credentials required to securely connect and integrate with The Things Stack LoRa Network Server. It enables the ingestion of uplink data from connected LoRa devices, allowing seamless monitoring and management within the Zoho IoT application.
  1. Access the End Application.



  2. Click the Settings icon at the top right.



  3. Click Data Streams under the INTEGRATIONS section.



  4. Click Add Data Stream.



  5. Choose The Things Stack and click Proceed.



  6. Provide a name for the data stream and the Keep Alive interval. For this illustration, The Things Stack is given as the name and 10 minutes is set as the Keep Alive Interval. 



    NotesNote: The Keep Alive Interval tells the application how long to wait for data from the LoRa Network Server (LNS). If no data is received within this time, the data stream’s connection status changes to Disconnected. The interval is measured in minutes.

  7. Click Add. The data stream will now be added to the application, and the connection credentials will be displayed.



  8. Click Ok in the addition successful pop-up dialog box. This will open the data stream's information page.



  9. Click Proceed in the Onboarding wizard that appears.


The connection credentials required to establish a secure integration with The Things Stack application will be displayed.



Do not close this window or tab. Open The Things Stack Console in a new tab to continue the integration process.

Step 2: Configuring The Things Stack application

LoRa devices registered in The Things Stack can be monitored in Zoho IoT through data stream integration. The data stream connects to The Things Stack using a webhook, which forwards uplink messages from the device to Zoho IoT for monitoring. In this step, you’ll learn how to integrate the data stream with The Things Stack using the credentials generated while adding the data stream.
NotesNote: If you’ve closed the Onboarding Assistant, follow this guide to view the connection credentials of your data stream.
  1. Open the The Things Stack Console.



  2. Toggle to Applications and select the application you want to integrate with the Zoho IoT application. 



  3. Select Webhooks and click Add Webhook.



  4. Scroll down and click on Zoho IoT.



  5. Provide a Webhook ID for your reference. For this illustration, zoho-iot-parking-solution is used.



  6. Provide the URL Param Implementation value from the datastreams connection credentials in the Base URL filed. The authentication token required for secure connection is include in the URL Param value.





  7. Click Create Zoho IoT Webhook.



  8. The Things Stack application will now be integrated with the Zoho IoT application via the Data Stream.
With this step completed, you can now view The Things Stack (TTN) data within Zoho IoT.
When a device managed by The Things Stack LNS sends a message, it will also be received by your Zoho IoT application.

Step 3: Viewing the Data in Zoho IoT

Once the Zoho IoT webhook is created for your data stream, you can view messages sent from The Things Stack.

After updating the credentials in The Things Stack console, switch back to the Zoho IoT application tab and click Proceed in the Data Stream Onboarding Assistant. The message sent by the device will then be displayed.





If you’ve closed the Onboarding Assistant, follow this guide to view the messages received by your data stream.

Step 4: Adding a Device in the Zoho IoT application

With the data stream added and integrated, The Things Stack application will now forward all uplink data from the connected devices. You can add a corresponding device in Zoho IoT to represent each LoRa device. This ensures that the data sent from the device is stored as datapoints in Zoho IoT and can be monitored within the application.

To add a LoRa device,
  1. If you are in the Data Stream Onboarding Assistant, close it by clicking the X button.



  2. Close the Data Stream Information page by clicking the X Close button.



  3. In the left navigation panel, select Devices > Devices.



  4. Click Add Device.



  5. Select Add Using Product Gallery (Devices) and click Proceed.



  6. Search for, browse, or filter your LoRa device.



  7. Click the required device. For this example, the AM319 L device is selected.



  8. In the device product information page, click Import and Proceed.



  9. Enter the required details in the fields provided. Here’s an example set of values you can refer to:
    Model Type: Create New Model
    Model Name: Parking IAQ
    Name: MyAM319L
    Type: Smart Sensor
    Device Connectivity: LoRaWAN via LoRaWAN Datastream
    DevEUI: 2E4xxxxxxxxxxx7F3 (the 16-digit DevEUI of your device; this is how Zoho IoT identifies which payload belongs to which device)
    Data Stream: The Things Stack (select the data stream you integrated earlier)
    Keep Alive Interval: 10 minutes



  10. Click Proceed. The device will now be added to the Zoho IoT application.



  11. Click View Device to open the added device's information page.


The device will now extract and store its data from the payload forwarded by The Things Stack.

Step 5: Visualizing the Data.

With the data now stored in the device, you can begin visualising it in Zoho IoT.

Using the Data Explorer  

The Data Explorer lets you view and analyse the datapoints stored for a device.

To view data using the Data Explorer:
  1. On the device information page, close the Onboarding Assistant.



  2. Select the Data Explorer tab.



  3. In the left pane, choose the datapoints you want to visualise. For example, select PM10, Temperature, CO₂, and Humidity.



The graph will update automatically based on the data forwarded from The Things Stack for these datapoints.

Using the Global Dashboard  

Since the device data is now stored as datapoints, you can also create a global dashboard to monitor multiple parameters at once. This allows you to build visualisations similar to the example shown below.



Follow this guide to learn how to create dashboards in Zoho IoT.








      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              WCAG

                                        Create. Review. Publish.

                                        Write, edit, collaborate on, and publish documents to different content management platforms.

                                        Get Started Now







                                                          You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                              Manage your brands on social media


                                                                • Desk Community Learning Series


                                                                • Digest


                                                                • Functions


                                                                • Meetups


                                                                • Kbase


                                                                • Resources


                                                                • Glossary


                                                                • Desk Marketplace


                                                                • MVP Corner


                                                                • Word of the Day


                                                                • Ask the Experts


                                                                  Zoho Sheet Resources

                                                                   

                                                                      Zoho Forms Resources


                                                                        Secure your business
                                                                        communication with Zoho Mail


                                                                        Mail on the move with
                                                                        Zoho Mail mobile application

                                                                          Stay on top of your schedule
                                                                          at all times


                                                                          Carry your calendar with you
                                                                          Anytime, anywhere




                                                                                Zoho Sign Resources

                                                                                  Sign, Paperless!

                                                                                  Sign and send business documents on the go!

                                                                                  Get Started Now




                                                                                          Zoho TeamInbox Resources





                                                                                                    Zoho DataPrep Demo

                                                                                                    Get a personalized demo or POC

                                                                                                    REGISTER NOW


                                                                                                      Design. Discuss. Deliver.

                                                                                                      Create visually engaging stories with Zoho Show.

                                                                                                      Get Started Now








                                                                                                                          • Related Articles

                                                                                                                          • Connectivity Guide: The Things Stack

                                                                                                                            LoRa devices (LoRa nodes) registered in The Things Stack LoRaWAN Network Servers can be monitored in Zoho IoT applications through datastream integrations. Prerequisites Before proceeding with the integration, ensure you have: Access to the Zoho IoT ...
                                                                                                                          • Integrating Zoho IoT with The Things Stack Network

                                                                                                                            Configure the Integration in the The Things Stack console Open the The Things Stack Console. Toggle to Applications and select the application you wish to integrate with the Zoho IoT application. Select Webhooks and click Add Webhook. Click on Add ...
                                                                                                                          • Connectivity Guide: Chirpstack V3

                                                                                                                            LoRa devices (LoRa nodes) registered in ChirpStack LoRaWAN Network Servers can be monitored in Zoho IoT applications through datastream integrations. Prerequisites Before proceeding with the integration, ensure you have: Access to the Zoho IoT ...
                                                                                                                          • Understanding Datastreams

                                                                                                                            A datastream in Zoho IoT is used to integrate third-party device/data management systems with a Zoho IoT application. Currently, Zoho IoT supports LoRaWAN-based datastream integrations. LoRa WAN Datastream LoRa datastreams are used to integrate LoRa ...
                                                                                                                          • Zoho IoT Integration with Zoho CRM

                                                                                                                            Integrating Zoho IoT with Zoho CRM provides enormous benefits to customers by combining the capabilities. It empowers businesses to leverage customer data and IoT insights to improve customer service, optimize operations, and achieve their business ...
                                                                                                                            Wherever you are is as good as
                                                                                                                            your workplace

                                                                                                                              Resources

                                                                                                                              Videos

                                                                                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                              eBooks

                                                                                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                              Webinars

                                                                                                                              Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                              CRM Tips

                                                                                                                              Make the most of Zoho CRM with these useful tips.



                                                                                                                                Zoho Show Resources