Best Practice 11.1 – Synchronize device states upon connection to the cloud - IoT Lens Checklist

Best Practice 11.1 – Synchronize device states upon connection to the cloud

IoT devices are not always connected to the cloud. Design a mechanism to synchronize device states every time the device has access to the cloud. Synchronizing the device state to the cloud allows the application to get and update device state easily, as the application doesn’t have to wait for the device to come online.

Recommendation 11.1.1 – Utilize a digital device state digital representation to synchronize device state

  • AWS provides device shadow capabilities that can be used to synchronize device state when the device connects to the cloud. The AWS IoT Device Shadow service maintains a shadow for each device that you connect to AWS IoT and is supported by the AWS IoT Device SDK, AWS IoT Greengrass core, and Amazon FreeRTOS.

  • Synchronizing device shadows - Device SDKs and the AWS IoT Core take care of synchronizing property values between the connected device and its device shadow in AWS IoT Core.

  • AWS IoT Greengrass – AWS IoT Greengrass core software provides local shadow synchronization of devices and these shadows can be configured to sync with cloud.

  • FreeRTOS - The Amazon FreeRTOS device shadow API operations define functions to create, update, and delete AWS IoT Device Shadows.