Code Monkey home page Code Monkey logo

ipcampy's Introduction

IpCamPy

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 functionalities 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.

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.

image1 image2 image3 image4

Defines wich type to use in json configuration "type" key.

  • "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

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

Favicon: http://www.iconarchive.com/artist/yusuke-kamiyamane.html

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.

ipcampy's People

Contributors

eraclitux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.