Skip to content

helloingob/Dasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dasher

This is a poc of an Amazon Dash button interceptor. If a button press is detected, an action is triggered. A loop intercepts ARP requests and executes an external program and changes the light.

Requirements

Important Note

This special build is for WINDOWS 64bit. It was developed on Windows 10. It works with every OS, but you need the specific jNetPcap library and Npcap files.

  1. Copy the file jnetpcap.dll to your "/Windows/System32" folder
  2. Install Npcap

Setup Dash Button

Setup Button with Amazon app, but cancel the last setup step with the top right "x"! (Disable notification if you need)

Get Dash Button MAC address

  1. Start Wireshark
  2. Select your interface connected to the same network as the button
  3. Write "arp" in filterbox
  4. Press Dash Button
  5. Look for the source "AmazonTe"
  6. Note MAC adress down

Wireshark ARP Request

Get Hue Settings

  1. Clone PhilipsHueSDK-DesktopApp
  2. Import as Java Project
  3. Run
  4. Setup up connection
  5. Note down your ip & username from generated "MyHue.properties"

Build

  • Edit MAC, KODI_EXECUTABLE, HUE_IP & HUE_USER in DasherMain.java and select your interface in line 15.
  • Run "mvn clean package"

Live Demo