GithubHelp home page GithubHelp logo

dash-button's Introduction

Introduction

The idea behind this repo was to determine when an Amazon Dash Button was pressed, and perform some sort of action.

YouTube

YouTube: https://www.youtube.com/watch?v=xSc5uhywWWQ&feature=youtu.be

Setup

First, continue through step 5 on the official Amazon dash button setup instructions: https://www.amazon.com/gp/help/customer/display.html?nodeId=201746340

When you arrive on the step to select which product, exit out of the setup.

MAC address

How you can determine if the Dash button is pressed, is by it's MAC address. The Dash is usually always off to conserve battery life. Whenever it is pressed, it turns on, connects to the WiFi network it's configured with, and then orders something. So whenever you press it, your network will be sent a request to connect with it's MAC address.

To determine the MAC address of the Dash, connect your computer to the same network that you set up your Dash to connect to. You can then run the MACsniffer.py progam using sudo python MACsniffer.py

You may have to install scapy, libnet, and pcapy before you are able to run the python program.

Other

From what I've determined, it takes 45 seconds before you can press the Dash again.

The libraries I needed to install on my Mac were: pylibpcap-0.6.4, libdnet-1.12, and scapy-2.3.2

dash-button's People

Contributors

cwalk avatar walkc120 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.