Skip to content

TeleSec-Cam is a security camera system powered by a Python script that utilizes a webcam to monitor a space for motion.

Notifications You must be signed in to change notification settings

Pouyaexe/TeleSec-Cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeleSec-Cam

Pic

TeleSec-Cam

TeleSec-Cam is a security camera system powered by a Python script that utilizes a webcam to monitor a space for motion. When motion is detected, alerts are sent to specified users via a Telegram bot. Users can also interact with the bot to receive live captures on demand.

Features

  • Motion detection using a webcam.
  • Real-time alerts sent to Telegram.
  • Live capture on demand via Telegram bot commands.
  • User management to control who can receive alerts and request captures.

Setup

  1. Clone the Repository:

    git clone https://github.com/your-username/TeleSec-Cam.git
    cd TeleSec-Cam
  2. Install Dependencies:

    pip install -r requirements.txt
  3. Configuration: Create a config.py file with your Telegram bot token and admin user ID:

    BOT_TOKEN = "your-telegram-bot-token"
    TELEGRAM_USER_ID = your-telegram-user-id  # Replace with your numeric Telegram user ID

    You can use the config_template.py file and rename it to config.py

  4. Run the Application:

    python main.py

Usage

  • Run the main.py script to start both the Telegram bot and the security cam.
  • Interact with the Telegram bot to receive motion alerts, request live captures, and manage users.

Contributing

If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.

License

MIT

About

TeleSec-Cam is a security camera system powered by a Python script that utilizes a webcam to monitor a space for motion.

Topics

Resources

Stars

Watchers

Forks

Languages