Hi everyone,
first post here, looking for a clue on how to trigger a camera snapshot entirely with ESPHome not using HomeAssistant.
I am building a radar (mmWave, LD2410) based home surveillance system. The LD2410 works great with ESPHome, absolutely marvelous.
Additionally to triggering the radar output and sending a Telegram message (working already), I want to upload a camera image. I will be using an Ethernet board; right now I am working with this: https://www.tindie.com/products/allexok/esp32-stick-poe-a-camn16r8/.
The hardware side is working well.
My question is:
How can I trigger a camera snapshot, when the motion switch/toggle from the LD2410 sensor gets activated?
Can I use an automation?
The aim is to either
- send the image via telegram (or ntfy.sh etc.)
or
-upload it to a most simple web server component (not preferred, I would like to keep the setup as simple and independent as possible).
Thank you very much for any hints,
Joost
Edit, summing up working and planned steps:
-
working: ESP32 camera board, powered via PoE, LD2410 mmWave radar sensor connected
-
working: Sending a Telegram message when the mmWave sensor detects motion
-
working: camera componenet and camera_server; I can receive the stream via IP:8080 in a browser
-
to be done: Trigger a camera snapshot
-
to be done: Send the snapshot via Telegram or another notification service or (less preferred) upload it to a simple server component