A Raspberry Pi powered office robot controlled by Slack commands
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
officebot
.gitignore
README.md

README.md

Slack Office Robot

A Raspberry Pi powered office robot controlled by Slack commands

Hardware

  • Raspberry Pi (any model - ideally with WiFi, or use a WiFi dongle)
  • Motor controller board (e.g. CamJam kit 3)
  • 2 motors
  • USB battery pack

Software

To install:

sudo apt-get update
sudo apt-get install python3-gpiozero python3-pip -y
sudo pip3 install slackclient

Setup

You will need to register an app at api.slack.com/apps and generate an access token.

You also need to find the channel ID of the channel you wish to listen to. To do this, open a Python shell and type:

from slackclient import SlackClient
slack = SlackClient("YOUR TOKEN")
slack.server.channels.find("CHANNEL")

You will see a response including the channel ID.

Then enter your token and channel ID into the variables in secret.py and be careful to keep this file secret (don't accidentally push it to GitHub).

Modifying

To use another motor controller board, swap CamJamKitRobot to Robot and use the appropriate motor pin numbers.