@dwk/doorbell-dash-slack

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @dwk/doorbell-dash-slack

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.04 kB

Total Files

5

Last publish

Collaborators

  • dwk