Skip to main content

Easily control ip cameras. Comes with built in utilities to make a simple surveillance system.

Project description

image0

This package let you control supported ip cameras from your python app with ease.

Batteries are included so you can make a DIY surveillance system in a snap. Included functionality are:

  • process that collects a screenshot from every camera at given interval
  • mobile web interface to view streams and saved screenshots. Is’s served from an integrated webserver

See A Raspberry Pi surveillance system

Package is written with easy extendibility in mind, pull requests that add new cams or fix issues are welcome, encouraged, and credited.

Examples

A Raspberry Pi surveillance system

Login to your Pi and get the code from the cheese shop:

$ pip install ipcampy

Define a configuraton file of your cams in json. For example, save these lines in cam.conf:

{"address":"192.168.1.20", "user":"admin", "pswd":"xxyyzz", "port":"8010", "type":"foscam" "name":"Garden"}
{"address":"192.168.1.21", "user":"admin", "pswd":"xxyyzz", "port":"8010", "type":"foscam", "name":"Gate"}

Start to get a snapshot from all defined camera every 10 seconds running:

$ campatrol -d ~/cam.conf -p xxx

This even start a webpanel that can be accessed from any browser using this address with username watcher and password xxx:

http://<my_server_ip>:6001

Use chrome or firefox on smartphones and tablets to watch live streams.

Snapshots are stored in /tmp for default but a different path can be specified with -s option.

Supported cameras

Defines wich type to use in json configuration “type” key.

Foscam

  • "type": "foscam" for FI8908W and clones. May works on similar cams from same family too.

Please report working status of cameras opening an issue or using mailing list

Notes

This package is in early development. Things could work or maybe not. APIs can quickly change.

To get the latest code clone the github’s repository instead of using pip:

$ git clone https://github.com/eraclitux/ipcampy.git
$ python setup.py install

Get support

Use the official mailing list to ask questions about using the package and follow its development.

Disclaimer

All trademarks, copyrights and other forms of intellectual property belong to their respective owners.

The author is not affiliated with any cam vendor cited above.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
IpCamPy-0.3.0.tar.gz (49.4 kB) Copy SHA256 hash SHA256 Source None Aug 5, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page