Slack Office Robot
A Raspberry Pi powered office robot controlled by Slack commands
- 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
sudo apt-get update sudo apt-get install python3-gpiozero python3-pip -y sudo pip3 install slackclient
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).