Skip to content

nabeel-nasir/temi-whiteboard-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Temi Whiteboard Snap

Send a request on Slack to the Temi robot to naviagate to a whiteboard location, click a picture, and send it back to Slack. This repository has an Android app which runs on the robot, and an AWS Lambda Function which receives the Slack request and forwards it to the robot.

Workflow

Workflow

  • Uses slash commands provided by Slack to send the request:
    Sending a request from Slack

  • Android app on Temi sends back the captured image on a pre-defined slack channel: Image captured by Temi

  • Uses the temi sdk to perform actions on the robot like navigation etc.

  • Uses the Camera2 API of Android to capture images.

Prerequisites

  1. Create a Slack App.
    • Add permissions for Incoming Webhooks and Slash Commands.
    • Generate a Bot token. This will be used to use the files.upload HTTP API.
  2. Setup Temi robot and add locations of the whiteboards.
  3. Setup a public MQTT broker on HiveMQ.
    • Keep note of the username and password which will be used in the Android app for subscription and in the Lambda function for publishing.

Setup

  1. Add apikey.json for the AWS Lambda in aws-lambda/mqtt-publisher/. Here's a sample:
{
  "hivemq_user": "...",
  "hivemq_password": "..."
}
  1. Add apikey.properties for Android in android/WhiteboardSnap. Here's a sample:
HIVEMQ_BROKER="xxx.hivemq.cloud"
HIVEMQ_USER="..."
HIVEMQ_PASSWORD="..."
SLACK_USER_TOKEN="..."

About

Invoke the Temi robot via Slack commands to click a picture of a whiteboard and send it on slack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors