Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
77 lines (48 sloc) 4.12 KB

Amazon Dash Button Hack

Dash Button Discovery App and Server Daemon 160715 v4.0

Summary:


Updated components for specific versions can be found on the release page of the gitrepo https://github.com/fiveseven808/AmazonDashButtonHack/releases/tag/160715

Download the latest version here!


Instructions as of 7/16/2016
Requirements:

  • Amazon Dash Button connected to Wifi (follow instructions here)
  • Class C subnet
    (If you don't know what this is, don't worry about it)
  • Preferably a reserved DHCP IP for the button
    (If you don't know what this is, you may need to rerun the Discovery program from time to time)

Normal Usage Instructions:

  1. Double click "AmazonButton_Discovery_160715_****.exe" to start scanning for buttons
  2. Click "OK" at the prompt
  3. Start pushing the button you wish to pair repeatedly. Keep the LED "White!"
  4. If no Amazon Devices are found, try again, but start pushing the button as soon as you double click on the EXE
  5. If more than one Amazon Devices are found, You'll have to go and figure out what IP corresponds with your button on your own. I have not automated this process yet. Disconnect and power off your other Amazon devices if you wish to use this program easily (i.e. Echo, Dash, Fire TV, Fire Tablet, etc)
  6. Pick a program you wish to run when the Button is pushed
  7. Enter a comment for the daemon, this will identify the particular daemon corresponding with the particular button. Comment ex. "Elements button toggling Porch Lights"
  8. Finished! Repeat as necessary for any other buttons.

If you already know the IP of your button:

  1. Double click AmazonButton_v4.0.exe
  2. Enter the known/reserved IP of your Dash button
  3. Pick a program you wish to run when the Button is pushed
  4. Enter a comment for the daemon, this will identify the particular daemon corresponding with the particular button. Comment ex. "Elements button toggling Porch Lights"
  5. Finished! Repeat as necessary for any other buttons.

Command Line Arguments:

  1. AmazonButton_v4.0.exe [Button IP] [Program to Launch] "[Optional Comment]"
  2. Repeat as necessary for any other buttons.

Wishlist: (To be implemented)

  • Batch file creation to allow followup button usage (if Reserved IPs) without having to run through the Discovery program
  • Automatic "Amazon Button vs other Amazon device" distinguishing
  • Button "Manager" GUI

Known bugs

  • Windows Defender (and only Defender it seems) flags my program as a false positive. A review has been submitted to Microsoft already. Issues that are opened and are do not offer a suggestion on how to fix this will be closed immediately since source code is available. More details here

  • There are reports that the new JK29LP button loses it's Wifi configuration if you disassociate it with your amazon account. The current "workaround" is to use a dummy Amazon account to setup your button with your phone and then sign back into your own account so you can still use the app. More details here

License:

Creative Commons Attribution-NonCommercial 4.0 International

Obviously the creator of this software can't and won't be held responsible for any sort of "issues" or "problems" that may arise through use of or viewing of any files related to this project.

Donations:

If this project has been useful to you, I'd appreciate it if you would buy me a drink! :D