Newly Paranoid Maintainers

mqtt-dasher

0.1.0 • Public • Published

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

install

npm i mqtt-dasher

Downloadsweekly downloads

5

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability