This project uses a ESP32-Cam connected to a motion sensor. When the motion sensor is activated, a photo will be submitted to a desired Discord channel via a webhook.
- Connect PIR sensor as referenced in the diagram below.
- Copy
arduino_secrets.h.example
toarduino_secrets.h
. - Create a Discord certification, using
CertToESP32.py
from SensorsIot/HTTPS-for-Makers. - Update
arduino_secrets.h
with ssid name, password, certificate from the previous step, and your webhook from Discord.- Note: Be sure to remove the domain from the webhook URL. Reference to the example value.