Greengrass Device

Greengrass Device

AWS IoT Greengrass is software that extends cloud capabilities to devices located in remote or disconnected environments. It allows devices to perform computing, messaging, data caching, and sync capabilities locally while still interacting with the broader AWS cloud.

By using AWS IoT Greengrass, you can run AWS Lambda functions on your devices, enabling them to respond quickly to local events, reducing latency and minimizing the amount of data sent to the cloud. It also supports local device discovery, secure communication, and over-the-air updates.

AWS IoT Greengrass enables local processing and storage, allowing devices to operate with reduced or intermittent connectivity. This is particularly useful in industrial automation, agriculture, and many more scenarios, where devices can operate with reduced or intermittent connectivity.

Create a Greengrass device

To create a Greengrass device for your organization:

  1. From the left navigation, mouseover the Devices module. Click Greengrass Device.
  2. Along the top and toward the right, select Create Device.
  3. Enter data in the following fields:

    (Screen: Create Device)

    • Unique ID: Enter the unique ID of a device.
    • Display Name: Enter the display name for a device.
    • Entity: Select the entity for your device.
    • Template: Select the template for your device.
    • Device Type : Select device type It should be either Nucleus Classic or Nucleus Lite
    • Notes: You can add required notes for a device.

To onboard a Greengrass device, you need to follow the two main steps. The first step is to create a device by filling in the required details, such as the unique ID, display name, entity, template, notes and operating system. Once you have entered all the necessary information, click ‘Save’ or Save & View to whitelist your Greengrass device.

After successfully whitelisting your Greengrass device, you can download connection kit from list page. Copy the pre-created IoT thing connection kit and installer onto your device, then set it up locally. No AWS IAM role or credentials needed.

Greengrass device list

To view the Greengrass device list:

  1. From the left navigation, mouseover the Devices module. In the middle and toward the down, select Greengrass Device.
  2. The Greengrass device list displays a unique ID, device name, template name, entity name, devices, last connection, last communication, device status, status and actions.
  3. Download Connection Kit and install on to your device. Once install successfully It will automatically connect the device.

(Screen: Greengrass Device List)

The first four columns show the Unique ID, and the device, template and entity names.

  • Last Connection: Time of the last connection by a device to the cloud.
  • Last Communication: Time of the last contact where a device sends the telemetry data.
  • Device Status: It has relevance with cloud connectivity.
    • Connected: A device is connected to the cloud and transfers data.
    • Disconnected: A device is disconnected from the cloud. To join a device with the cloud, set:
      • Unique ID
      • CPID or SID
      • Environment: Pre-QA, POC, or Production
      • Discovery URL as per the environment
      • Certificate: Provide certificate path
      • Place sensor value
    • Released: This is a default device status once you create your Greengrass device.

When you copy the command and paste it into your actual Greengrass device, AWS IoT Core will acquire it.

  • Status: It is related to /IOTCONNECT™. It can be active or inactive.
    • Active: Device is connected to /IOTCONNECT™ and ready to use anytime.
    • Inactive: Device is unplugged from /IOTCONNECT™. To use it back, activate the device.
  • Actions: Apart from deleting a device, you can also track data change.
    • Track Data Change: It shows the data on created date, created by, updated data and updated by.

(Screen: Track Data Change)

    • Delete: Delete a device from /IOTCONNECT™.
  • Device Filter:
    1. Apply the filter from the top-right corner of the device list.
    2. Add filters like entity and device status by selecting the + icon.
    3. Add or remove any filter at any time.

(Screen: Device Filter)

/IOTCONNECT™ offers six device filters. Apply any filter, enter the required keywords or select an option to retrieve matching results in the device list. Click Apply Filter to apply it.

Edit a Greengrass device

To edit a device:

    1. Click on the Unique ID from the device list. This will show you the fields to edit.
    2. Editing a device will take you to Device Info of Device Details. Click Edit Device Info from the top right corner of the Device Info. This will allow you to edit basic device details like its display name, associated entity, notes and device image. You cannot edit the template or authentication type.

(Screen: Device Filter)

  1. Click Save to save editing a device changes.

Delete a device

To delete a device:

  1. Select the Delete Device icon from the actions lane.
  2. It will present the dialogue box titled ‘Delete’.

(Screen: Delete Device)

  1. Click Ok to delete a device.