mqtt-dasher
v0.1.0
Published
Notifies MQTT when an Amazon Dash button is pressed
Downloads
5
Readme
MQTT Dasher
Emits events to MQTT when an Amazon Dash button is pressed.
Configuration
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
Usage
_note: follow this setup first
Install the Node module globally
$ npm install -g mqtt-dasher
Configure your buttons
$ vi /opt/mqtt-dasher/config.yml
Run the server
$ CONFIG_DIR=/opt/mqtt-dasher mqtt-dasher
Configured dash events now feed into MQTT