0.1.0 • Published 6 years ago

huelog-slack v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

huelog-slack

NPM Package Build Status Coverage Status Maintainability Dependencies Greenkeeper badge

Slack output for huestatus events

Features

  • Broadcasts status events onto a slack channel

Installation

npm install -g huestatus huelog-slack

Create a .huerc file on your home directory, see HueStatus Docs for more info. Add an object like this to the reporters array:

{
  "name": "huelog-slack",
  "logLevel": "info",
  "slackWebhookUrl": "slack address here"
}

Configuring a slack app (in slack)

  • Click your workspace name in the top left to open the menu.
  • Select Manage Apps.
  • Select Custom Integrations
  • Click on Incoming WebHooks
  • Click Add Configuration
  • Select the channel that messages will be posted to, or create a new channel
  • Click Add Incoming WebHooks integrations
  • The Webhook URL address should be copied into the .huerc configuration file, under the setting slackWebhookUrl

Then run huestatus. As monitored statuses change, HueStatus will output information to the slack channel.