https://github.com/oliverswitzer/moto_cam
https://github.com/oliverswitzer/moto_cam
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oliverswitzer/moto_cam
- Owner: oliverswitzer
- Created: 2020-12-17T05:21:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T05:55:16.000Z (over 4 years ago)
- Last Synced: 2025-02-15T20:21:03.341Z (4 months ago)
- Language: Elixir
- Size: 124 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MotoCam
A service that will alert you when movement is detected on your motorcycle! (May eventually also include a camera)
# Demo
https://moto-cam.gigalixirapp.com/
# Development
This app is meant to handle incoming Webhook requests from IFTTT. However, the full flow is as follows:
```
1. Arduino IMU Sensor Detects Movement
2. Data sent over cellular network to Arduino IoT Cloud service via Arduino SIM/GSM module
3. Arduino IoT Cloud Service pushes data to IFTTT Webhook
4. IFTTT recieves webhook call and makes subsequent webhook request to *this phoenix app* (running in Gigalixir at https://moto-cam.gigalixirapp.com/)
5. *This app* receives the webhook request from IFTTT. It parses the motion detection event information and updates the live view at the app root "/" via PubSub
```