Understanding Commands

Understanding Commands

Zoho IOT applications enable users to execute actions on connected devices, and assets/locations using commands. These commands send instructions to the devices.

For example, take an air conditioning (AC) unit in a smart home system. By using a command, you can control the room temperature. This allows you to increase or decrease the temperature as needed, providing optimal comfort and energy efficiency.

Command supported communication types

Commands are currently supported for devices connected to the application using MQTT and LoRaWAN via Datastreams

Command flow

When a command is initiated in the Zoho IOT application, the device receives the command message through the subscribed command topic. Following this, the device sends an acknowledgment of the received command back to the app. The device then proceeds to execute the command and, upon completion, sends an acknowledgment of the command execution to the app. Based on the response code from the device, the app marks the command as either a success or a failure.



Command Data Types

Commands can send different types of values in the command payload to control devices and assets effectively:
  • Numeric Values: Used to set parameters like temperature, speed, or any other numerical setting.
  • Boolean Values: Used for simple ON/OFF or true/false commands.
  • String Values: Used to send textual information or select options. 

Command and Gateway Device

Commands executed in the Zoho IOT application will be sent only to the gateway device/smart device that communicates with the application. The gateway, in-turn, will trigger the necessary actions in the connected asset/location/peripheral.

Automated Commands

Commands created in the application can be triggered by alarm rules and can also be scheduled to be executed at a defined time.

Command Execution History

Commands executed by the Zoho IoT application, along with the acknowledgment for both command reception and execution by the device, are maintained in a timeline under the command execution history.

Adding a Command

Commands are configured as templates within a device, asset, or location model. When an instance is created based on the model, a command is added to the corresponding device, asset, or location.

See Also
 


      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 FormsLegalMobile App
                              Form DesignerHRMobile 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 FormsEncrypted Forms

                              Secure 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

                                                              Use cases

                                                              Make the most of Zoho Desk with the use cases.

                                                               
                                                                

                                                              eBooks

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

                                                               
                                                                

                                                              Videos

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

                                                               
                                                                

                                                              Webinar

                                                              Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                               
                                                                
                                                              • Desk Community Learning Series


                                                              • Meetups


                                                              • Ask the Experts


                                                              • Kbase


                                                              • Resources


                                                              • Glossary


                                                              • Desk Marketplace


                                                              • MVP Corner

                                                                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

                                                                                                                        • Understanding Assets

                                                                                                                          In Zoho IoT applications, any physical object that is being managed by a sensor or device can be added virtually as an asset. Adding them as assets simplifies monitoring and ensures efficient management of the connected resources. Resources like ...
                                                                                                                        • Understanding Devices

                                                                                                                          In Zoho IoT applications, a device represents a real world entity that can be a gateway, a smart device, a sensor, or even a virtual service/system application that needs to be managed and monitored. Devices in the application are the essential ...
                                                                                                                        • Understanding Applications

                                                                                                                          Zoho IoT enables you to create various types of cloud-based applications tailored to your specific monitoring requirements. Your custom applications can vary from complex monitoring systems to simple dashboards that display monitoring statistics. The ...
                                                                                                                        • Understanding Policies

                                                                                                                          The Policy feature in Zoho IoT allows you to define a set of permissible actions for devices using MQTT and client certificate authentication. These actions specify the allowed communications between the device and the cloud, enabling the sending and ...
                                                                                                                        • Understanding Widgets

                                                                                                                          Widgets are the fundamental components of a dashboard, presenting vital statistics in intuitive formats within the Zoho IOT application. You can create various types of widgets, including cards, charts, custom fill, dials, image, tables, calendars, ...
                                                                                                                          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