/discord-spycam

This project uses an ESP32-Cam connected to a motion sensor. When the motion sensor is activated, a photo will be submitted to the desired Discord channel via a webhook.

Primary LanguageC++

Discord Spycam

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.

Parts needed

Installation

  1. Connect PIR sensor as referenced in the diagram below.
  2. Copy arduino_secrets.h.example to arduino_secrets.h.
  3. Create a Discord certification, using CertToESP32.py from SensorsIot/HTTPS-for-Makers.
  4. 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.

Wiring

Wiring Diagram for ESP32CAM to PIR motion Sensor