Commit Graph

108 Commits

Author SHA1 Message Date
Alano
25ce2cbb55 updated version: v0.0.4 2020-12-04 07:48:07 +02:00
Alano Terblanche
feae1e91a9 Update README.md 2020-11-03 21:16:06 +02:00
Alano Terblanche
273c992ecd Merge pull request #23 from themoosman/add-setters
Add Image Settings (basic and advanced)
2020-10-30 20:11:16 +02:00
Karl Moos
0c3475aa00 Add Image settings setter 2020-10-30 07:27:33 -05:00
Karl Moos
e1eabf535d Refactor image settings from recording to new mixin 2020-10-30 06:06:25 -05:00
Karl Moos
dd86eaca2e Add Advanced Image settings 2020-10-30 06:00:03 -05:00
Karl Moos
02b9837888 Add Recording Encode setter 2020-10-30 05:39:34 -05:00
Alano Terblanche
cf540d1a95 Merge pull request #22 from themoosman/refactor-rtsp-client
Refactor Rtsp client
2020-10-29 23:52:52 +02:00
Karl Moos
6bb9900b25 Refactor Rtsp client 2020-10-29 16:45:08 -05:00
Alano Terblanche
f26045a218 Merge pull request #20 from themoosman/add-getters
Update README (implemented methods), add more getters
2020-10-29 23:37:05 +02:00
Karl Moos
00c00ecf04 Add proxy support back to recording snap() 2020-10-29 07:32:45 -05:00
Karl Moos
ad08a8ce71 Rewrite get_snap to use requests lib as the old method did not work. 2020-10-28 20:52:09 -05:00
Karl Moos
b4f95d7a0b Add Alarm getters 2020-10-28 06:07:02 -05:00
Karl Moos
c8eb387cd1 Update README (implemented methods), add more getters 2020-10-27 18:53:09 -05:00
Alano Terblanche
bef4f8d5fd Update README.md 2020-10-26 16:39:13 +02:00
Alano Terblanche
fab65bb411 Merge pull request #18 from themoosman/add-pypi-deps
Add pieces to allow PyPi package to be published
2020-10-26 16:10:36 +02:00
Karl Moos
9218ff1549 Add pieces to allow PyPi package publish 2020-10-25 07:24:43 -05:00
Alano Terblanche
038f6a823f Merge pull request #16 from themoosman/moos-add-ptz
Add PTZ Functionality
2020-10-20 15:30:08 +02:00
Karl Moos
aa14b601f5 Add requirement file, docs, updates to complete PTZ 2020-10-18 11:17:05 -05:00
Karl Moos
9b5849988d Add PTZ function 2020-10-18 08:50:16 -05:00
Alano Terblanche
d84ec91df4 Merge pull request #13 from burrscurr/master
Implement calls for zooming and focusing
2020-03-07 12:56:38 +02:00
Max Ziermann
eeb6189f7d Add focusing API calls 2020-03-06 22:38:25 +01:00
Max Ziermann
6506bf2cbc Make internal methods more generic 2020-03-06 22:35:40 +01:00
Max Ziermann
8506e3a294 Add zoom commands 2020-03-06 22:26:25 +01:00
Max Ziermann
da46f0efca Add dependencies for RtspClient 2020-03-06 22:18:13 +01:00
Max Ziermann
5dfe2a6079 Merge branch 'Benehiko-master' 2020-03-06 22:11:34 +01:00
Alano Terblanche
2124725678 Merge branch 'refactoring' 2020-03-06 22:32:23 +02:00
Max Ziermann
8693daa6ea Fix response value check
These commands were not implemented like this before. At least on the
camera i used for testing (RLC-411) the return value was always a list
and the status code is an int.
2020-03-06 20:18:08 +01:00
Max Ziermann
b3e6b80cac Remove default proxy 2020-03-06 18:07:54 +01:00
Max Ziermann
28c6f3f2a1 Split APIHandler into single files 2020-03-06 17:50:07 +01:00
Max Ziermann
5c0622d669 Move APIHandler to a package 2020-03-06 16:52:19 +01:00
Alano Terblanche
49c670b0cb Merge pull request #11 from burrscurr/pipenv
Add Pipenv dependency management
2020-03-04 17:49:45 +02:00
Max Ziermann
17fb46f73a Fix return value hints
None is never returned, its just possible that a exception is raised.
2020-03-04 13:09:58 +01:00
Max Ziermann
3f6e0b2b7e Move response examples in pretty-formatted single files 2020-03-04 13:02:18 +01:00
Max Ziermann
c321333b10 Implement multi-step commands using generic method 2020-03-04 12:44:54 +01:00
Max Ziermann
7761ca7c16 Use build-in json decoding of requests
See https://2.python-requests.org/en/master/user/quickstart/#json-response-content
2020-03-04 12:35:41 +01:00
Max Ziermann
6548040810 Add option for multi-step commands
This option allows to send multi-step commands. These commands have
no 'cmd' URL parameter.
2020-03-04 12:32:40 +01:00
Max Ziermann
7512ce40ea Remove unusable code
Since the Request class catches/re-raises every errors (including
http non-200 status codes) some lines could never be reached. Some
of these lines were already removed in the previous commit.
2020-03-04 12:28:04 +01:00
Max Ziermann
5d4a38f9a2 Refactor simple commands 2020-03-03 15:54:08 +01:00
Max Ziermann
f34c6a1a1e Remove unused imports 2020-03-03 15:02:05 +01:00
Max Ziermann
7c0e9d164d Use pipenv for dependency management 2020-03-03 15:01:24 +01:00
Alano Terblanche
a2c44f89de Merge pull request #5 from themoosman/master
Add System->Reboot
2019-10-07 22:21:27 +02:00
Karl Moos
577dcadc68 Add System->Reboot 2019-10-07 12:21:59 -05:00
Alano Terblanche
24fb7d2756 Merge pull request #2 from Benehiko/dev-1.0
Update Master with new APIs
2019-09-15 22:36:17 +02:00
Alano Terblanche
020b7903ae Merge branch 'master' into dev-1.0 2019-09-15 22:35:58 +02:00
Alano Terblanche
c4600134b5 Updating dev-1.0. 2019-09-15 22:29:42 +02:00
Alano Terblanche
c9746c7a33 Merge pull request #1 from davidjb/https
Allow API connection over HTTPS
2019-09-15 22:12:51 +02:00
David Beitey
1f5944801c Allow API connection over HTTPS 2019-09-15 11:11:21 +10:00
Alano Terblanche
475c72b241 Added proxy support. Bug fixes in APIHandler. RTSP support (adding)
Proxy support allows contacting the camera behind a proxy (GET and POST requests).
Adding RTSP support - still in progress.
2019-08-11 21:06:21 +02:00
Alano Terblanche
5bc90f7c60 Added some API's and Doc strings
OSD -> set and get
System -> get_performance, get_information
Recording -> get
2019-08-11 15:35:52 +02:00