AWS IoT Button – Deep dive

Spread the love

What is AWS IoT Button?

The AWS IoT Button is a programmable button based on the Amazon Dash Button hardware. This simple Wi-Fi device is easy to configure and designed for developers to get started with Amazon AWS IoT Core, Amazon AWS Lambda, Amazon DynamoDB, Amazon SNS, and many other AWS Services without writing code for device.

You can code the button’s logic in the AWS cloud to configure button clicks to count or track items, call or alert someone, start or stop something, order services, or even provide feedback. For example, you can click the button to unlock or start a car, open your garage door, deploying a virtual machine, call a cab, call a maintenance engineer, call your spouse or a customer service representative, track the use of common household chores, medications or products, or remotely control your home appliances.

The AWS IoT Button is a programmable, Wi-Fi-enabled handheld input device that allows Amazon Web Services customers to automate an action in the Amazon public cloud, such as deploying a virtual machine, by literally pushing a button on a wireless dongle. The button is being marketed as a creative way to help AWS customers quickly understand how easy it is to incorporate Amazon cloud services in development projects.

The button can be used as a remote control for Netflix, a switch for your Philips Hue light bulb, a check-in/check-out device for Airbnb guests, or a way to order your favorite pizza for delivery. You can integrate it with third-party APIs like Twitter, Facebook, Twilio, Slack or even your own company’s applications. Connect it to things we haven’t even thought of yet. We can’t wait to see what you will build with the AWS IoT Button!

Like Dash, its popular consumer-product replentishment counterpart, Amazon’s IoT Button simplifies the front-end process for placing an order. In this case, however, the order is a web service that is configured through the AWS IoT Rules Engine. Unlike Dash buttons, which are pre-programmed to perform a single task like re-ordering a specific brand of laundry detergent, for example, IoT Buttons can be customized with AWS Lambda functions.

The button’s logic can be customized with three different types of input: single click, double click or long press and associated notifications are sent wirelessly, using Amazon Simple Notification Service (SNS). Custom logic can be written using Python, Node.js or Java programming languages. Developers can also upload third-party AWS Lambda functions to interact with other internet of things objects.

 

How It AWS IoT Button Works?

First, you will need an AWS account. It’s free and easy to create an account. Sign up now. After you configure the AWS IoT Button to connect to your Wi-Fi network and provision the button with an AWS IoT Core certificate and private key, the button will securely connect to AWS IoT Core and publish a message on a topic when clicked. You can use the AWS IoT rules engine to set up a rule and configure single-click, double-click, or long-press events to be routed to any AWS service. You can configure it to send you a notification through Amazon SNS or store the clicks in an Amazon DynamoDB table. You can even code custom logic written in Node.js, Python, or Java in an AWS Lambda function, and then configure the function to connect to third-party services or other AWS IoT-powered connected things.

 

AWS IoT Button Architecture Diagram:

AWS IoT Button Working

How to get started with AWS IoT Button?

You can use the Amazon AWS IoT button wizard in the Amazon Lambda console to easily and quickly configure your AWS IoT button. The Lambda console contains a blueprint that automates the process of setting up your AWS IoT button by:

  • Creating and activating an X.509 certificate and private key for authenticating with Amazon AWS IoT.
  • Walking you through the configuration of your Amazon IoT button in order to connect to your Wi-Fi network.
  • Walking you through the copying of your certificate and private key to your Amazon IoT button.
  • Creating and attaching to the certificate an Amazon IoT policy that gives the button permission to make calls to AWS IoT service.
  • Creating an Amazon AWS IoT rule that invokes a AWS Lambda service function when your Amazon AWS IoT button is pressed.
  • Creating an AWS IAM role and policy that allows the AWS Lambda function to send email messages using Amazon SNS.
  • Creating a AWS Lambda function that sends an email message to the address specified in the Lambda function code.

 

Are the AWS IoT buttons available outside of the US?

Yes, in addition to the United States, the buttons are available in the Germany, United Kingdom, France, Italy and Spain.

 

How do I setup the button to use at home or office Wi-Fi?

  • Press and hold the button for five seconds until the LED starts flashing blue.
  • Use your phone or computer to connect to the Button ConfigureMe – XXXX Wi-Fi network. Use the last 8 digits of the serial number of your device as the WPA2-PSK password.
  • In a browser, navigate to http://192.168.0.1/index.html.
  • Select the network (SSID) you want the button to connect to and enter its password.
  • Please use the AWS IoT Button Dev app for iOS or Android.

 

Where we can use AWS IoT Button?

The button will work wherever there is Wi-Fi (2.4 Ghz). It is designed to work in a home or office environment, but is not ideal for spaces with a congested Wi-Fi spectrum like expo halls, lunch rooms, keynote rooms, or hallways. If button can connect to the Internet, it will work.

AWS IoT Button use cases, applications, ideas and usage examples?

  • Machine Breakdown Maintenance Call
  • Count items
  • Track items
  • deploying a virtual machine
  • Call someone
  • Remote control for Netflix
  • A switch for your Philips Hue light bulb
  • A check-in/check-out device for Airbnb guests
  • Way to order your favorite pizza for delivery
  • You can integrate it with third-party APIs like Twitter, Facebook, Twilio, Slack or even your own company’s applications
  • Alert someone
  • Start or stop something
  • Order services
  • Provide feedback

 

AWS IoT Button Use in Enterprise – Video

 

What is AWS IoT Button price? Where to buy it?

$19.95. Buy from official Amazon Website

 

How long will the AWS IoT Button battery last?

The battery on the 2nd Gen AWS IoT Button will last for approximately 2,000 clicks. When the device battery runs out of charge, there is no way to recharge or replace the battery. This is one of the main negative point of AWS Button.

 

What’s the difference between an AWS IoT Button and an AWS IoT 1-Click compatible device?

The AWS IoT Button connects to Amazon IoT Core and can be configured using the “AWS IoT Button Dev” mobile app. AWS IoT 1-Click is a new service that supports multiple devices including the AWS IoT Enterprise Button which can be configured using the AWS IoT 1-Click Mobile app.

 

AWS IoT Button Setup Tutorial:

AWS IoT Button step by step tutorial for IoT developers.

List of AWS IoT Button Projects:

Here is the community contributed AWS IoT Button projects list.

AWS IoT Button alternatives:

 

You may also like to read:

MeenaG Staff

Internet of Things Enthusiast

Leave a Reply