Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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.

About

A Raspberry Pi powered office robot controlled by Slack commands

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.