0.1.0 • Published 10 years ago

mqtt-dasher v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

MQTT Dasher

Emits events to MQTT when an Amazon Dash button is pressed.

GitHub tag

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

  1. Install the Node module globally

    $ npm install -g mqtt-dasher
  2. Configure your buttons

    $ vi /opt/mqtt-dasher/config.yml
  3. Run the server

    $ CONFIG_DIR=/opt/mqtt-dasher mqtt-dasher
  4. Configured dash events now feed into MQTT