Skip to content

dcesari/pyFosControl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyFosControl

Python interface to Foscam CGI API for HD models

Introduction

The Foscam cameras can be controlled via a web interface. There are browser plugins available for Firefox, Chrome and IE, which are bundled with the camera firmware and can be downloaded using the cameras web interface.

However, these plugins are Windows only. Without them only a few basic configuration options are available (network, user accounts, firewall, etc.). The bulk of the functionality including the display of the camera pictures, controlling the ptz movements, motion detection, are not available on a Linux computer.

There is a SDK available describing a CGI interface which seems to make most of these functions available. pyFosControl is intended as an python interface.

Getting started

Create a new cam.cfg file using cam.cfg.example as template.

Run camtest.py from the command line to get some basic information (like model info, firmware and hardware version).

Please note

  • This interface is far from complete.
  • It's mostly tested on a FI9821W V2.
  • The SDK documentation is inaccurate in places.
  • The non HD cameras use a different set of CGI commands and are not covered in this implementation.
  • The behaviour of the camera changes slightly with each new firmware version. Please include model and firmware version when sending bug reports (run camtest.py from the command line).

About

Python interface to Foscam CGI API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%