In this step, you enable the DeepLens to send MQTT messages to the RaspberryPi_SenseHAT device.
1. On the group configuration page, choose Subscriptions, and then choose Add Subscription.
2. Configure the subscription:
3. Under Topic filter, enter deeplens/trash/infer, and then choose Next.
4. Choose Finish, then verify Subscriptions
5. Choose Actions and then Choose Deploy
You will see the status update like below while the deployment is In Progress
You will see the status change to the below when the deployment is Successfully Completed
This will update the AWS DeepLens Greengrass Core configuration to send the MQTT topic to the RaspberryPi_SenseHAT device that was added.
6. Before we move to the next step, we need to get a couple pieces of information from the IoT Console:
We need to get the IP Address of the AWS DeepLens:
Choose Cores, then Select the deeplens
Take a note of the IP Address at the top of the list, this should be an IPv4 address from your local network. Then Choose Back Arrow in upper left corner. This will get you back to the Greengrass Group Console.
Determine your AWS IoT endpoint:
We need to Click the Back Arrow one more time in the upper left corner to take us back to the IoT Console.
In the AWS IoT console, in the navigation pane, choose Settings.
Under Settings, make a note of the value of Endpoint. You will use this value in as we configure the Raspberry Pi to communicate with the DeepLens.