Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dashhooks

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dashhooks

So you have an Amazon Dash button. Wouldn't it be awesome if you could put it to some other use?

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

So you have an Amazon Dash button. Wouldn't it be awesome if you could put it to some other use?

That's where DashHooks comes in. DashHooks runs within your WiFi and monitors your Dash Button for presses. When a press is detected, DashHooks runs the configured script. As simple as that.

git clone https://github.com/SidBala/DashHooks.git
npm install
node index.js -a a0:32:ab:21:37:fa -c ./sampleSlackNotification.sh

-a is the MAC address of your Dash Button
-c is the command/script to run when the button is pressed.
-i is the name of the network interface to listen on. Defaults to 'en0' if not specified.

Start with no options first. This will listen for all ARP probes in your network. If you press the Dash button now, DashHooks will show logs. This way, you can quickly determine your DashButton's MAC address without hunting for it in your router's UI.

FAQs

Package last updated on 08 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc