02-ago: [proyecto] Sistema vigilancia Tapo con deteccion movimiento/persona + notificacion Telegram/Alexa

This commit is contained in:
minguezsanzjuanjose
2026-08-02 11:02:05 +02:00
parent 3a38e889db
commit 496c2bb9bc
9 changed files with 240 additions and 0 deletions

22
vigilancia/.env.example Normal file
View File

@@ -0,0 +1,22 @@
# Cámara
CAM_1_NOMBRE=Salon
CAM_1_RTSP=rtsp://usuario:password@192.168.1.50:554/stream2
CAM_2_NOMBRE=Entrada
CAM_2_RTSP=rtsp://usuario:password@192.168.1.51:554/stream2
# Telegram
TELEGRAM_TOKEN=123456789:AAExampleTokenAqui
TELEGRAM_CHAT_ID=987654321
# Franja horaria activa (formato 24h)
HORA_INICIO=08
HORA_FIN=17
# Cooldown entre alertas (segundos)
COOLDOWN=45
# Webhook Alexa/Node-RED (opcional, dejar vacío si no se usa)
WEBHOOK_ALEXA=
# Directorio de snapshots
SNAPSHOT_DIR=snapshots