Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/doarakko/kankichi

Notify Slack when sweets arrive!
https://github.com/doarakko/kankichi

python raspberry-pi slack

Last synced: 9 days ago
JSON representation

Notify Slack when sweets arrive!

Awesome Lists containing this project

README

        

# kankichi

Notify Slack when sweets arrive!

![example](./example.png)

## Requirements

The following is the environment where execution has been confirmed.

### Hardware

- Raspberry Pi 4 Model B
- Raspberry Pi Camera Module

### Software

- Python 3.7.3
- Slack

## Usage

### 1. Prepare source code.

```sh
git clone https://github.com/Doarakko/kankichi
```

### 2. Create Slack App using `manifest.yml`.

Go to [here](https://api.slack.com/apps) and create from an app manifest.

Get Bot User OAuth Token(xoxb-bbbb).

### 3. Edit `.env`.

```sh
cp .env.example .env
```

Enter `SLACK_BOT_TOKEN` and `CHANNEL_NAME`.

### 4. Install library

```sh
pip install -r requirements.txt
```

### 5. Run

```sh
python main.py
```