How to Create a Multi-Component OTA Job

Following are the steps to create an OTAOver-the-Air job for a group of multi-component devices using Ayla's IoT Command Center (also referred to as ICC or the Command Center):

  1. Click Command Center in the Navigation Panel:

  1. Make sure that you uploaded your multi-component image.
  1. Click the Host OTA Images tab. Search for your image in the table listing on this tab. (Refer to the example below.) If your image is not in the list proceed to Step b to upload the image.

  1. Click the CREATE NEW IMAGE button, as shown in the example above.
  1. In the Create Host OTA Image dialog box (shown below), complete the fields as follows:

  • For OEM Model, select the OEM model of the devices for this ICC job. This list contains the model IDs of the OEM’s host application board, which are extracted from each Ayla template associated with your OEM admin role. Your selection specifies the OEM model for the target devices that will be updated per this ICCIoT Command Center job.
  • For Single/Multi Image Device, select whether this is for a single- or multi-image device. If you select Multi Image Device, the Component Property Name to Validate for Target Version field displays, as shown below and described next.

  • For Component Property Name to Validate for the Target Version, select the name of the property to target on the devices when downloading this image for the ICCIoT Command Center job.
  • For OTA Target Version, enter the name/firmware version of the image that you are uploading.
  • For Image File, click the UPLOAD IMAGE button to navigate to and upload the image.

NOTE

The remaining fields are optional. Click here for a description of these fields (provided under Create a New Image).

  • Click the CREATE button to add this host OTA image to the list of images that can be used in ICC jobs. The following message displays:

  1. Click the Jobs tab to create a Host OTA Job. (Refer to the following example.)

  1. Click the CREATE DEVICE JOB button, as shown in the example above. This displays a menu page to select a job type, as shown below:

  1. Click Host OTA to open the Create Host OTA page (example shown below):

  1. Enter your Job details as follows:
  1. For OEM Model, select the OEM model of the devices for this ICC job. This list contains the model IDs of the OEM’s host application board, which are extracted from each Ayla template associated with your OEM admin role. Your selection specifies the OEM model of the target devices that will receive the firmware image uploaded for this ICC job.
  2. For Job Name, enter a name for this ICC job.
  3. For Recurrence Type, select one of the following options to specify how often this ICC job must be downloaded to the devices:
  • Continuous - When this ICC job is active, the Ayla platform automatically continues to evaluate which devices in the field have the same configurations as those specified for this ICC job, and if new devices that match the job configurations are added, the platform will identify those devices as candidates and push this OTA upgrade at runtime to those new devices when they are online.
  • One Time - Once this ICC job is activated, the Ayla platform evaluates which devices match the configurations for this ICC job, and then pushes the OTA upgrade to those devices. This evaluation only happens one time upon activating the ICC job.
  1. For Number of Retries, select the number of times to attempt to download this ICC job if the first attempt is not successful.
  2. For Delivery Type, select one of the following options to specify how this ICC Job should be executed:
  • System Push - When new devices that match the configurations in this ICC job are added and online, the Ayla platform will push this Host OTA upgrade job at the runtime of those new devices. The number of times this system push occurs depends on whether you configured the recurrence for Continuous or One Time.
  • User Consent - The end-user must approve the delivery of this ICC job when it is activated, or the job is not pushed to the devices. You may also leverage the Cloud APIs or Mobile SDKsSoftware Development Kits to obtain this user consent; click here to use either.
  1. Click the CONTINUE button (shown below).
  2. On the next page, select the OTA image file of the host firmware that will be used to upgrade the target devices for this ICC job. This list contains the host firmware images that you uploaded. The images for multi-component device upgrades include the device property name in parenthesis. (Refer to the example below.)

Notice also that this page is on the OTA Attributes tab, as shown in the example below.

Upon selecting the image file, the remaining fields display on the OTA Attributes tab.

  1. For Current Host Software Version in the UPGRADE FROM section (shown in the example above), do either of the following:
  • Enter the current software version of the host firmware that should be on the target devices to be upgraded.
  • Select All versions to upgrade target devices with any software version to the new image host software version.
  1. Click the CONTINUE button to move to the Set Filter tab (example shown below).

  1. In Select Filter Option, select one of the following filters and enter the details required to specify the criteria for the list of devices to target for your upgrade: (Click each of the following filter options to expand its configuration steps.)

If you do not wish to select a filter, select None in the drop-down list. After selecting None or completing a filter option, click the Estimated Devices Included button to find out approximately how many devices will be included in this upgrade. Refer to the following example:

  1. Click CONTINUE button to open the Set A Schedule tab. Notice at the top of the Create Host OTA page, two different messages display consecutively when this Host OTA ICC job is created and saved properly. Following are examples of the messages:

  1. In the Schedule Type field, select Recurring Schedule if you wish to set a schedule for this ICC job (example shown below):

The two schedule types are:

  • None - the job runs upon activation without an associated schedule. In this case, you have to manually manage starting and stopping the job.
  • Recurring Schedule - The job runs during the active dates, day, and execution time ranges specified in the schedule. When outside of the scheduled times, the job is paused. Following is an example of the settings required for a schedule:

  1. In Schedule Timezone, select the timezone for the scheduled parameters of this ICC job.
  2. In Job Start Date, select the date to specify when the job will start.
  3. In Job End Date, select the date to specify when to stop the job.
  4. In Job Active Days, click the checkboxes for the days that this job should be activated.
  5. In For Job Active Time, click either All Day (24 hrs) or Set Time Range to specify the duration that this job will run on the specified dates. If you click Set Time Range, complete the following fields:
  • In From, select the time to start the job each day you specified in steps m - o above.
  • In To, select the time to stop the job each day you specified in steps m - o above.
  1. Click the SAVE button. The following message displays at the top of the page when the schedule has been successfully saved for this ICC job.

Your new multi-component OTA job is added to the Jobs tab of Ayla's IoT Command Center. If you wish to override the schedule to start the job sooner, click the start button shown in the following example:

 

 

 

 

See also: ICC: Jobs tab, ICC: Device Filters tab, ICC: Files tab, ICC: Host OTA Images tab, How to Create a Multi-Component OTA Job, How to Create a Continuous OTA Job, Dashboard Roles for Host OTA Jobs

Please click here to let us know how we're doing. Thank you.