huelog-slack

0.1.0 • Public • Published

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.

Package Sidebar

Install

npm i huelog-slack

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • computa_mike
  • apc-dev-ops