Skip to main content

Collection of python scripts used to automate a raspberry pi and telegram powered nanny cam.

Project description

nannypi

This project is to create a telegram-enabled nanny cam using a raspberry pi and a usb webcam.

Python Script info

This is part of a larger repo created to create a telegram-enabled nanny camera. See the main repo for full information: nannypi.

Install Python Scripts

pip install nannypi

send_telegram_media.py

This script will send media to telegram using cli arguments.

python send_telegram_media.py -h
usage: send_telegram_media.py [-h] [-f [FILE [FILE ...]]] [-t TOKEN]
                              [-c CHAT_ID]

Send media images to a Telegram Chat.

optional arguments:
  -h, --help            show this help message and exit
  -f [FILE [FILE ...]], --file [FILE [FILE ...]]
                        Files to send
  -t TOKEN, --token TOKEN
                        telegram token. Can also be specified with the env
                        variable TELEGRAM_BOT_TOKEN.
  -c CHAT_ID, --chat-id CHAT_ID
                        telegram chat id. Can also be specified with the env
                        variable TELEGRAM_CHAT_ID

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nannypi-0.1.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page