Rak Wireless Pythonic API for configuration
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rak-0.1.4.tar.gz
(2.8 kB
view details)
File details
Details for the file rak-0.1.4.tar.gz
.
File metadata
- Download URL: rak-0.1.4.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eafd57bee857738707a8a891b4950dbd7ea2d1ef85401d5751243b2124512c83 |
|
MD5 | 5e832814b86cf43fdcb97cb59e484695 |
|
BLAKE2b-256 | e52ab33d2340baa657890f2d67eb0f94dd6672d52c8c1e212bbf7160b91100e2 |