An open API service indexing awesome lists of open source software.

https://github.com/scross01/dlink-dcs-python-lib

Python library for controlling the DLINK DCS 5025L wireless IP Camera.
https://github.com/scross01/dlink-dcs-python-lib

dlink-cameras webcam

Last synced: 3 days ago
JSON representation

Python library for controlling the DLINK DCS 5025L wireless IP Camera.

Awesome Lists containing this project

README

        

Python Library for DLINK DCS 5025L Wireless IP Camera
=====================================================

This library has been built for and tested with the DLINK DCS 5025L Wireless Pan Tile IP Webcam. The library may work fully or partially with other DLINK IP Cameras (untested).

Running Tests
-------------

Running the library tests will update and reset various IP Camera settings. If you need to retain you current configuration you should **manually save your IP Camera configuration** in the DLINK web console and restore the configuration after running the tests.

Create a file `tests/camtest.cfg` with the test camera connection details.

```
[DEFAULT]
host=192.168.1.101
port=80
user=admin
password=Pa55_Word
```

### Run all Tests

```
$ python3 -m unittest discover
```

### Run a single test

```
$ python3 -m unittest tests.test_dlinkdcs.TestDlinkDCSCam.TESTNAME -v
```

Where TESTNAME is the test function to run e.g. `test_get_common_info`