Detects kitty motion and sends data to the IoT Platform. This project is best used with Raspberry Pi
- Raspberry Pi
- PIR Sensor
- 1 Raspberry Pi Camera
- USB Power Supply (RPi)
- Lead Wires
- Kitty Detector case
- 1 Kitty
-
In your Amazon IoT console, add each of your devices as a "thing" resource and download the provided certificates and private key.
-
Rename the files to ensure that you have
private.pem.key
,certificate.pem.crt
, androot-CA.pem.crt
in the root of your device directory. -
Setup your device per the device instructions and connect to the local network.
- Create AWS Access Keys
- Set AWS Credentials files or Environment variables for access keys
- TODO
- TODO
- Update your Raspberry Pi and install
raspi-config
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install git raspi-config wiringpi
- Enable Raspberry Pi camera using configuration program
$ sudo raspi-config
- With Node.js installed, download the code and run on the device:
$ git clone https://github.com/lynnaloo/kitty-detector.git
$ cd kitty-detector
$ npm i -g yarn
$ yarn install
$ sudo npm run pi
MIT