todbot / blink1

Official software for blink(1) USB RGB LED by ThingM
https://blink1.thingm.com/
Other
956 stars 237 forks source link

Blink1Control: add Slack integration #275

Open todbot opened 8 years ago

todbot commented 8 years ago

Looks like it might not be too hard to add Slack integration, since IFTTT Slack channel doesn't support Slack event triggers.

Slack API: https://api.slack.com Supported events: https://api.slack.com/events

Perhaps Blink1Control configuration is:

  1. User inputs Web API auth token generated here: https://api.slack.com/web
  2. User picks which events they want and what color patterns to trigger
conorsch commented 7 years ago

Consider https://github.com/dschep/ntfy as a simpler alternative. Once configured, ntfy send "foo" will work just fine from the CLI, so it should be trivial to use with blink as well.

toddkurtz commented 7 years ago

This would be cool! Can someone provide good instructions or an example of this set up? This would give my blink a purpose.

On Feb 17, 2016 3:20 PM, "Tod E. Kurt" notifications@github.com wrote:

Looks like it might not be too hard to add Slack integration, since IFTTT Slack channel doesn't support Slack event triggers.

Slack API: https://api.slack.com Supported events: https://api.slack.com/events

Perhaps Blink1Control configuration is:

  1. User inputs Web API auth token generated here: https://api.slack.com/web
  2. User picks which events they want and what color patterns to trigger

— Reply to this email directly or view it on GitHub https://github.com/todbot/blink1/issues/275.

Jammizzle commented 7 years ago

Just looking to see if anyone has made any advancements on this? This sounds really interesting and I'd like to implement this in our business

jscontrust commented 7 years ago

+1 Would love to have that. All my colleagues have their sound disabled for a good reason, so they do not see when I wrote a slack message to them. I would persuade my boss to buy 8 x blink1 immediatly, if this feature would be implemented

jnth commented 7 years ago

If you do not want to expose a server, you can use the Slack Real Time Messaging system to create an interaction between Slack and the Blink1 device.

Here is an example in Python 3.6. It's based on the Full Stack Python blog.

jscontrust commented 7 years ago

Ok, thank you. How would I implement something like that on OSX in an easy way?

ghost commented 5 years ago

+1 , would love to see this

Skarlso commented 3 years ago

https://github.com/todbot/Blink1Control2/pull/139 Blinker controller now can start a server and listen on the RTM with a classic slack app.