HTTPS Usage Document

HTTPS Usage Document

This document will help you connect a device to a Zoho IoT application using HTTPS communication. For this demonstration, we will use POSTMAN as the https client to post messages to the application.
The steps for connecting a HTTPS device are listed below.
  1. Create a device with HTTPS device connectivity and access the credentials of the created device.
  2. Update credentials in your device and establish connection.

Creating a device with HTTPS device connectivity

For this illustration, we will create a device called "My HTTPS Device" in the application, using the TRB145 product. You can choose any device product that fits your requirements, but ensure that it supports HTTPS connectivity

You can also use your own custom device product to create a device. If you need help adding your product to the device gallery reach out to support@zohoiot.com.
  1. Access the End Application.
  2. Select Devices > Devices in the left pane.



  3. Click Add Device.



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



  5. Select your desired product. Here, TRB145 is selected.



  6. Click Import and Proceed.



  7. Provide the required details in the appropriate fields and click Proceed. Make sure HTTPS is selected as the device connectivity.



  8. Click View Device.

You will be redirected to the device's information page. You may be asked to choose to use the onboarding assistant. You can Click proceed to use the onboarding assistant; to continue with this illustration, click Close.
  1. Click Actions > Connection Details. This will display the credentials required to establish connection with the Zoho IoT application.



 
Now that you have created your device and obtained its connection credentials, you can use these credentials to establish a secure connection with the application and start sending data.

You can use these credentials in your device application to establish a secure HTTPS connection. In this guide, we'll use Postman, a popular HTTPS client, to connect and send data. The fields required in Postman will mirror those needed in your device application.

Updating the Credentials and Sending Messages

To send messages using an HTTPS POST call, three key credentials are required: the Endpoint, Authentication Token, and Device ID. By combining these credentials, you can securely establish a connection with the device and transmit messages through the application.
 
There are two ways to configure credentials for the HTTPS POST function:
  1. Using URL Parameters
  2. Using Headers

Using URL Params

If you're using the HTTPS client with parameter-based authentication, you can easily include the credentials in the URL as parameters. The URL to be used can be found in the URL Parameter Implementation section, located under the Endpoint Usage tab.
 
Structure for URL with Parameters:

https://<telemetry_endpoint>/?device_id=<deviceid>&device-token=<authenticationtoken>
 
 

Using Header

If you're using the Header option for authentication, you can input the following values: device_id and device_token from the Endpoints section as headers into the appropriate fields. In this implementation, the strings "device_id" and "device_token" are used as the keys, while their corresponding values are treated as the actual value.
The Endpoint URL is also available and can be included in the request as part of the connection setup. This ensures a complete configuration for successful authentication and communication with the device.
 
 

Send the message

Once the credentials are updated, you can begin sending the payload to the Zoho IoT application from the HTTPS client/device. For this illustration, a simple payload of {"temp": 20} is sent as a JSON object (recommended payload format) to the application.

View the Message

The message sent by the client/device can be viewed under the Messages > Historic Messages section on the device's information page.



NotesNote: Refresh the page to view the latest messages, or use the Live Messages tab to listen to incoming messages in real time.
 
If you're having trouble connecting your device to the Zoho IoT application, please reach out to us at support@zohoiot.com for assistance.
 
 
 
 
 
 
 


    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









                                            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

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      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 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

                                                                                                              • MQTT Usage Document

                                                                                                                Content for this help document is currently being developed to ensure you receive the most accurate and helpful information. Please check back soon for updates. If you need immediate assistance, feel free to contact support@zohoiot.com.
                                                                                                              • Endpoint Device Usage Document

                                                                                                                Content for this help document is currently being developed to ensure you receive the most accurate and helpful information. Please check back soon for updates. If you need immediate assistance, feel free to contact support@zohoiot.com.
                                                                                                              • HTTPS Telemetry Cases

                                                                                                                Content for this help document is currently being developed to ensure you receive the most accurate and helpful information. Please check back soon for updates. If you need immediate assistance, feel free to contact support@zohoiot.com.
                                                                                                              • Onboarding a device

                                                                                                                Establishing a connection between the Zoho IoT Application and the real world device is called onboarding. This document outlines how to onboard devices based on each protocol. MQTT HTTPS LoRaWAN via LoRaDatastream Prerequisite: Before onboarding a ...
                                                                                                              • Device Action: Connection Credential

                                                                                                                Devices configured with MQTT and HTTPS protocols in the application will have connection credentials, enabling them to link real-world devices with the Zoho IOT application. All Device operations require necessary permissions. Refer User Profiles ...
                                                                                                                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