I updated the IoT project to display a snapshot of the IoT device whenever there is a change of state (i.e. color change or on/off). You will need to refresh the Device History table and then you can select the timestamp that you want to view. I am using the AWS API gateway to pull the data from a DynamoDB table using a Lambda function. I used javascript and jQuery to display the table and select the timestamp entry from the displayed table.
I think I will make some updates to automatically display the full device history table along with a snapshot of the latest state. Then if you want to view images of previous states you can just select the corresponding timestamp.
No responses yet