You need three components:
The Workflow:
The camera watches a zone. When motion is detected (or a face is recognized), the middleware grabs a snapshot from the camera’s RTSP stream. It then uses the Telegram Bot API to send that image to a specific chat_id (your group). No cloud storage fees. No monthly bills. ipcam+telegram+group+hot
If your IP camera allows HTTP motion alerts, or if you use MotionEye, the command to send a photo to the group looks like this: You need three components:
curl -s -X POST "https://api.telegram.org/bot$BOT_TOKEN/sendPhoto" \
-F chat_id="$CHAT_ID" \
-F photo="@snapshot.jpg" \
-F caption="Motion detected at Side Gate - $(date)"
When this runs, the image appears instantly in the group for everyone to see. The Workflow: The camera watches a zone
You need three components:
The Workflow:
The camera watches a zone. When motion is detected (or a face is recognized), the middleware grabs a snapshot from the camera’s RTSP stream. It then uses the Telegram Bot API to send that image to a specific chat_id (your group). No cloud storage fees. No monthly bills.
If your IP camera allows HTTP motion alerts, or if you use MotionEye, the command to send a photo to the group looks like this:
curl -s -X POST "https://api.telegram.org/bot$BOT_TOKEN/sendPhoto" \
-F chat_id="$CHAT_ID" \
-F photo="@snapshot.jpg" \
-F caption="Motion detected at Side Gate - $(date)"
When this runs, the image appears instantly in the group for everyone to see.