Working with Location Models in Zoho IoT: A Comprehensive Guide

Working with Location Models

Creating a Location Model

There are multiple ways in which you can access the Location Model creation screen and create the model. 

Info
Refer to the Understanding Locations document for more details on Locations.

To create a location model:
  1. Access the Developer Application.
  2. Click on the Model tab.
  3. Click Location in the left pane.



  4. Click the Add Location Model button in the top right corner. The Add Location form is displayed.
  (or)
  1. Access the End Application.
  2. Click the Setup icon.
  3. Click Location Models under MODULES & MODELS.


4. Click Add Location Model in the top right corner. The Add Location form is displayed.
5. Provide the location details.



 6. Click Save.

Availability

Info
All Location Model operations require necessary permissions. Refer to Users and Profiles document for more details.

Check Feature Availability and Limits


Configuring the Location Templates 

At the end of the Location Model creation, the templates page is displayed. Here you can configure the custom fields, datapoints, commands, and alarm rules for the model. As Location is based on Model-Instance relationship design, the templates created for a model will be copied to all the instances created, i.e. locations created from the model. 

Info
Refer to the Model - Instance relationship and Understanding Locations document for more details.
 

Editing a Location Model 

All properties of a location model icon, image, name, and description can be modified.
 
To edit a location model,
  1. Access the Developer Application.
  2. Click on the Model tab.
  3. Click Location in the left pane. The list of location models is displayed.
  4. Click on the name of the model you want to edit. The Edit Location Model screen is displayed.
  5. Modify the necessary details.



  6. Click Save to save the changes.

Deleting a Location Model   

A location model can be deleted when any locations are not associated with the model.
 
To delete a location model,
  1. Access the Developer Application.
  2. Click on the Model tab.
  3. Click Location in the left pane. The list of location models is displayed.
  4. Click on the ellipsis next to the name of the location, then click Delete.


(or)

Click on the name to display the information page of the location model.
Click on Actions > Delete.




5. In the Model Delete Validation popup, click Check Dependencies to view if there are any instances created for the model.

6. If there are dependencies, the View Dependencies link is displayed to view the associated instances.

7. If there are no dependencies, the Model has no Dependencies popup is displayed. 

8. Click Delete to delete the model.


Unmanage/Manage Locations

Unmanaging a location disables the processing of datapoints, alarm rules, and live data processing of the selected location. Managing the location reactivates these functions.

Note: The option to unmanage will be available if the location is currently active, whereas the option to manage will appear if the location is inactive

To unmanage/manage a location,
  1. Access the End Application.
  2. Select Locations in the left pane.
  3. Click on the name of the Location you want to manage/unmanage. This opens the location's information page.
  4. Click on Actions.
  5. Select Manage/Unmanage from the drop-down list.
  6. Click Manage/Unmanage in the location alert pop up.

    The location will now be unmanaged or managed as per the option selected.

See Also