madarp / woody-bot

An integration between Slack and Raspberry Pi and 8-channel relay board.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Woody from Toy Story

woody-bot

An integration between Slack and a generic 8-channel dry contact relay board, running on a Raspberry Pi. It is named Woody-bot because the Rpi and the relays are mounted on a piece of wood.

This is an implementation of a custom SlackBot integration that controls an 8 channel IoT relay, such as this one. The relays are connected to zone triggers on various intrusion panels made by DSC, Honeywell, Bosch. This setup is used for project testing, because we have several remote developers who would like to trip some intrusion zones but don't have physical access at our site.

When logged into your Slack Account , woody-bot will listen on specific channel. It listens for specific keyword commands (a command line) that is parsed and handled.

Available commands are

  • open N Open a trigger, N=1-8
  • close N Close a trigger N=1-8
  • pulse N Open trigger N, wait 1 sec, then close N
  • bounce N Same as pulse N
  • ping Check if woody-bot is listening
  • exit Make woody-bot exit and stop listening.

About

An integration between Slack and Raspberry Pi and 8-channel relay board.


Languages

Language:Python 100.0%