https://github.com/doarakko/kankichi
Detect changes in the number of objects and notify Slack when sweets arrive in the pantry.
https://github.com/doarakko/kankichi
python raspberry-pi slack
Last synced: 2 months ago
JSON representation
Detect changes in the number of objects and notify Slack when sweets arrive in the pantry.
- Host: GitHub
- URL: https://github.com/doarakko/kankichi
- Owner: Doarakko
- Created: 2022-07-21T16:06:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2026-02-14T03:22:37.000Z (4 months ago)
- Last Synced: 2026-02-14T09:24:36.355Z (4 months ago)
- Topics: python, raspberry-pi, slack
- Language: Python
- Homepage:
- Size: 539 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# kankichi
Detect changes in the number of objects and notify Slack when sweets arrive in the pantry.

## 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
```