View Device MQTT Messages with the AWS IoT MQTT Client
You can use the AWS IoT MQTT client to better understand the MQTT messages sent by a device.
Devices publish MQTT messages on topics. You can use the AWS IoT MQTT client to subscribe to these topics to see these messages.
To view MQTT messages:
In the AWS IoT console, in the left navigation pane, choose Test.
Subscribe to the topic on which your thing publishes. In the case of the AWS IoT button, you can subscribe to
iotbutton/+
. In Subscribe to a topic, in the Subscription topic field, typeiotbutton/+
, and then choose Subscribe to topic. This topic should appear under Subscriptions. Choose it there.Press your AWS IoT button, and then view the message in the AWS IoT MQTT client.