Emits events to MQTT when an Amazon Dash button is pressed.
The dash bridge has one yaml file for configuration:
---
mqtt:
# Specify your MQTT Broker's hostname or IP address here
host: mqtt
# Preface for the topics $PREFACE/$TOPIC
preface: dash
buttons:
44:65:0d:dc:51:50: nerf_supplies
_note: follow this setup first
Install the Node module globally
$ npm install -g mqtt-dasher
Configure your buttons
$ mkdir -p /opt/mqtt-dasher
$ cp _config.yml /opt/mqtt-dasher/config.yml
$ vi /opt/mqtt-dasher/config.yml
Add systemd unit for the service
$ cp mqtt-dasher.service /etc/systemd/system
Run the server
$ systemctl start mqtt-dasher.service
Configured dash events now feed into MQTT