Experiment with Amazon's Dash Buttons Using Fitlet
Posted: Sun Jul 24, 2016 5:40 am
Overview
Amazon offers quite a number of Dash Buttons which are intended to allow you to reorder your favorite products with one press of a button. The idea is to deploy a product's dash button in the area where you use that product. This allows you to simply press the dash button when the product is running low, and that product will magically appear at your doorstep a few days later.
Since Dash Buttons are relatively inexpensive at $4.99 (US) each, they are an attractive target for hacking and re-purposing for other tasks. This application note will show you how to use Dash Buttons in conjunction with your fitlet to do things other than ordering Amazon products.
Principles of Operation
Unlike other available single-button solutions, Dash Buttons are not bluetooth devices. Instead, they are WiFi devices which independently connect to Amazon's servers using a wireless network. They do not need nor do they interact with a local computer while in operation.
Because they are battery powered, Dash Buttons mostly remain in a sleep state in order to conserve energy. When a Dash Button is pressed, it wakes up, connects to its host wireless network, and communicates with Amazon's servers. The establishment of a new network connection upon each button press is what allows Dash Buttons to be re-purposed.
Each time a Dash Button wakes up and establishes a network connection, it announces its presence by issuing an Address Resolution Protocol (ARP) probe. During the ARP process the Dash Button sends it MAC address to the host network. The trick to re-purposing a button is to listen on the network for the button's MAC address and then trigger an action when that address is heard. This application note uses fitlet and some very simple software to do just that. In this case, we will use Dash Buttons to send specific text messages using the TextBelt REST API. Many other tasks other than sending texts are possible - let your imagination take you there!
Hardware
1. Fitlet
2. Assorted Dash Buttons
3. Android or iOS Smart Phone for configuring buttons
Configuring a Dash Button
Using an iOS Smart Phone
1. Open Amazon app
2. Open selection screen and select "Your Account"
3. Scroll to "Dash Devices" and select "Set up a new device"
4. Select Dash Button
5. Select "Get Started
6. Input network name and password
7. Press and hold Dash Button until blue LED flashes
8. Place iPhone next to Dash Button and press "Connect"
9. Wait for audio data transfer to complete
10. STOP - DO NOT SELECT A PRODUCT, OR EACH TIME YOU PRESS THE BUTTON YOU WILL PLACE AN ORDER !!
11. Exit the Amazon app - Dash Button configuration is complete
View Image To See iPhone Screens For Steps
Amazon offers quite a number of Dash Buttons which are intended to allow you to reorder your favorite products with one press of a button. The idea is to deploy a product's dash button in the area where you use that product. This allows you to simply press the dash button when the product is running low, and that product will magically appear at your doorstep a few days later.
Since Dash Buttons are relatively inexpensive at $4.99 (US) each, they are an attractive target for hacking and re-purposing for other tasks. This application note will show you how to use Dash Buttons in conjunction with your fitlet to do things other than ordering Amazon products.
Principles of Operation
Unlike other available single-button solutions, Dash Buttons are not bluetooth devices. Instead, they are WiFi devices which independently connect to Amazon's servers using a wireless network. They do not need nor do they interact with a local computer while in operation.
Because they are battery powered, Dash Buttons mostly remain in a sleep state in order to conserve energy. When a Dash Button is pressed, it wakes up, connects to its host wireless network, and communicates with Amazon's servers. The establishment of a new network connection upon each button press is what allows Dash Buttons to be re-purposed.
Each time a Dash Button wakes up and establishes a network connection, it announces its presence by issuing an Address Resolution Protocol (ARP) probe. During the ARP process the Dash Button sends it MAC address to the host network. The trick to re-purposing a button is to listen on the network for the button's MAC address and then trigger an action when that address is heard. This application note uses fitlet and some very simple software to do just that. In this case, we will use Dash Buttons to send specific text messages using the TextBelt REST API. Many other tasks other than sending texts are possible - let your imagination take you there!
Hardware
1. Fitlet
2. Assorted Dash Buttons
3. Android or iOS Smart Phone for configuring buttons
Configuring a Dash Button
Using an iOS Smart Phone
1. Open Amazon app
2. Open selection screen and select "Your Account"
3. Scroll to "Dash Devices" and select "Set up a new device"
4. Select Dash Button
5. Select "Get Started
6. Input network name and password
7. Press and hold Dash Button until blue LED flashes
8. Place iPhone next to Dash Button and press "Connect"
9. Wait for audio data transfer to complete
10. STOP - DO NOT SELECT A PRODUCT, OR EACH TIME YOU PRESS THE BUTTON YOU WILL PLACE AN ORDER !!
11. Exit the Amazon app - Dash Button configuration is complete
View Image To See iPhone Screens For Steps