Greengrassv2 mqtt raw connection - messages I do not understand

0

I am doing some tests performing a connection using a generic mqtt client (mosquitto or paho). I can connect and send message to the AWS IoT Core and receiving them with the Mqtt Test client (WEB). I also receive a bunch of other messages that I do not understand. What is the purpose of those messages? Why I am receiving them? What are they saying?

$aws/things/MyDeviceId/shadow/name/AWSManagedGreengrassV2Deployment/get
{
  "shadowName": "AWSManagedGreengrassV2Deployment",
  "thingName": "MyDeviceId"
}
$aws/things/MyDeviceId-gci/shadow/get
{
  "thingName": "MyDeviceId-gci"
}
$aws/things/MyDeviceId/shadow/name/AWSManagedGreengrassV2Deployment/get/rejected
{
  "code": 404,
  "message": "No shadow exists with name: 'MyDeviceId~AWSManagedGreengrassV2Deployment'"
}
$aws/things/MyDeviceId-gci/shadow/get/rejected
{
  "code": 404,
  "message": "No shadow exists with name: 'MyDeviceId-gci'"
}

Thanks

asked 3 months ago175 views
1 Answer
2

Hi,

Any MQTT topics that start with $aws/things/thingName/shadow are topics reserved for device shadow

AWSManagedGreengrassV2Deployment is reserved for Greengrass to manage deployments that target individual core devices

AWS
answered 3 months ago
profile pictureAWS
EXPERT
Greg_B
reviewed 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions