Skip to content

Instantly share code, notes, and snippets.

View Joffcom's full-sized avatar
🍍
PIneappleOps

Jon Joffcom

🍍
PIneappleOps
View GitHub Profile
@Joffcom
Joffcom / huebot.js
Last active June 12, 2019 18:45
Set Hue light to red for 2 seconds when certain words are mentioned in Slack
var Botkit = require('botkit');
var unirest = require('unirest');
var botToken = 'SLACK_BOT_TOKEN';
var hueBridge = 'IP_OF_HUE_BRIDGE';
var hueUser = 'HUE_USER_ID_FROM_BRIDGE';
var controller = Botkit.slackbot({
debug: false
});

Keybase proof

I hereby claim:

  • I am joffcom on github.
  • I am joffcom (https://keybase.io/joffcom) on keybase.
  • I have a public key ASDuCU05ql1f989ss4N0v4jTedlN_ALMqkjGYt_L94WHgQo

To claim this, I am signing this object: