Skip to Content
Learning AWS IoT
book

Learning AWS IoT

by Agus Kurniawan
January 2018
Intermediate to advanced
278 pages
5h 13m
English
Packt Publishing
Content preview from Learning AWS IoT

Testing

Now you can test your AWS IoT Button using the MQTT client from AWS IoT. Perform the following steps:

  1. Click  on the Test menu and then fill in the subscriber topic, iotbutton/+,  and click on the Subscribe button.
  2. Once done, you can test it by clicking on your AWS IoT Button. Once the button is pressed, you will see a blinking white LED. This means that AWS IoT Button is sending data to AWS IoT. After data transmission to AWS is completed, our MQTT client can see the message "message": "Hello from AWS IoT console" , as seen in the following screenshot. Try to perform a double click on AWS IoT Button. It should show  "DOUBLE" on clickType from message:
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson

Publisher Resources

ISBN: 9781788396110Supplemental Content