@dwk/doorbell-dash-slack
v1.0.0
Published
Dash Button as a Slack notification doorbell
Downloads
1
Readme
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
macAddressDDS_SLACK_URL
webhookURLDDS_SLACK_CHANNEL
channelNameDDS_SLACK_USERNAME
usernameDDS_SLACK_ICON_EMOJI
iconEmojiDDS_SLACK_MESSAGE
slackMessage