This guide will walk you through how to subscribe your devices' messages as well as how to send a command to a specific device, using Eclipse Mosquitto’s CLIs to subscribe or publish messages.
Browse , navigate to "User -> Organization -> Secret Credentials", create a full access "Access Key", set down it as <Password>, and also "Organization ID" as <OrgID>.
Receive Devices' Messages
Let’s listen for all of your devices' messages.
Open a terminal window and execute the following command.
You should replace <OrgId> and <Password> with what you got from "Credentials", and replace 2CF7F12XXXXXXXXX with the Device EUI you own.
🎉 Congratulations! Now you know how to monitor and receive messages via MQTT. Go build something awesome!
It shows each data collected by sensors, with Device EUI , Device Channel, Sensor EUI, Measurement ID, Measurement Value, and timestamp, see the for more details.