Sync video clips from your Google doorbell cameras to a Telegram channel
1.7K
Syncs Google Nest camera videos to Telegram with event types (person, package, animal, vehicle, motion, sound).
For personal or educational use only.
docker run --rm -it breph/ha-google-home_get-token
Tip: Use an app-specific password from https://myaccount.google.com/apppasswords
.env File# Required
GOOGLE_MASTER_TOKEN="aas_et/YOUR_TOKEN_HERE"
GOOGLE_USERNAME="[email protected]"
TELEGRAM_BOT_TOKEN="1234567890:ABCdefGHIjklMNOpqrsTUVwxyz"
TELEGRAM_CHANNEL_ID="-1001234567890"
# Optional
TIMEZONE=US/Central # Auto-detected if not set
TIME_FORMAT=12h # Options: 24h, 12h, or custom strftime
REFRESH_INTERVAL_MINUTES=2 # How often to check for new events
DRY_RUN=false # Set true to test without sending
LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR
docker-compose.yaml:
services:
nest-sync:
image: ssyl/nest-telegram-sync:latest
container_name: nest-telegram-sync
restart: unless-stopped
environment:
- GOOGLE_MASTER_TOKEN=${GOOGLE_MASTER_TOKEN}
- GOOGLE_USERNAME=${GOOGLE_USERNAME}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- TELEGRAM_CHANNEL_ID=${TELEGRAM_CHANNEL_ID}
- TIMEZONE=${TIMEZONE:-UTC}
- TIME_FORMAT=${TIME_FORMAT:-24h}
- FORCE_RESEND_ALL=${FORCE_RESEND_ALL:-false}
- DRY_RUN=${DRY_RUN:-false}
- REFRESH_INTERVAL_MINUTES=${REFRESH_INTERVAL_MINUTES:-2}
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- VERBOSE=${VERBOSE:-false}
volumes:
- sent-events:/app/data
env_file:
- .env
volumes:
sent-events:
docker compose up -d
docker compose logs -f nest-sync
docker run -d \
--name nest-telegram-sync \
--env-file .env \
-v nest-events:/app/data \
--restart unless-stopped \
ssyl/nest-telegram-sync:latest
# View logs
docker logs -f nest-telegram-sync
| Variable | Required | Default | Description |
|---|---|---|---|
GOOGLE_MASTER_TOKEN | ✅ | - | OAuth master token from Google |
GOOGLE_USERNAME | ✅ | - | Your Google account email |
TELEGRAM_BOT_TOKEN | ✅ | - | Bot token from @BotFather |
TELEGRAM_CHANNEL_ID | ✅ | - | Target channel ID (negative number) |
TIMEZONE | ❌ | Auto-detected | IANA timezone (e.g., US/Eastern, Europe/London) |
TIME_FORMAT | ❌ | System locale | 24h, 12h, or custom strftime format |
REFRESH_INTERVAL_MINUTES | ❌ | 2 | How often to poll for events (1-60 minutes) |
FORCE_RESEND_ALL | ❌ | false | Ignore sent history (for testing) |
DRY_RUN | ❌ | false | Download videos but don't send to Telegram |
LOG_LEVEL | ❌ | INFO | Logging verbosity: DEBUG, INFO, WARNING, ERROR |
VERBOSE | ❌ | false | Extra detailed logging (XML dumps, API responses) |
Telegram Bot Token: Message @BotFather, send /newbot
Telegram Channel ID: Forward a channel message to @userinfobot
Google Master Token:
docker run --rm -it breph/ha-google-home_get-token
Tip: Use an app-specific password: https://myaccount.google.com/apppasswords
Check logs: docker compose logs -f nest-sync
TIMEZONE in .envDRY_RUN=true and LOG_LEVEL=DEBUGhttps://github.com/SSyl/google-nest-telegram-sync
Fork of TamirMa/google-nest-telegram-sync
Thanks to:
MIT License. For personal or educational use only.
Unofficial tool, not affiliated with Google or Telegram. Use at your own risk.
Content type
Image
Digest
sha256:e06a9cbb1…
Size
63.7 MB
Last updated
10 months ago
docker pull ssyl/nest-telegram-sync