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.
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.
- Copy the file jnetpcap.dll to your "/Windows/System32" folder
- Install Npcap
Setup Button with Amazon app, but cancel the last setup step with the top right "x"! (Disable notification if you need)
- Start Wireshark
- Select your interface connected to the same network as the button
- Write "arp" in filterbox
- Press Dash Button
- Look for the source "AmazonTe"
- Note MAC adress down
- Clone PhilipsHueSDK-DesktopApp
- Import as Java Project
- Run
- Setup up connection
- Note down your ip & username from generated "MyHue.properties"
- Edit MAC, KODI_EXECUTABLE, HUE_IP & HUE_USER in DasherMain.java and select your interface in line 15.
- Run "mvn clean package"
- Kodi & Chill: https://vimeo.com/186109134