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.
- Host: GitHub
- URL: https://github.com/scross01/dlink-dcs-python-lib
- Owner: scross01
- License: mit
- Created: 2018-06-24T13:19:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-24T13:32:21.000Z (almost 7 years ago)
- Last Synced: 2025-04-03T18:05:24.121Z (about 2 months ago)
- Topics: dlink-cameras, webcam
- Language: Python
- Size: 14.6 KB
- Stars: 7
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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`