Skip to content

cap -based windows node project to trigger event on press of amazon dash button

License

Notifications You must be signed in to change notification settings

oneillsp96/node-amazon-dash-button-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pic

node-amazon-dash-button-windows

node app that triggers event on press of amazon dash button. Built on top of cap.

Description

ARP packet capturing with node.js to trigger event on the press of an Amazon Dash button

Requirements

Install

git clone
change MAC address (see Setup below)
node app.js

Setup

  • Follow Amazon's setup instructions until the last step. When prompted to choose a product simply close the amazon app without finishing
  • Use Wireshark or a similar packet sniffer to find your Dash Button's MAC address
  • Replace MAC address in this line: if (ret.info.srcmac === "74:75:48:b8:55:23") with your own

Notes

  • Node Modules were checked in due to a problem with cap's node-gyp rebuild script not installing properly through npm
  • On button press, I use open to open a new Netflix window when the dash button is pressed, but you can use this event to do any number of things such as POSTing to a Google Sheet, interacting with Philips Hue bulbs, etc. Have fun!

About

cap -based windows node project to trigger event on press of amazon dash button

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published