@dwk/doorbell-dash-slack
Dash Button as a Slack notification doorbell
Last updated a year ago by dwk .
MIT · Original npm · Tarball · package.json
$ cnpm install @dwk/doorbell-dash-slack 
SYNC missed versions from official npm registry.

Doorbell Dash Slack

Use an Amazon Dash Button as a doorbell and send the notifications to a Slack channel.

Usage

Usage: doorbell-dash-slack [options]

Options:
  -V, --version                       output the version number
  -m, --mac-address [macAddress]      Dash button MAC address
  -w, --web-hook [webhookURL]         Slack webhook URL
  -c, --channel [channelName]         Slack channel to notify (default: "#doorbell")
  -u, --username [username]           Slack username (default: "Doorbell")
  -i, --icon [iconEmoji]              Slack icon emoji (default: ":bell:")
  -s, --slack-message [slackMessage]  Slack message (default: "Someone is at the door")
  -h, --help                          output usage information

Defaults are pulled in from the following env variables is not provided on the command line:

  • DDS_AMAZON_DASH_MAC macAddress
  • DDS_SLACK_URL webhookURL
  • DDS_SLACK_CHANNEL channelName
  • DDS_SLACK_USERNAME username
  • DDS_SLACK_ICON_EMOJI iconEmoji
  • DDS_SLACK_MESSAGE slackMessage

Current Tags

  • 1.0.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |