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 Links Workflow Automation Data Collection
                              Web Forms Enterprise Begin Data Collection
                              Interactive Forms Workplace Data Collection App
                              CRM Forms Customer Service Accessible Forms
                              Digital Forms Marketing Forms for Small Business
                              HTML Forms Education Forms for Enterprise
                              Contact Forms E-commerce Forms for any business
                              Lead Generation Forms Healthcare Forms for Startups
                              Wordpress Forms Customer onboarding Order Forms for Small Business
                              No Code Forms Construction RSVP tool for holidays
                              Free Forms Travel
                              Prefill Forms Non-Profit

                              Intake Forms Legal
                              Mobile App
                              Form Designer HR
                              Mobile Forms
                              Card Forms Food Offline Forms
                              Assign Forms Photography
                              Mobile Forms Features
                              Translate Forms Real Estate Kiosk in Mobile Forms
                              Electronic Forms

                              Notification Emails for Forms Alternatives Security & Compliance
                              Holiday Forms Google Forms alternative  GDPR
                              Form to PDF Jotform alternative HIPAA Forms
                              Email Forms
                              Encrypted Forms
                              Embeddable Forms
                              Secure Forms
                              Drag & drop form builder
                              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

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

                                                                                                                        Introduction to Location In Zoho IOT, a location represents a physical place with multiple devices and assets located under it. Each location can function as either a parent location, having one or more child locations, and a child location can ...
                                                                                                                        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