Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including mqtt-dasher with all npm packages installed. Try it out:

var mqttDasher = require("mqtt-dasher")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

mqtt-dasher v0.1.0

Notifies MQTT when an Amazon Dash button is pressed

MQTT Dasher

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

GitHub tag


The dash bridge has one yaml file for configuration:

    # Specify your MQTT Broker's hostname or IP address here
    host: mqtt
    # Preface for the topics $PREFACE/$TOPIC
    preface: dash

    44:65:0d:dc:51:50: nerf_supplies


_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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free