Python API for the RAK Video modules, tested on RAK566
Installation
Until Pypi publishing:
sudo pip install rak
Usage
from rak import RakDevice
# If you connect to the RAK567, the ip of the RAK566 (or other transmitters) is 192.168.100.100
# If you connect to the RAK566 (or other transmitters) directly, the ip will be 192.168.100.1
# RakDevice(self, ip, pipe, username="admin", password="admin"):
pipe0 = RakDevice("192.168.100.100", pipe=0, username='admin', password='admin')
pipe1 = RakDevice("192.168.100.100", pipe=1, username='admin', password='admin')
# Refresh force to read all the properties
pipe0.refresh()
# Show the pipe properties (refreshes only the data that is not yet read)
print(str(pipe0))
# Set the highest resolution (FHD) and quality for the pipe0
pipe0.resolution(3).quality(136).fps(30).gop(30)
# Disable pipe1 as nothing is connected by default on the RAK566
pipe1.resolution(0).quality(5).fps(1).gop(1)
Credits
[@AlexisTM](http://github.com/AlexisTM): Alexis Paques
Metadata
Release files for rak 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rak-0.1.4.tar.gz | 2.8 kB | Details |
Release files / rak-0.1.4.tar.gz
| Download URL | rak-0.1.4.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eafd57bee857738707a8a891b4950dbd7ea2d1ef85401d5751243b2124512c83
|
|
BLAKE2b-256 checksum How to use checksums |
e52ab33d2340baa657890f2d67eb0f94dd6672d52c8c1e212bbf7160b91100e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2
|