-
Run node-red as root due to pcap/kernel limitations to get promiscuous mode. To achieve this change the systemd service configuration file for nodered.
-
Ensure the libcap is installed
sudo apt-get install libpcap-dev
-
Install node-pcap manually from. At least it helped me to build it without errors.
sudo npm install https://github.com/mranney/node_pcap.git
A simple node that listens for when an Amazon Dash button is pressed.
# dependancy on libpcap for reading packets
$ sudo apt-get install libpcap-dev
npm install node-red-contrib-amazondash
Configure the node with the MAC address of the Amazon Dash Button (More Information on how to get this https://github.com/hortinstein/node-dash-button)
- Find a dash button node